xtd 0.2.0
Loading...
Searching...
No Matches
process_creation_flags.h
Go to the documentation of this file.
1
5#pragma once
7#if !defined(__XTD_CORE_NATIVE_LIBRARY__)
8#error "Do not include this file: Internal use only"
9#endif
11
12#include <cstdint>
13
14#if !defined(DEBUG_PROCESS)
21constexpr int32_t DEBUG_PROCESS = 0x00000001;
28constexpr int32_t DEBUG_ONLY_THIS_PROCESS = 0x00000002;
35constexpr int32_t CREATE_SUSPENDED = 0x00000004;
42constexpr int32_t DETACHED_PROCESS = 0x00000008;
49constexpr int32_t CREATE_NEW_CONSOLE = 0x00000010;
56constexpr int32_t CREATE_NEW_PROCESS_GROUP = 0x00000200;
63constexpr int32_t CREATE_UNICODE_ENVIRONMENT = 0x00000400;
70constexpr int32_t CREATE_SEPARATE_WOW_VDM = 0x00000800;
77constexpr int32_t CREATE_SHARED_WOW_VDM = 0x00001000;
84constexpr int32_t INHERIT_PARENT_AFFINITY = 0x00010000;
91constexpr int32_t CREATE_PROTECTED_PROCESS = 0x00040000;
98constexpr int32_t EXTENDED_STARTUPINFO_PRESENT = 0x00080000;
105constexpr int32_t CREATE_SECURE_PROCESS = 0x00400000;
112constexpr int32_t CREATE_BREAKAWAY_FROM_JOB = 0x01000000;
119constexpr int32_t CREATE_PRESERVE_CODE_AUTHZ_LEVEL = 0x02000000;
126constexpr int32_t CREATE_DEFAULT_ERROR_MODE = 0x04000000;
133constexpr int32_t CREATE_NO_WINDOW = 0x08000000;
134#endif
constexpr int32_t INHERIT_PARENT_AFFINITY
The process inherits its parent's affinity. If the parent process has threads in more than one proces...
Definition process_creation_flags.h:84
constexpr int32_t CREATE_PRESERVE_CODE_AUTHZ_LEVEL
Allows the caller to execute a child process that bypasses the process restrictions that would normal...
Definition process_creation_flags.h:119
constexpr int32_t DEBUG_ONLY_THIS_PROCESS
The calling thread starts and debugs the new process. It can receive all related debug events using t...
Definition process_creation_flags.h:28
constexpr int32_t CREATE_SECURE_PROCESS
This flag allows secure processes, that run in the Virtualization-Based Security environment,...
Definition process_creation_flags.h:105
constexpr int32_t DEBUG_PROCESS
The calling thread starts and debugs the new process and all child processes created by the new proce...
Definition process_creation_flags.h:21
constexpr int32_t CREATE_NEW_CONSOLE
The new process has a new console, instead of inheriting its parent's console (the default)....
Definition process_creation_flags.h:49
constexpr int32_t CREATE_BREAKAWAY_FROM_JOB
The child processes of a process associated with a job are not associated with the job.
Definition process_creation_flags.h:112
constexpr int32_t CREATE_NEW_PROCESS_GROUP
The new process is the root process of a new process group. The process group includes all processes ...
Definition process_creation_flags.h:56
constexpr int32_t CREATE_SHARED_WOW_VDM
The flag is valid only when starting a 16-bit Windows-based application. If the.
Definition process_creation_flags.h:77
constexpr int32_t CREATE_DEFAULT_ERROR_MODE
The new process does not inherit the error mode of the calling process. Instead, the new process gets...
Definition process_creation_flags.h:126
constexpr int32_t EXTENDED_STARTUPINFO_PRESENT
The process is created with extended startup information; the lpStartupInfo parameter specifies a STA...
Definition process_creation_flags.h:98
constexpr int32_t CREATE_NO_WINDOW
The process is a console application that is being run without a console window. Therefore,...
Definition process_creation_flags.h:133
constexpr int32_t CREATE_PROTECTED_PROCESS
The process is to be run as a protected process. The system restricts access to protected processes a...
Definition process_creation_flags.h:91
constexpr int32_t DETACHED_PROCESS
For console processes, the new process does not inherit its parent's console (the default)....
Definition process_creation_flags.h:42
constexpr int32_t CREATE_UNICODE_ENVIRONMENT
If this flag is set, the environment block pointed to by lpEnvironment uses Unicode characters....
Definition process_creation_flags.h:63
constexpr int32_t CREATE_SEPARATE_WOW_VDM
This flag is valid only when starting a 16-bit Windows-based application. If set, the new process run...
Definition process_creation_flags.h:70
constexpr int32_t CREATE_SUSPENDED
The primary thread of the new process is created in a suspended state, and does not run until the Res...
Definition process_creation_flags.h:35