Define NTDDI_VERSION,_WIN32_WINNT; remove GetOverlappedResultEx

- Ensures that only Vista+ DDI/API's are used
- Project should now run on Win 7
This commit is contained in:
Bill Zissimopoulos
2016-07-27 16:14:59 -07:00
parent 0b65bc7e01
commit 0e2f46dc90
4 changed files with 106 additions and 81 deletions

View File

@ -1034,4 +1034,14 @@ extern WCHAR FspFileDescDirectoryPatternMatchAll[];
extern FSP_MV_CcCoherencyFlushAndPurgeCache *FspMvCcCoherencyFlushAndPurgeCache;
extern ULONG FspMvMdlMappingNoWrite;
/* add missing API prototype */
#if (NTDDI_VERSION < NTDDI_WIN7)
NTKERNELAPI
NTSTATUS
ObCloseHandle(
_In_ HANDLE Handle,
_In_ KPROCESSOR_MODE PreviousMode
);
#endif
#endif