ReactOS  0.4.13-dev-257-gfabbd7c
fmifs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TEXTOUTPUT
 

Typedefs

typedef struct TEXTOUTPUTPTEXTOUTPUT
 
typedef BOOLEAN(NTAPIPFMIFSCALLBACK) (IN CALLBACKCOMMAND Command, IN ULONG SubAction, IN PVOID ActionInfo)
 
typedef NTSTATUS(NTAPIFORMATEX) (IN PUNICODE_STRING DriveRoot, IN FMIFS_MEDIA_FLAG MediaFlag, IN PUNICODE_STRING Label, IN BOOLEAN QuickFormat, IN ULONG ClusterSize, IN PFMIFSCALLBACK Callback)
 
typedef NTSTATUS(NTAPICHKDSKEX) (IN PUNICODE_STRING DriveRoot, IN BOOLEAN FixErrors, IN BOOLEAN Verbose, IN BOOLEAN CheckOnlyIfDirty, IN BOOLEAN ScanDrive, IN PFMIFSCALLBACK Callback)
 

Enumerations

enum  FMIFS_MEDIA_FLAG {
  FMIFS_UNKNOWN0, FMIFS_UNKNOWN1, FMIFS_UNKNOWN2, FMIFS_UNKNOWN3,
  FMIFS_UNKNOWN4, FMIFS_UNKNOWN5, FMIFS_UNKNOWN6, FMIFS_UNKNOWN7,
  FMIFS_FLOPPY, FMIFS_UNKNOWN9, FMIFS_UNKNOWN10, FMIFS_REMOVABLE,
  FMIFS_HARDDISK, FMIFS_UNKNOWN13, FMIFS_UNKNOWN14, FMIFS_UNKNOWN15,
  FMIFS_UNKNOWN16, FMIFS_UNKNOWN17, FMIFS_UNKNOWN18, FMIFS_UNKNOWN19,
  FMIFS_UNKNOWN20, FMIFS_UNKNOWN21, FMIFS_UNKNOWN22, FMIFS_UNKNOWN23,
  FMIFS_UNKNOWN0, FMIFS_UNKNOWN1, FMIFS_UNKNOWN2, FMIFS_UNKNOWN3,
  FMIFS_UNKNOWN4, FMIFS_UNKNOWN5, FMIFS_UNKNOWN6, FMIFS_UNKNOWN7,
  FMIFS_FLOPPY, FMIFS_UNKNOWN9, FMIFS_UNKNOWN10, FMIFS_REMOVABLE,
  FMIFS_HARDDISK, FMIFS_UNKNOWN13, FMIFS_UNKNOWN14, FMIFS_UNKNOWN15,
  FMIFS_UNKNOWN16, FMIFS_UNKNOWN17, FMIFS_UNKNOWN18, FMIFS_UNKNOWN19,
  FMIFS_UNKNOWN20, FMIFS_UNKNOWN21, FMIFS_UNKNOWN22, FMIFS_UNKNOWN23
}
 
enum  CALLBACKCOMMAND {
  PROGRESS, DONEWITHSTRUCTURE, UNKNOWN2, UNKNOWN3,
  UNKNOWN4, UNKNOWN5, INSUFFICIENTRIGHTS, FSNOTSUPPORTED,
  VOLUMEINUSE, UNKNOWN9, UNKNOWNA, DONE,
  UNKNOWNC, UNKNOWND, OUTPUT, STRUCTUREPROGRESS,
  CLUSTERSIZETOOSMALL, PROGRESS, DONEWITHSTRUCTURE, UNKNOWN2,
  UNKNOWN3, UNKNOWN4, UNKNOWN5, INSUFFICIENTRIGHTS,
  FSNOTSUPPORTED, VOLUMEINUSE, UNKNOWN9, UNKNOWNA,
  DONE, UNKNOWNC, UNKNOWND, OUTPUT,
  STRUCTUREPROGRESS, CLUSTERSIZETOOSMALL
}
 

Functions

VOID NTAPI Chkdsk (IN PWCHAR DriveRoot, IN PWCHAR Format, IN BOOLEAN CorrectErrors, IN BOOLEAN Verbose, IN BOOLEAN CheckOnlyIfDirty, IN BOOLEAN ScanDrive, IN PVOID Unused2, IN PVOID Unused3, IN PFMIFSCALLBACK Callback)
 
