26 ((fs)[0] == 'R' && (fs)[1] == 'A' && (fs)[2] == 'W' && (fs)[3] == 0)
28#define IsUnknown(VolInfo) \
29 (!*(VolInfo)->FileSystem)
31#define IsUnformatted(VolInfo) \
32 IS_RAWFS((VolInfo)->FileSystem)
34#define IsFormatted(VolInfo) \
35 (!IsUnknown(VolInfo) && !IsUnformatted(VolInfo))
_Inout_ PVCB _In_ BOOLEAN Force
WCHAR FileSystem[MAX_PATH+1]
struct _VOLINFO * PVOLINFO
NTSTATUS DismountVolume(_Inout_ PVOLINFO Volume, _In_ BOOLEAN Force)
Attempts to dismount the designated volume.
NTSTATUS MountVolume(_Inout_ PVOLINFO Volume, _In_opt_ UCHAR MbrPartitionType)
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_opt_ PCUNICODE_STRING DeviceName