From b1d8192d59ab9b2b9d0c3d96437c47300427b75e Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Mon, 7 Nov 2016 13:28:57 -0800 Subject: [PATCH] sys: restrict build to Win7 --- build/VStudio/version.properties | 2 +- src/sys/driver.h | 10 ---------- src/sys/ioctl.i | 2 +- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/build/VStudio/version.properties b/build/VStudio/version.properties index bc5177b7..81d5258a 100644 --- a/build/VStudio/version.properties +++ b/build/VStudio/version.properties @@ -20,7 +20,7 @@ - NTDDI_VERSION=0x06000000;_WIN32_WINNT=0x0600 + NTDDI_VERSION=0x06010000;_WIN32_WINNT=0x0601 \ No newline at end of file diff --git a/src/sys/driver.h b/src/sys/driver.h index 2c0db058..220d5ccb 100644 --- a/src/sys/driver.h +++ b/src/sys/driver.h @@ -1192,16 +1192,6 @@ extern ULONG FspMvMdlMappingNoWrite; * Fixes */ - /* ObCloseHandle: add missing prototype */ -#if (NTDDI_VERSION < NTDDI_WIN7) -NTKERNELAPI -NTSTATUS -ObCloseHandle( - _In_ HANDLE Handle, - _In_ KPROCESSOR_MODE PreviousMode - ); -#endif - /* RtlEqualMemory: this is defined as memcmp, which does not exist on Win7 x86! */ #undef RtlEqualMemory static inline diff --git a/src/sys/ioctl.i b/src/sys/ioctl.i index 6538e2c8..872ef165 100644 --- a/src/sys/ioctl.i +++ b/src/sys/ioctl.i @@ -100,7 +100,7 @@ SYM(FSCTL_TXFS_READ_BACKUP_INFORMATION2) //SYM(FSCTL_GET_RETRIEVAL_POINTER_BASE) //SYM(FSCTL_SET_PERSISTENT_VOLUME_STATE) //SYM(FSCTL_QUERY_PERSISTENT_VOLUME_STATE) -//SYM(FSCTL_REQUEST_OPLOCK) +SYM(FSCTL_REQUEST_OPLOCK) //SYM(FSCTL_CSV_TUNNEL_REQUEST) //SYM(FSCTL_IS_CSV_FILE) //SYM(FSCTL_QUERY_FILE_SYSTEM_RECOGNITION)