VOID NTAPI ChkdskEx (IN PWCHAR DriveRoot, IN PWCHAR Format, IN BOOLEAN CorrectErrors, IN BOOLEAN Verbose, IN BOOLEAN CheckOnlyIfDirty, IN BOOLEAN ScanDrive, IN PVOID Unused2, IN PVOID Unused3, IN PFMIFSCALLBACK Callback)
 
FMIFS_MEDIA_FLAG NTAPI ComputeFmMediaType (IN ULONG MediaType)
 
VOID NTAPI DiskCopy (VOID)
 
BOOLEAN NTAPI EnableVolumeCompression (IN PWCHAR DriveRoot, IN USHORT Compression)
 
VOID NTAPI Format (IN PWCHAR DriveRoot, IN FMIFS_MEDIA_FLAG MediaFlag, IN PWCHAR Format, IN PWCHAR Label, IN BOOLEAN QuickFormat, IN PFMIFSCALLBACK Callback)
 
VOID NTAPI FormatEx (IN PWCHAR DriveRoot, IN FMIFS_MEDIA_FLAG MediaFlag, IN PWCHAR Format, IN PWCHAR Label, IN BOOLEAN QuickFormat, IN ULONG ClusterSize, IN PFMIFSCALLBACK Callback)
 
BOOLEAN NTAPI QueryAvailableFileSystemFormat (IN DWORD Index, IN OUT PWCHAR FileSystem, OUT UCHAR *Major, OUT UCHAR *Minor, OUT BOOLEAN *LatestVersion)
 
BOOL NTAPI QueryDeviceInformation (IN PWCHAR DriveRoot, OUT ULONG *Buffer, IN ULONG BufferSize)
 
BOOL NTAPI QueryFileSystemName (IN PWCHAR DriveRoot, OUT PWCHAR FileSystem OPTIONAL, OUT UCHAR *Unknown2 OPTIONAL, OUT UCHAR *Unknown3 OPTIONAL, OUT ULONG *Unknown4 OPTIONAL)
 
BOOLEAN NTAPI QueryLatestFileSystemVersion (IN PWCHAR FileSystem, OUT UCHAR *Major OPTIONAL, OUT UCHAR *Minor OPTIONAL)
 
BOOL NTAPI QuerySupportedMedia (IN PWCHAR DriveRoot, OUT FMIFS_MEDIA_FLAG *CurrentMedia OPTIONAL, IN ULONG Unknown3, OUT PULONG Unknown4)
 
BOOL NTAPI SetLabel (IN PWCHAR DriveRoot, IN PWCHAR Label)
 

Typedef Documentation

◆ CHKDSKEX

typedef NTSTATUS(NTAPI * CHKDSKEX) (IN PUNICODE_STRING DriveRoot, IN BOOLEAN FixErrors, IN BOOLEAN Verbose, IN BOOLEAN CheckOnlyIfDirty, IN BOOLEAN ScanDrive, IN PFMIFSCALLBACK Callback)

Definition at line 207 of file fmifs.h.

◆ FORMATEX

Definition at line 198 of file fmifs.h.

◆ PFMIFSCALLBACK

typedef BOOLEAN(NTAPI* PFMIFSCALLBACK) (IN CALLBACKCOMMAND Command, IN ULONG SubAction, IN PVOID ActionInfo)

Definition at line 89 of file fmifs.h.

◆ PTEXTOUTPUT

Enumeration Type Documentation

◆ CALLBACKCOMMAND

Enumerator
PROGRESS 
DONEWITHSTRUCTURE 
UNKNOWN2 
UNKNOWN3 
UNKNOWN4 
UNKNOWN5 
INSUFFICIENTRIGHTS 
FSNOTSUPPORTED 
VOLUMEINUSE 
UNKNOWN9 
UNKNOWNA 
DONE 
UNKNOWNC 
UNKNOWND 
OUTPUT 
STRUCTUREPROGRESS 
CLUSTERSIZETOOSMALL 
PROGRESS 
DONEWITHSTRUCTURE 
UNKNOWN2 
UNKNOWN3 
UNKNOWN4 
UNKNOWN5 
INSUFFICIENTRIGHTS 
FSNOTSUPPORTED 
VOLUMEINUSE 
UNKNOWN9 
UNKNOWNA 
DONE 
UNKNOWNC 
UNKNOWND 
OUTPUT 
STRUCTUREPROGRESS 
CLUSTERSIZETOOSMALL 

