summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ntapi/nt_process.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/ntapi/nt_process.h b/include/ntapi/nt_process.h
index facd639..1e2c630 100644
--- a/include/ntapi/nt_process.h
+++ b/include/ntapi/nt_process.h
@@ -185,6 +185,11 @@ typedef enum _nt_process_opcode_idx {
#define NT_CREATE_PROCESS_EXT_CONSOLE_FLAG_INHERIT_STDOUT (0x08)
#define NT_CREATE_PROCESS_EXT_CONSOLE_FLAG_INHERIT_STDERR (0x10)
+/* tt_spawn_native_process / tt_spawn_foreign_process flags */
+#define NT_PROCESS_CREATE_FLAGS_DELEGATE_TO_SYSTEM_LIBRARY (0x00000001)
+#define NT_PROCESS_CREATE_FLAGS_DELEGATE_TO_PTY_SERVER (0x00000002)
+#define NT_PROCESS_CREATE_FLAGS_DELEGATE_TO_BRIDGE_PROCESS (0x00000004)
+
/* nt_runtime_data_block flag bits */
#define NT_RUNTIME_DATA_DUPLICATE_SESSION_HANDLES (0x01)
@@ -659,7 +664,10 @@ typedef struct _nt_spawn_process_params {
__in char ** envp;
__in void * hready;
__in nt_timeout * timeout;
- __in int fsuspended;
+ __in uint32_t processflags;
+ __in uint32_t threadflags;
+ __in uint32_t spawnflags;
+ __in uint32_t reserved;
__in nt_process_startup_info * startupinfo;
} nt_spawn_process_params;