]> wimlib.net Git - wimlib/blobdiff - src/win32_common.c
win32_capture.c: Load volume information on first chance
[wimlib] / src / win32_common.c
index 9f5c72f1647b742f9e93f7f806a557a89974b0f4..1768fd9bd5076371351c1e5f8fad4ac0ac4966ce 100644 (file)
@@ -565,6 +565,12 @@ NTSTATUS (WINAPI *func_NtQueryDirectoryFile) (HANDLE FileHandle,
                                              PUNICODE_STRING FileName,
                                              BOOLEAN RestartScan);
 
+NTSTATUS (WINAPI *func_NtQueryVolumeInformationFile) (HANDLE FileHandle,
+                                                     PIO_STATUS_BLOCK IoStatusBlock,
+                                                     PVOID FsInformation,
+                                                     ULONG Length,
+                                                     FS_INFORMATION_CLASS FsInformationClass);
+
 NTSTATUS (WINAPI *func_NtSetSecurityObject)(HANDLE Handle,
                                            SECURITY_INFORMATION SecurityInformation,
                                            PSECURITY_DESCRIPTOR SecurityDescriptor);
@@ -615,6 +621,7 @@ struct dll_spec ntdll_spec = {
                DLL_SYM(NtQueryInformationFile, true),
                DLL_SYM(NtQuerySecurityObject, true),
                DLL_SYM(NtQueryDirectoryFile, true),
+               DLL_SYM(NtQueryVolumeInformationFile, true),
                DLL_SYM(NtSetSecurityObject, true),
                DLL_SYM(NtClose, true),
                DLL_SYM(RtlNtStatusToDosError, true),