mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[PSDK] winbase.h: Isolate the CreateProcess() dwCreationFlag values
This commit is contained in:
parent
c9a99bf63a
commit
d7fa4292ce
1 changed files with 30 additions and 24 deletions
|
@ -173,29 +173,36 @@ extern "C" {
|
|||
#define PIPE_CLIENT_END 0
|
||||
#define PIPE_SERVER_END 1
|
||||
#define PIPE_UNLIMITED_INSTANCES 255
|
||||
#define DEBUG_PROCESS 0x00000001
|
||||
#define DEBUG_ONLY_THIS_PROCESS 0x00000002
|
||||
#define CREATE_SUSPENDED 0x00000004
|
||||
#define DETACHED_PROCESS 0x00000008
|
||||
#define CREATE_NEW_CONSOLE 0x00000010
|
||||
#define NORMAL_PRIORITY_CLASS 0x00000020
|
||||
#define IDLE_PRIORITY_CLASS 0x00000040
|
||||
#define HIGH_PRIORITY_CLASS 0x00000080
|
||||
#define REALTIME_PRIORITY_CLASS 0x00000100
|
||||
#define CREATE_NEW_PROCESS_GROUP 0x00000200
|
||||
#define CREATE_UNICODE_ENVIRONMENT 0x00000400
|
||||
#define CREATE_SEPARATE_WOW_VDM 0x00000800
|
||||
#define CREATE_SHARED_WOW_VDM 0x00001000
|
||||
#define CREATE_FORCEDOS 0x00002000
|
||||
#define BELOW_NORMAL_PRIORITY_CLASS 0x00004000
|
||||
#define ABOVE_NORMAL_PRIORITY_CLASS 0x00008000
|
||||
#define CREATE_BREAKAWAY_FROM_JOB 0x01000000
|
||||
#define CREATE_PRESERVE_CODE_AUTHZ_LEVEL 0x02000000
|
||||
#define CREATE_DEFAULT_ERROR_MODE 0x04000000
|
||||
#define CREATE_NO_WINDOW 0x08000000
|
||||
#define PROFILE_USER 0x10000000
|
||||
#define PROFILE_KERNEL 0x20000000
|
||||
#define PROFILE_SERVER 0x40000000
|
||||
|
||||
/* CreateProcess() dwCreationFlags values */
|
||||
#define DEBUG_PROCESS 0x00000001
|
||||
#define DEBUG_ONLY_THIS_PROCESS 0x00000002
|
||||
#define CREATE_SUSPENDED 0x00000004
|
||||
#define DETACHED_PROCESS 0x00000008
|
||||
#define CREATE_NEW_CONSOLE 0x00000010
|
||||
#define NORMAL_PRIORITY_CLASS 0x00000020
|
||||
#define IDLE_PRIORITY_CLASS 0x00000040
|
||||
#define HIGH_PRIORITY_CLASS 0x00000080
|
||||
#define REALTIME_PRIORITY_CLASS 0x00000100
|
||||
#define CREATE_NEW_PROCESS_GROUP 0x00000200
|
||||
#define CREATE_UNICODE_ENVIRONMENT 0x00000400
|
||||
#define CREATE_SEPARATE_WOW_VDM 0x00000800
|
||||
#define CREATE_SHARED_WOW_VDM 0x00001000
|
||||
#define CREATE_FORCEDOS 0x00002000
|
||||
#define BELOW_NORMAL_PRIORITY_CLASS 0x00004000
|
||||
#define ABOVE_NORMAL_PRIORITY_CLASS 0x00008000
|
||||
#define CREATE_BREAKAWAY_FROM_JOB 0x01000000
|
||||
#define CREATE_PRESERVE_CODE_AUTHZ_LEVEL 0x02000000
|
||||
#define CREATE_DEFAULT_ERROR_MODE 0x04000000
|
||||
#define CREATE_NO_WINDOW 0x08000000
|
||||
#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
|
||||
|
|
Loading…
Reference in a new issue