Definition at line 66 of file fmifs.h.

67 {
68  PROGRESS,
70  UNKNOWN2,
71  UNKNOWN3,
72  UNKNOWN4,
73  UNKNOWN5,
77  UNKNOWN9,
78  UNKNOWNA,
79  DONE,
80  UNKNOWNC,
81  UNKNOWND,
82  OUTPUT,
Definition: fmifs.h:71
Definition: fmifs.h:72
Definition: fmifs.h:70
Definition: fmifs.h:68
Definition: fmifs.h:78
Definition: fmifs.h:73
CALLBACKCOMMAND
Definition: fmifs.h:66
Definition: fmifs.h:77
Definition: fmifs.h:80
Definition: fmifs.h:79
Definition: fmifs.h:81
Definition: fmifs.h:82

◆ FMIFS_MEDIA_FLAG

Enumerator
FMIFS_UNKNOWN0 
FMIFS_UNKNOWN1 
FMIFS_UNKNOWN2 
FMIFS_UNKNOWN3 
FMIFS_UNKNOWN4 
FMIFS_UNKNOWN5 
FMIFS_UNKNOWN6 
FMIFS_UNKNOWN7 
FMIFS_FLOPPY 
FMIFS_UNKNOWN9 
FMIFS_UNKNOWN10 
FMIFS_REMOVABLE 
FMIFS_HARDDISK 
FMIFS_UNKNOWN13 
FMIFS_UNKNOWN14 
FMIFS_UNKNOWN15 
FMIFS_UNKNOWN16 
FMIFS_UNKNOWN17 
FMIFS_UNKNOWN18 
FMIFS_UNKNOWN19 
FMIFS_UNKNOWN20 
FMIFS_UNKNOWN21 
FMIFS_UNKNOWN22 
FMIFS_UNKNOWN23 
FMIFS_UNKNOWN0 
FMIFS_UNKNOWN1 
FMIFS_UNKNOWN2 
FMIFS_UNKNOWN3 
FMIFS_UNKNOWN4 
FMIFS_UNKNOWN5 
FMIFS_UNKNOWN6 
FMIFS_UNKNOWN7 
FMIFS_FLOPPY 
FMIFS_UNKNOWN9 
FMIFS_UNKNOWN10 
FMIFS_REMOVABLE 
FMIFS_HARDDISK 
FMIFS_UNKNOWN13 
FMIFS_UNKNOWN14 
FMIFS_UNKNOWN15 
FMIFS_UNKNOWN16 
FMIFS_UNKNOWN17 
FMIFS_UNKNOWN18 
FMIFS_UNKNOWN19 
FMIFS_UNKNOWN20 
FMIFS_UNKNOWN21 
FMIFS_UNKNOWN22 
FMIFS_UNKNOWN23 

Definition at line 37 of file fmifs.h.

Function Documentation

◆ Chkdsk()

VOID NTAPI Chkdsk ( IN PWCHAR  DriveRoot,
IN PWCHAR  Format,
IN BOOLEAN  CorrectErrors,
IN BOOLEAN  Verbose,
IN BOOLEAN  CheckOnlyIfDirty,
IN BOOLEAN  ScanDrive,
IN PVOID  Unused2,
IN PVOID  Unused3,
IN PFMIFSCALLBACK  Callback 
)

Definition at line 18 of file chkdsk.c.

28 {
30  UNICODE_STRING usDriveRoot;
31  BOOLEAN Argument = FALSE;
33  //CURDIR CurDir;
34 
36  if (!Provider)
37  {
38  /* Unknown file system */
39  Callback(DONE, 0, &Argument);
40  return;
41  }
42 
43 #if 1
44  DPRINT1("Warning: use GetVolumeNameForVolumeMountPointW() instead!\n");
45  swprintf(VolumeName, L"\\??\\%c:", towupper(DriveRoot[0]));
46  RtlCreateUnicodeString(&usDriveRoot, VolumeName);
47  /* Code disabled as long as our storage stack doesn't understand IOCTL_MOUNTDEV_QUERY_DEVICE_NAME */
48 #else
50  !RtlDosPathNameToNtPathName_U(VolumeName, &usDriveRoot, NULL, &CurDir))
51  {
52  /* Report an error. */
53  Callback(DONE, 0, &Argument);
54  return;
55  }
56 #endif
57 
58  DPRINT("ChkdskEx - %S\n", Format);
59  Provider->ChkdskEx(&usDriveRoot,
60  CorrectErrors,
61  Verbose,
62  CheckOnlyIfDirty,
63  ScanDrive,
64  Callback);
65 
66  RtlFreeUnicodeString(&usDriveRoot);
67 }
BOOL Verbose
Definition: chkdsk.c:72
unsigned char BOOLEAN
smooth NULL
Definition: ftsmooth.c:416
void DPRINT(...)
Definition: polytest.cpp:61
__wchar_t WCHAR
Definition: xmlstorage.h:180
#define MAX_PATH
Definition: compat.h:26
#define swprintf(buf, format,...)
Definition: sprintf.c:56
NTSYSAPI VOID NTAPI RtlFreeUnicodeString(PUNICODE_STRING UnicodeString)
NTSYSAPI BOOLEAN NTAPI RtlCreateUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)
static const WCHAR L[]
Definition: oid.c:1250
#define DPRINT1
Definition: precomp.h:8
_Must_inspect_result_ _Inout_opt_ PUNICODE_STRING VolumeName
Definition: fltkernel.h:1117
#define DONE
Definition: rnr20lib.h:14
#define towupper(c)
Definition: wctype.h:99
BOOL WINAPI GetVolumeNameForVolumeMountPointW(IN LPCWSTR VolumeMountPoint, OUT LPWSTR VolumeName, IN DWORD VolumeNameLength)
Definition: mntpoint.c:496
LPFNPSPCALLBACK Callback
Definition: desk.c:111
NTSYSAPI BOOLEAN NTAPI RtlDosPathNameToNtPathName_U(_In_opt_z_ PCWSTR DosPathName, _Out_ PUNICODE_STRING NtPathName, _Out_opt_ PCWSTR *NtFileNamePart, _Out_opt_ PRTL_RELATIVE_NAME_U DirectoryInfo)
PIFS_PROVIDER GetProvider(IN PWCHAR FileSystem)
Definition: init.c:23

