Signed-off-by: Serge Gautherie winehq-git_serge_180711@gautherie.fr --- Exists since at least P.SDK 2003 R2. --- include/winbase.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/include/winbase.h b/include/winbase.h index 11a92fa..233afb4 100644 --- a/include/winbase.h +++ b/include/winbase.h @@ -647,8 +647,7 @@ typedef struct _PROCESS_INFORMATION{ DWORD dwThreadId; } PROCESS_INFORMATION, *PPROCESS_INFORMATION, *LPPROCESS_INFORMATION;
-/* CreateProcess: dwCreationFlag values - */ +/* CreateProcess() dwCreationFlags values */ #define DEBUG_PROCESS 0x00000001 #define DEBUG_ONLY_THIS_PROCESS 0x00000002 #define CREATE_SUSPENDED 0x00000004 @@ -666,12 +665,13 @@ typedef struct _PROCESS_INFORMATION{ #define BELOW_NORMAL_PRIORITY_CLASS 0x00004000 #define ABOVE_NORMAL_PRIORITY_CLASS 0x00008000 #define INHERIT_PARENT_AFFINITY 0x00010000 -#define INHERIT_CALLER_PRIORITY 0x00020000 +#define INHERIT_CALLER_PRIORITY 0x00020000 /* Deprecated. (As of WDK 7.1 already...) */ #define CREATE_PROTECTED_PROCESS 0x00040000 #define EXTENDED_STARTUPINFO_PRESENT 0x00080000 -#define PROCESS_MODE_BACKGROUND_BEGIN 0x00100000 -#define PROCESS_MODE_BACKGROUND_END 0x00200000 -#define CREATE_SECURE_PROCESS 0x00400000 +#define PROCESS_MODE_BACKGROUND_BEGIN 0x00100000 /* See SetPriorityClass() dwPriorityClass */ +#define PROCESS_MODE_BACKGROUND_END 0x00200000 /* See SetPriorityClass() dwPriorityClass */ +#define CREATE_SECURE_PROCESS 0x00400000 /* Documented, though not in MS file */ +/* #define Unknown/Inexistent 0x00800000 */ #define CREATE_BREAKAWAY_FROM_JOB 0x01000000 #define CREATE_PRESERVE_CODE_AUTHZ_LEVEL 0x02000000 #define CREATE_DEFAULT_ERROR_MODE 0x04000000 @@ -679,7 +679,10 @@ typedef struct _PROCESS_INFORMATION{ #define PROFILE_USER 0x10000000 #define PROFILE_KERNEL 0x20000000 #define PROFILE_SERVER 0x40000000 +#define CREATE_IGNORE_SYSTEM_DEFAULT 0x80000000
+/* CreateThread() dwCreationFlags values */ +/* #define CREATE_SUSPENDED 0x00000004 // Already defined, for CreateProcess() */ #define STACK_SIZE_PARAM_IS_A_RESERVATION 0x00010000
/* File object type definitions
Hi,
Just add a single line for CREATE_IGNORE_SYSTEM_DEFAULT, other changes do not look useful.