34 DPRINT(
"%lu percent completed\n", *Percent);
54 DPRINT(
"FormatEx was unable to complete successfully.\n\n");
74 ASSERT(SelectedFileSystem && SelectedFileSystem->FileSystem);
77 FmtInfo->FileSystemName = SelectedFileSystem->FileSystem;
79 FmtInfo->Label =
NULL;
80 FmtInfo->QuickFormat = SelectedFileSystem->QuickFormat;
81 FmtInfo->ClusterSize = 0;
103 DPRINT(
"FormatPartition() finished with status 0x%08lx\n",
Status);
131 ChkInfo->FixErrors =
TRUE;
132 ChkInfo->Verbose =
FALSE;
133 ChkInfo->CheckOnlyIfDirty =
TRUE;
134 ChkInfo->ScanDrive =
FALSE;
156 DPRINT(
"ChkdskPartition() finished with status 0x%08lx\n",
Status);
VOID ProgressSetStep(IN PPROGRESSBAR Bar, IN ULONG Step)
VOID ProgressSetStepCount(IN PPROGRESSBAR Bar, IN ULONG StepCount)
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)
VOID DestroyProgressBar(IN OUT PPROGRESSBAR Bar)
struct TEXTOUTPUT * PTEXTOUTPUT
VOID EndCheck(_In_ NTSTATUS Status)
VOID StartCheck(_Inout_ PCHECK_VOLUME_INFO ChkInfo)
VOID StartFormat(_Inout_ PFORMAT_VOLUME_INFO FmtInfo, _In_ PFILE_SYSTEM_ITEM SelectedFileSystem)
static BOOLEAN NTAPI FormatCallback(_In_ CALLBACKCOMMAND Command, _In_ ULONG Modifier, _In_ PVOID Argument)
static PPROGRESSBAR ProgressBar
VOID EndFormat(_In_ NTSTATUS Status)
PCSTR MUIGetString(ULONG Number)
#define STRING_FORMATTINGPART
#define STRING_CHECKINGDISK
PFMIFSCALLBACK ChkdskCallback