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)
16 #include <fslib/vfatlib.h>
40 PFMIFSCALLBACK Callback
43 UNICODE_STRING usDriveRoot;
44 UNICODE_STRING usLabel;
45 BOOL Argument = FALSE;
47 RtlInitUnicodeString(&usDriveRoot, DriveRoot);
48 RtlInitUnicodeString(&usLabel, Label);
50 if (_wcsnicmp(Format, L"FAT", 3) == 0)
52 DPRINT1("FormatEx - FAT\n");
55 VfatFormat(&usDriveRoot, MediaFlag, &usLabel, QuickFormat, ClusterSize, Callback);
61 /* Unknown file system */
62 Callback(DONE, /* Command */
63 0, /* DWORD Modifier */
64 &Argument /* Argument */