#define FileFsDeviceInformation 4
#define FileFsAttributeInformation 5
#define FileFsControlInformation 6
-#define FileFsQuotaQueryInformation 7
-#define FileFsQuotaSetInformation 8
-#define FileFsMaximumInformation 9
+#define FileFsFullSizeInformation 7
+#define FileFsObjectIdInformation 8
+#define FileFsDriverPathInformation 9
+#define FileFsMaximumInformation 10
#define IRP_MN_QUERY_DIRECTORY 0x01
#define IRP_MN_NOTIFY_CHANGE_DIRECTORY 0x02
ULONG BytesPerSector;
} FILE_FS_SIZE_INFORMATION, *PFILE_FS_SIZE_INFORMATION;
+typedef struct _FILE_FS_FULL_SIZE_INFORMATION {
+ LARGE_INTEGER TotalAllocationUnits;
+ LARGE_INTEGER CallerAvailableAllocationUnits;
+ LARGE_INTEGER ActualAvailableAllocationUnits;
+ ULONG SectorsPerAllocationUnit;
+ ULONG BytesPerSector;
+} FILE_FS_FULL_SIZE_INFORMATION, *PFILE_FS_FULL_SIZE_INFORMATION;
+
typedef struct _FILE_FS_ATTRIBUTE_INFORMATION {
ULONG FileSystemAttributes;
LONG MaximumComponentNameLength;
return(STATUS_SUCCESS);
}
-#ifndef LIBCAPTIVE
NTSTATUS STDCALL
NtQueryVolumeInformationFile(IN HANDLE FileHandle,
return(Status);
}
+#ifndef LIBCAPTIVE
NTSTATUS STDCALL
IoQueryVolumeInformation(IN PFILE_OBJECT FileObject,