summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-12-24 17:29:14 +0000
committermidipix <writeonce@midipix.org>2017-12-25 08:25:00 -0500
commitc9f6610f66f5df3ed76732a7474b81b22d52598e (patch)
treec79417c2b15c6182ef85dba6abb4b122949f7870 /include
parent20527e404356aff1fd4fb6501c6859a5cbbb4348 (diff)
downloadntapi-c9f6610f66f5df3ed76732a7474b81b22d52598e.tar.bz2
ntapi-c9f6610f66f5df3ed76732a7474b81b22d52598e.tar.xz
nt_process.h: struct nt_startup_info: added flag bits.
Diffstat (limited to 'include')
-rw-r--r--include/ntapi/nt_process.h17
1 files changed, 17 insertions, 0 deletions
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)