ReactOS 0.4.16-dev-297-gc569aee
fmtchk.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

VOID StartFormat (_Inout_ PFORMAT_VOLUME_INFO FmtInfo, _In_ PFILE_SYSTEM_ITEM SelectedFileSystem)
 
VOID EndFormat (_In_ NTSTATUS Status)
 
VOID StartCheck (_Inout_ PCHECK_VOLUME_INFO ChkInfo)
 
VOID EndCheck (_In_ NTSTATUS Status)
 

Function Documentation

◆ EndCheck()

VOID EndCheck ( _In_ NTSTATUS  Status)

Definition at line 150 of file fmtchk.c.

152{
155
156 DPRINT("ChkdskPartition() finished with status 0x%08lx\n", Status);
157}
VOID DestroyProgressBar(IN OUT PPROGRESSBAR Bar)
Definition: progress.c:339
#define NULL
Definition: types.h:112
static PPROGRESSBAR ProgressBar
Definition: fmtchk.c:17
Status
Definition: gdiplustypes.h:25
#define DPRINT
Definition: sndvol32.h:73

Referenced by DoChecking(), and FsVolCallback().

◆ EndFormat()

VOID EndFormat ( _In_ NTSTATUS  Status)

Definition at line 97 of file fmtchk.c.

99{
102
103 DPRINT("FormatPartition() finished with status 0x%08lx\n", Status);
104}

Referenced by DoFormatting(), FsVolCallback(), and FsVolCommitOpsQueue().

◆ StartCheck()

VOID StartCheck ( _Inout_ PCHECK_VOLUME_INFO  ChkInfo)

Definition at line 127 of file fmtchk.c.

129{
130 // TODO: Think about which values could be defaulted...
131 ChkInfo->FixErrors = TRUE;
132 ChkInfo->Verbose = FALSE;
133 ChkInfo->CheckOnlyIfDirty = TRUE;
134 ChkInfo->ScanDrive = FALSE;
135 ChkInfo->Callback = ChkdskCallback;
136
138 yScreen - 14,
139 xScreen - 7,
140 yScreen - 10,
141 10,
142 24,
143 TRUE,
145
147}
VOID ProgressSetStepCount(IN PPROGRESSBAR Bar, IN ULONG StepCount)
Definition: progress.c:347
PPROGRESSBAR CreateProgressBar(IN SHORT Left, IN SHORT Top, IN SHORT Right, IN SHORT Bottom, IN SHORT TextTop, IN SHORT TextRight, IN BOOLEAN DoubleEdge, IN PCSTR DescriptionText OPTIONAL)
Definition: progress.c:317
SHORT yScreen
Definition: consup.c:40
SHORT xScreen
Definition: consup.c:39
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
PCSTR MUIGetString(ULONG Number)
Definition: mui.c:251
#define STRING_CHECKINGDISK
Definition: mui.h:169
PFMIFSCALLBACK ChkdskCallback
Definition: vfatlib.c:43

Referenced by FsVolCallback().

◆ StartFormat()

VOID StartFormat ( _Inout_ PFORMAT_VOLUME_INFO  FmtInfo,
_In_ PFILE_SYSTEM_ITEM  SelectedFileSystem 
)

Definition at line 70 of file fmtchk.c.

73{
74 ASSERT(SelectedFileSystem && SelectedFileSystem->FileSystem);
75
76 // TODO: Think about which values could be defaulted...
77 FmtInfo->FileSystemName = SelectedFileSystem->FileSystem;
78 FmtInfo->MediaFlag = FMIFS_HARDDISK;
79 FmtInfo->Label = NULL;
80 FmtInfo->QuickFormat = SelectedFileSystem->QuickFormat;
81 FmtInfo->ClusterSize = 0;
82 FmtInfo->Callback = FormatCallback;
83
85 yScreen - 14,
86 xScreen - 7,
87 yScreen - 10,
88 10,
89 24,
90 TRUE,
92
94}
@ FMIFS_HARDDISK
Definition: fmifs.h:65
static BOOLEAN NTAPI FormatCallback(_In_ CALLBACKCOMMAND Command, _In_ ULONG Modifier, _In_ PVOID Argument)
Definition: fmtchk.c:24
#define ASSERT(a)
Definition: mode.c:44
#define STRING_FORMATTINGPART
Definition: mui.h:168

Referenced by FsVolCallback().