From c9f6610f66f5df3ed76732a7474b81b22d52598e Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 24 Dec 2017 17:29:14 +0000 Subject: nt_process.h: struct nt_startup_info: added flag bits. --- include/ntapi/nt_process.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/include/ntapi/nt_process.h b/include/ntapi/nt_process.h index 4404b20..a2e549b 100644 --- a/include/ntapi/nt_process.h +++ b/include/ntapi/nt_process.h @@ -176,6 +176,23 @@ typedef enum _nt_process_opcode_idx { #define NT_CREATE_PROCESS_EXT_PARAM_GET_TEB_ADDRESS (0x00010004) +/* nt_startup_info flag bits */ +#define NT_PROCESS_STARTUP_INFO_USE_SHOW_WINDOW (0x00000001) +#define NT_PROCESS_STARTUP_INFO_USE_SIZE (0x00000002) +#define NT_PROCESS_STARTUP_INFO_USE_POSITION (0x00000004) +#define NT_PROCESS_STARTUP_INFO_USE_COUNT_CHARS (0x00000008) +#define NT_PROCESS_STARTUP_INFO_USE_FILL_ATTRIBUTE (0x00000010) +#define NT_PROCESS_STARTUP_INFO_RUN_FULL_SCREEN (0x00000020) +#define NT_PROCESS_STARTUP_INFO_FORCE_ON_FEEDBACK (0x00000040) +#define NT_PROCESS_STARTUP_INFO_FORCE_OFF_FEEDBACK (0x00000080) +#define NT_PROCESS_STARTUP_INFO_USE_STD_HANDLES (0x00000100) +#define NT_PROCESS_STARTUP_INFO_USE_HOT_KEY (0x00000200) +#define NT_PROCESS_STARTUP_INFO_TITLE_IS_LINK_NAME (0x00000800) +#define NT_PROCESS_STARTUP_INFO_TITLE_IS_APP_ID (0x00001000) +#define NT_PROCESS_STARTUP_INFO_PREVENT_PINNING (0x00002000) +#define NT_PROCESS_STARTUP_INFO_UNTRUSTED_SOURCE (0x00008000) + + /* zw_create_user_process: console flag bits */ #define NT_CREATE_PROCESS_EXT_CONSOLE_FLAG_DEFAULT (0x00) #define NT_CREATE_PROCESS_EXT_CONSOLE_FLAG_DO_NOT_USE_HANDLES (0x00) -- cgit v1.2.3