Referenced by ChkDskNow(), and wmain().

◆ ChkdskEx()

VOID NTAPI ChkdskEx ( IN PWCHAR  DriveRoot,
IN PWCHAR  Format,
IN BOOLEAN  CorrectErrors,
IN BOOLEAN  Verbose,
IN BOOLEAN  CheckOnlyIfDirty,
IN BOOLEAN  ScanDrive,
IN PVOID  Unused2,
IN PVOID  Unused3,
IN PFMIFSCALLBACK  Callback 
)

◆ ComputeFmMediaType()

FMIFS_MEDIA_FLAG NTAPI ComputeFmMediaType ( IN ULONG  MediaType)

◆ DiskCopy()

VOID NTAPI DiskCopy ( VOID  )

Definition at line 15 of file diskcopy.c.

16 {
17 }

◆ EnableVolumeCompression()

BOOLEAN NTAPI EnableVolumeCompression ( IN PWCHAR  DriveRoot,
IN USHORT  Compression 
)

Definition at line 17 of file compress.c.

20 {
21  HANDLE hFile;
22  DWORD RetBytes;
23  BOOL Ret;
24 
25  hFile = CreateFileW(DriveRoot,
28  NULL,
31  NULL);
33  return FALSE;
34 
35  Ret = DeviceIoControl(hFile,
37  &Compression,
38  sizeof(USHORT),
39  NULL,
40  0,
41  &RetBytes,
42  NULL);
43 
45 
46  return (Ret != 0);
47 }
#define CloseHandle
Definition: compat.h:398
#define FSCTL_SET_COMPRESSION
Definition: nt_native.h:842
#define INVALID_HANDLE_VALUE
Definition: compat.h:391
#define FILE_SHARE_WRITE
Definition: nt_native.h:681
#define FILE_SHARE_READ
Definition: compat.h:125
unsigned int BOOL
Definition: ntddk_ex.h:94
#define FILE_READ_DATA
Definition: nt_native.h:628
smooth NULL
Definition: ftsmooth.c:416
#define FILE_WRITE_DATA
Definition: nt_native.h:631
#define OPEN_EXISTING
Definition: compat.h:426
unsigned long DWORD
Definition: ntddk_ex.h:95
_In_ HANDLE hFile
Definition: mswsock.h:90
BOOL WINAPI DeviceIoControl(IN HANDLE hDevice, IN DWORD dwIoControlCode, IN LPVOID lpInBuffer OPTIONAL, IN DWORD nInBufferSize OPTIONAL, OUT LPVOID lpOutBuffer OPTIONAL, IN DWORD nOutBufferSize OPTIONAL, OUT LPDWORD lpBytesReturned OPTIONAL, IN LPOVERLAPPED lpOverlapped OPTIONAL)
Definition: deviceio.c:136
unsigned short USHORT
Definition: pedump.c:61
#define CreateFileW
Definition: compat.h:400
#define FILE_FLAG_BACKUP_SEMANTICS
Definition: disk.h:41

