3 * COPYING: See the top level directory
5 * FILE: reactos/lib/fmifs/format.c
6 * DESCRIPTION: File management IFS utility functions
7 * PROGRAMMER: Emanuele Aliberti
9 * 1999-02-16 (Emanuele Aliberti)
27 FormatEx (PWCHAR DriveRoot
,
33 PFMIFSCALLBACK Callback
)
35 UNICODE_STRING usDriveRoot
;
36 UNICODE_STRING usLabel
;
37 BOOLEAN Argument
= FALSE
;
39 RtlInitUnicodeString(&usDriveRoot
, DriveRoot
);
40 RtlInitUnicodeString(&usLabel
, Label
);
42 if (_wcsnicmp(Format
, L
"FAT", 3) == 0)
44 DPRINT1("FormatEx - FAT\n");
47 VfatFormat (&usDriveRoot
,
57 /* Unknown file system */
58 Callback (DONE
, /* Command */
59 0, /* DWORD Modifier */
60 &Argument
); /* Argument */