#include "usetup.h"
#include <debug.h>
Go to the source code of this file.
◆ NDEBUG
◆ DoFormat()
Definition at line 92 of file format.c.
96{
98
103 10,
104 24,
107
109
110
112 FileSystemName,
116 0,
118
121
122 DPRINT(
"FormatPartition() finished with status 0x%08lx\n",
Status);
123
125}
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)
NTSTATUS FormatPartition(IN PPARTENTRY PartEntry, IN PCWSTR FileSystemName, IN FMIFS_MEDIA_FLAG MediaFlag, IN PCWSTR Label, IN BOOLEAN QuickFormat, IN ULONG ClusterSize, IN PFMIFSCALLBACK Callback)
PCSTR MUIGetString(ULONG Number)
#define STRING_FORMATTINGDISK
Referenced by FormatPartitionPage().
◆ FormatCallback()
Definition at line 41 of file format.c.
45{
47 {
49 {
51
52 Percent = (
PULONG)Argument;
53 DPRINT(
"%lu percent completed\n", *Percent);
54
56 break;
57 }
58
59#if 0
61 {
64 DPRINT(
"%s\n", output->Output);
65 break;
66 }
67#endif
68
70 {
71
73#if 0
76 {
77 DPRINT(
"FormatEx was unable to complete successfully.\n\n");
78 }
79#endif
80 break;
81 }
82
83 default:
85 break;
86 }
87
89}
VOID ProgressSetStep(IN PPROGRESSBAR Bar, IN ULONG Step)
struct TEXTOUTPUT * PTEXTOUTPUT
Referenced by DoFormat().
◆ FormatProgressBar