#include "wimlib/types.h"
#include "wimlib/win32.h"
-#ifdef WITH_NTDLL
-# include <ntstatus.h>
-# include <winternl.h>
-#endif
+#include <ntstatus.h>
+#include <winternl.h>
extern void
set_errno_from_GetLastError(void);
extern void
set_errno_from_win32_error(DWORD err);
-#ifdef WITH_NTDLL
extern void
set_errno_from_nt_status(NTSTATUS status);
-#endif
extern bool
win32_path_is_root_of_drive(const wchar_t *path);
/* ntdll functions */
-#ifdef WITH_NTDLL
-
extern NTSTATUS (WINAPI *func_NtQueryInformationFile)(HANDLE FileHandle,
PIO_STATUS_BLOCK IoStatusBlock,
PVOID FileInformation,
extern NTSTATUS (WINAPI *func_RtlCreateSystemVolumeInformationFolder)
(PCUNICODE_STRING VolumeRootPath);
-#endif
-
extern bool