Skip to content

Commit 3736938

Browse files
committed
[PSDK] winbase.h: Add other missing CreateProcess() dwCreationFlags values
Vista: INHERIT_CALLER_PRIORITY CREATE_PROTECTED_PROCESS EXTENDED_STARTUPINFO_PRESENT PROCESS_MODE_BACKGROUND_BEGIN PROCESS_MODE_BACKGROUND_END Win7: INHERIT_PARENT_AFFINITY Win 10.0.17134.0 (Redstone 4): CREATE_SECURE_PROCESS References: https://abi-laboratory.pro/compatibility/Windows_5.0_to_Windows_6.0/x86_64/headers_diff/kernel32.dll/diff.html https://abi-laboratory.pro/compatibility/Windows_6.0_to_Windows_7.0/x86_64/headers_diff/kernel32.dll/diff.html https://github.com/hughbe/windows-sdk-headers
1 parent a27227b commit 3736938

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

sdk/include/psdk/winbase.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,23 @@ extern "C" {
191191
#define CREATE_FORCEDOS 0x00002000
192192
#define BELOW_NORMAL_PRIORITY_CLASS 0x00004000
193193
#define ABOVE_NORMAL_PRIORITY_CLASS 0x00008000
194+
195+
#if (_WIN32_WINNT >= _WIN32_WINNT_WIN7)
196+
#define INHERIT_PARENT_AFFINITY 0x00010000
197+
#endif // _WIN32_WINNT_WIN7
198+
199+
#if (_WIN32_WINNT >= _WIN32_WINNT_VISTA)
200+
#define INHERIT_CALLER_PRIORITY 0x00020000 // Deprecated
201+
#define CREATE_PROTECTED_PROCESS 0x00040000
202+
#define EXTENDED_STARTUPINFO_PRESENT 0x00080000
203+
#define PROCESS_MODE_BACKGROUND_BEGIN 0x00100000
204+
#define PROCESS_MODE_BACKGROUND_END 0x00200000
205+
#endif // _WIN32_WINNT_VISTA
206+
207+
#if (NTDDI_VERSION >= NTDDI_WIN10_RS4)
208+
#define CREATE_SECURE_PROCESS 0x00400000
209+
#endif // NTDDI_WIN10_RS4
210+
194211
#define CREATE_BREAKAWAY_FROM_JOB 0x01000000
195212
#define CREATE_PRESERVE_CODE_AUTHZ_LEVEL 0x02000000
196213
#define CREATE_DEFAULT_ERROR_MODE 0x04000000

0 commit comments

Comments
 (0)