From 7ca16bf6969b1281095adcc919ae7fe9d679055f Mon Sep 17 00:00:00 2001 From: Serge Gautherie <32623169+SergeGautherie@users.noreply.github.com> Date: Tue, 16 Feb 2021 16:37:48 +0100 Subject: [PATCH] [PSDK] winbase.h: Update LoadLibraryEx() dwFlags value defines (#3456) Add another Vista check. Addendum to 986cc5e. --- sdk/include/psdk/winbase.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/include/psdk/winbase.h b/sdk/include/psdk/winbase.h index 445c255b0ea..b6bda981368 100644 --- a/sdk/include/psdk/winbase.h +++ b/sdk/include/psdk/winbase.h @@ -354,7 +354,9 @@ extern "C" { #define LOAD_LIBRARY_SAFE_CURRENT_DIRS 0x00002000 #define LOAD_LIBRARY_SEARCH_SYSTEM32_NO_FORWARDER 0x00004000 #else // NTDDI_WIN10_RS1 +#if (_WIN32_WINNT >= _WIN32_WINNT_VISTA) #define LOAD_LIBRARY_SEARCH_SYSTEM32_NO_FORWARDER LOAD_LIBRARY_SEARCH_SYSTEM32 +#endif // _WIN32_WINNT_VISTA #endif // NTDDI_WIN10_RS1 #if (NTDDI_VERSION >= NTDDI_WIN10_RS2) #define LOAD_LIBRARY_OS_INTEGRITY_CONTINUITY 0x00008000