Here is the fixed patch file.
From a71ea56b142a3c078377304a0467d18910b792e3 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath <nathbap...@gmail.com> Date: Sat, 13 Oct 2018 11:47:40 +0530 Subject: [PATCH] include/winbase.h: Add new PROC_THREAD_ATTRIBUTE values
Signed-off-by: Biswapriyo Nath <nathbap...@gmail.com> --- mingw-w64-headers/include/winbase.h | 33 +++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/mingw-w64-headers/include/winbase.h b/mingw-w64-headers/include/winbase.h index 2b473785..d62ffe5f 100644 --- a/mingw-w64-headers/include/winbase.h +++ b/mingw-w64-headers/include/winbase.h @@ -1597,6 +1597,24 @@ extern "C" { #endif #if _WIN32_WINNT >= 0x0602 ,ProcThreadAttributeSecurityCapabilities = 9 +#endif + ,ProcThreadAttributeProtectionLevel = 11 +#if _WIN32_WINNT >= 0x0603 +#endif +#if _WIN32_WINNT >= 0x0A00 + ,ProcThreadAttributeJobList = 13 + ,ProcThreadAttributeChildProcessPolicy = 14 + ,ProcThreadAttributeAllApplicationPackagesPolicy = 15 + ,ProcThreadAttributeWin32kFilter = 16 +#endif +#if NTDDI_VERSION >= 0x0A000002 + ,ProcThreadAttributeSafeOpenPromptOriginClaim = 17 +#endif +#if NTDDI_VERSION >= 0x0A000003 + ,ProcThreadAttributeDesktopAppPolicy = 18 +#endif +#if NTDDI_VERSION >= 0x0A000006 + ,ProcThreadAttributePseudoConsole = 22 #endif } PROC_THREAD_ATTRIBUTE_NUM; #endif @@ -1613,7 +1631,22 @@ extern "C" { #define PROC_THREAD_ATTRIBUTE_IDEAL_PROCESSOR ProcThreadAttributeValue (ProcThreadAttributeIdealProcessor, TRUE, TRUE, FALSE) #define PROC_THREAD_ATTRIBUTE_UMS_THREAD ProcThreadAttributeValue (ProcThreadAttributeUmsThread, TRUE, TRUE, FALSE) #define PROC_THREAD_ATTRIBUTE_MITIGATION_POLICY ProcThreadAttributeValue (ProcThreadAttributeMitigationPolicy, FALSE, TRUE, FALSE) +#endif + +#if _WIN32_WINNT >= 0x0602 +#define PROC_THREAD_ATTRIBUTE_SECURITY_CAPABILITIES ProcThreadAttributeValue (ProcThreadAttributeSecurityCapabilities, FALSE, TRUE, FALSE) +#endif + +#define PROC_THREAD_ATTRIBUTE_PROTECTION_LEVEL ProcThreadAttributeValue (ProcThreadAttributeProtectionLevel, FALSE, TRUE, FALSE) + +#if _WIN32_WINNT >= 0x0603 +#endif + +#if NTDDI_VERSION >= 0x0A000006 +#define PROC_THREAD_ATTRIBUTE_PSEUDOCONSOLE ProcThreadAttributeValue (ProcThreadAttributePseudoConsole, FALSE, TRUE, FALSE) +#endif +#if _WIN32_WINNT >= 0x0601 #define PROCESS_CREATION_MITIGATION_POLICY_DEP_ENABLE 0x01 #define PROCESS_CREATION_MITIGATION_POLICY_DEP_ATL_THUNK_ENABLE 0x02 #define PROCESS_CREATION_MITIGATION_POLICY_SEHOP_ENABLE 0x04 -- 2.19.0
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public