diff options
author | midipix <writeonce@midipix.org> | 2017-10-29 18:11:14 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-10-29 21:36:08 -0400 |
commit | ec0b962a70d7ffe8606d2fa553c328aa43186a1d (patch) | |
tree | e8830213656130949c747eabfff64dd5c78f400b /include | |
parent | a65132681381cb31181b6e2f3aab356ab51b11a6 (diff) | |
download | ntapi-ec0b962a70d7ffe8606d2fa553c328aa43186a1d.tar.bz2 ntapi-ec0b962a70d7ffe8606d2fa553c328aa43186a1d.tar.xz |
__ntapi_tt_spawn_foreign_process(): optionally use kernel32 as the backend.
Diffstat (limited to 'include')
-rw-r--r-- | include/ntapi/nt_process.h | 10 |
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; |