mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-27 03:43:37 +08:00
headers: enable GET_MODULE_HANDLE_EX_xxx defines in UWP builds
It's available in the Windows 11 SDK for all builds targeting FAMILY_APP and more. Signed-off-by: LIU Hao <lh_mouse@126.com>
This commit is contained in:
parent
b220602e1b
commit
4e0ae2d751
@ -79,11 +79,13 @@ extern "C" {
|
|||||||
#if (NTDDI_VERSION >= NTDDI_WIN10_RS2)
|
#if (NTDDI_VERSION >= NTDDI_WIN10_RS2)
|
||||||
#define LOAD_LIBRARY_OS_INTEGRITY_CONTINUITY 0x00008000
|
#define LOAD_LIBRARY_OS_INTEGRITY_CONTINUITY 0x00008000
|
||||||
#endif
|
#endif
|
||||||
|
#endif /* WINAPI_PARTITION_DESKTOP */
|
||||||
|
|
||||||
#define GET_MODULE_HANDLE_EX_FLAG_PIN (0x1)
|
#define GET_MODULE_HANDLE_EX_FLAG_PIN (0x1)
|
||||||
#define GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT (0x2)
|
#define GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT (0x2)
|
||||||
#define GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS (0x4)
|
#define GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS (0x4)
|
||||||
|
|
||||||
|
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
|
||||||
#define ENUMRESLANGPROC __MINGW_NAME_AW(ENUMRESLANGPROC)
|
#define ENUMRESLANGPROC __MINGW_NAME_AW(ENUMRESLANGPROC)
|
||||||
#define ENUMRESNAMEPROC __MINGW_NAME_AW(ENUMRESNAMEPROC)
|
#define ENUMRESNAMEPROC __MINGW_NAME_AW(ENUMRESNAMEPROC)
|
||||||
#define ENUMRESTYPEPROC __MINGW_NAME_AW(ENUMRESTYPEPROC)
|
#define ENUMRESTYPEPROC __MINGW_NAME_AW(ENUMRESTYPEPROC)
|
||||||
|
Loading…
Reference in New Issue
Block a user