Referenced by wmain().

◆ Format()

VOID NTAPI Format ( IN PWCHAR  DriveRoot,
IN FMIFS_MEDIA_FLAG  MediaFlag,
IN PWCHAR  Format,
IN PWCHAR  Label,
IN BOOLEAN  QuickFormat,
IN PFMIFSCALLBACK  Callback 
)

Definition at line 18 of file format.c.

25 {
26  FormatEx(DriveRoot,
27  MediaFlag,
28  Format,
29  Label,
31  0,
32  Callback);
33 }
BOOL QuickFormat
Definition: format.c:66
VOID NTAPI FormatEx(IN PWCHAR DriveRoot, IN FMIFS_MEDIA_FLAG MediaFlag, IN PWCHAR Format, IN PWCHAR Label, IN BOOLEAN QuickFormat, IN ULONG ClusterSize, IN PFMIFSCALLBACK Callback)
Definition: format.c:38
PWCHAR Label
Definition: format.c:70
LPFNPSPCALLBACK Callback
Definition: desk.c:111

◆ FormatEx()

VOID NTAPI FormatEx ( IN PWCHAR  DriveRoot,
IN FMIFS_MEDIA_FLAG  MediaFlag,
IN PWCHAR  Format,
IN PWCHAR  Label,
IN BOOLEAN  QuickFormat,
IN ULONG  ClusterSize,
IN PFMIFSCALLBACK  Callback 
)

Definition at line 38 of file format.c.

46 {
48  UNICODE_STRING usDriveRoot;
49  UNICODE_STRING usLabel;
50  BOOLEAN Argument = FALSE;
52  //CURDIR CurDir;
53 
55  if (!Provider)
56  {
57  /* Unknown file system */
58  Callback(DONE, 0, &Argument);
59  return;
60  }
61 
62 #if 1
63  DPRINT1("Warning: use GetVolumeNameForVolumeMountPointW() instead!\n");
64  swprintf(VolumeName, L"\\??\\%c:", towupper(DriveRoot[0]));
65  RtlCreateUnicodeString(&usDriveRoot, VolumeName);
66  /* Code disabled as long as our storage stack doesn't understand IOCTL_MOUNTDEV_QUERY_DEVICE_NAME */
67 #else
69  !RtlDosPathNameToNtPathName_U(VolumeName, &usDriveRoot, NULL, &CurDir))
70  {
71  /* Report an error. */
72  Callback(DONE, 0, &Argument);
73  return;
74  }
75 #endif
76 
77  RtlInitUnicodeString(&usLabel, Label);
78 
79  DPRINT("FormatEx - %S\n", Format);
80  Provider->FormatEx(&usDriveRoot,
81  MediaFlag,
82  &usLabel,
85  Callback);
86 
87  RtlFreeUnicodeString(&usDriveRoot);
88 }
unsigned char BOOLEAN
smooth NULL
Definition: ftsmooth.c:416
void DPRINT(...)
Definition: polytest.cpp:61
BOOL QuickFormat
Definition: format.c:66
__wchar_t WCHAR
Definition: xmlstorage.h:180
#define MAX_PATH
Definition: compat.h:26
#define swprintf(buf, format,...)
Definition: sprintf.c:56
DWORD ClusterSize
Definition: format.c:67
NTSYSAPI VOID NTAPI RtlFreeUnicodeString(PUNICODE_STRING UnicodeString)
NTSYSAPI BOOLEAN NTAPI RtlCreateUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)
static const WCHAR L[]
Definition: oid.c:1250
#define DPRINT1
Definition: precomp.h:8
_Must_inspect_result_ _Inout_opt_ PUNICODE_STRING VolumeName
Definition: fltkernel.h:1117
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)
PWCHAR Label
Definition: format.c:70
#define DONE
Definition: rnr20lib.h:14
#define towupper(c)
Definition: wctype.h:99
BOOL WINAPI GetVolumeNameForVolumeMountPointW(IN LPCWSTR VolumeMountPoint, OUT LPWSTR VolumeName, IN DWORD VolumeNameLength)
Definition: mntpoint.c:496
LPFNPSPCALLBACK Callback
Definition: desk.c:111
NTSYSAPI BOOLEAN NTAPI RtlDosPathNameToNtPathName_U(_In_opt_z_ PCWSTR DosPathName, _Out_ PUNICODE_STRING NtPathName, _Out_opt_ PCWSTR *NtFileNamePart, _Out_opt_ PRTL_RELATIVE_NAME_U DirectoryInfo)
PIFS_PROVIDER GetProvider(IN PWCHAR FileSystem)
Definition: init.c:23

