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>
41 PFMIFSCALLBACK Callback
44 UNICODE_STRING usDriveRoot;
45 UNICODE_STRING usLabel;
46 BOOL Argument = FALSE;
48 RtlInitUnicodeString(&usDriveRoot, DriveRoot);
49 RtlInitUnicodeString(&usLabel, Label);
51 if (_wcsnicmp(Format, L"FAT", 3) == 0)
53 DPRINT1("FormatEx - FAT\n");
56 VfatFormat(&usDriveRoot, MediaFlag, &usLabel, QuickFormat, ClusterSize, Callback);
62 /* Unknown file system */
63 Callback(DONE, /* Command */
64 0, /* DWORD Modifier */
65 &Argument /* Argument */