[PSDK] winbase.h: Isolate the CreateProcess() dwCreationFlag values

This commit is contained in:
Hermès Bélusca-Maïto 2024-10-25 21:13:40 +02:00
parent c9a99bf63a
commit d7fa4292ce
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -173,6 +173,8 @@ extern "C" {
#define PIPE_CLIENT_END 0
#define PIPE_SERVER_END 1
#define PIPE_UNLIMITED_INSTANCES 255
/* CreateProcess() dwCreationFlags values */
#define DEBUG_PROCESS 0x00000001
#define DEBUG_ONLY_THIS_PROCESS 0x00000002
#define CREATE_SUSPENDED 0x00000004
@ -196,6 +198,11 @@ extern "C" {
#define PROFILE_USER 0x10000000
#define PROFILE_KERNEL 0x20000000
#define PROFILE_SERVER 0x40000000
/* CreateThread()/CreateRemoteThread() dwCreationFlags values */
// #define CREATE_SUSPENDED 0x00000004 // See above
#define STACK_SIZE_PARAM_IS_A_RESERVATION 0x00010000
#define CREATE_NEW 1
#define CREATE_ALWAYS 2
#define OPEN_EXISTING 3
@ -574,7 +581,6 @@ extern "C" {
#define FIBER_FLAG_FLOAT_SWITCH 0x1
#endif
#define FLS_OUT_OF_INDEXES 0xFFFFFFFF
#define STACK_SIZE_PARAM_IS_A_RESERVATION 0x00010000
#if (_WIN32_WINNT >= 0x0600)
#define MAX_RESTART_CMD_LINE 0x800
#define RESTART_CYCLICAL 0x1