Referenced by Format(), FormatDrive(), and wmain().

◆ QueryAvailableFileSystemFormat()

BOOLEAN NTAPI QueryAvailableFileSystemFormat ( IN DWORD  Index,
IN OUT PWCHAR  FileSystem,
OUT UCHAR Major,
OUT UCHAR Minor,
OUT BOOLEAN LatestVersion 
)

Definition at line 14 of file query.c.

20 {
21  PLIST_ENTRY ListEntry;
23 
24  if (!FileSystem || !Major ||!Minor ||!LatestVersion)
25  return FALSE;
26 
27  ListEntry = ProviderListHead.Flink;
28  while (TRUE)
29  {
30  if (ListEntry == &ProviderListHead)
31  return FALSE;
32  if (Index == 0)
33  break;
34  ListEntry = ListEntry->Flink;
35  Index--;
36  }
37 
38  Provider = CONTAINING_RECORD(ListEntry, IFS_PROVIDER, ListEntry);
39  wcscpy(FileSystem, Provider->Name);
40  *Major = 0; /* FIXME */
41  *Minor = 0; /* FIXME */
42  *LatestVersion = TRUE; /* FIXME */
43 
44  return TRUE;
45 }
_Out_opt_ PULONG Minor
Definition: cmfuncs.h:44
#define TRUE
Definition: types.h:120
PWCHAR FileSystem
Definition: format.c:72
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560
struct _LIST_ENTRY * Flink
Definition: typedefs.h:119
static const UCHAR Index[8]
Definition: usbohci.c:18
LIST_ENTRY ProviderListHead
Definition: init.c:20
_CRTIMP wchar_t *__cdecl wcscpy(_Out_writes_z_(_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)
Definition: typedefs.h:117

Referenced by InitializeFormatDriveDlg(), and Usage().

◆ QueryDeviceInformation()

BOOL NTAPI QueryDeviceInformation ( IN PWCHAR  DriveRoot,
OUT ULONG Buffer,
IN ULONG  BufferSize 
)

◆ QueryFileSystemName()

BOOL NTAPI QueryFileSystemName ( IN PWCHAR  DriveRoot,
OUT PWCHAR FileSystem  OPTIONAL,
OUT UCHAR *Unknown2  OPTIONAL,
OUT UCHAR *Unknown3  OPTIONAL,
OUT ULONG *Unknown4  OPTIONAL 
)

◆ QueryLatestFileSystemVersion()

BOOLEAN NTAPI QueryLatestFileSystemVersion ( IN PWCHAR  FileSystem,
OUT UCHAR *Major  OPTIONAL,
OUT UCHAR *Minor  OPTIONAL 
)

◆ QuerySupportedMedia()

BOOL NTAPI QuerySupportedMedia ( IN PWCHAR  DriveRoot,
OUT FMIFS_MEDIA_FLAG *CurrentMedia  OPTIONAL,
IN ULONG  Unknown3,
OUT PULONG  Unknown4 
)

Definition at line 15 of file media.c.

20 {
21  return FALSE;
22 }

◆ SetLabel()

BOOL NTAPI SetLabel ( IN PWCHAR  DriveRoot,
IN PWCHAR  Label 
)