diff options
author | midipix <writeonce@midipix.org> | 2017-12-24 22:27:05 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-12-25 08:25:01 -0500 |
commit | fa26cc4b13c71cf1f224320216d0d2a748af4d96 (patch) | |
tree | f5658df28ab22a5139cbe109fcd6ad46bc65ced5 | |
parent | 109012cca5306084db59d0451f684477001c7b8d (diff) | |
download | ntapi-fa26cc4b13c71cf1f224320216d0d2a748af4d96.tar.bz2 ntapi-fa26cc4b13c71cf1f224320216d0d2a748af4d96.tar.xz |
nt_process.h: refactor: NT_PROCESS_CREATE_FLAGS_ --> NT_PROCESS_SPAWN_FLAG_.
-rw-r--r-- | include/ntapi/nt_process.h | 6 | ||||
-rw-r--r-- | src/process/ntapi_tt_spawn_foreign_process.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/ntapi/nt_process.h b/include/ntapi/nt_process.h index 699bcb5..208657b 100644 --- a/include/ntapi/nt_process.h +++ b/include/ntapi/nt_process.h @@ -222,9 +222,9 @@ typedef enum _nt_process_opcode_idx { #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) +#define NT_PROCESS_SPAWN_FLAG_DELEGATE_TO_SYSTEM_LIBRARY (0x00000001) +#define NT_PROCESS_SPAWN_FLAG_DELEGATE_TO_PTY_SERVER (0x00000002) +#define NT_PROCESS_SPAWN_FLAG_DELEGATE_TO_BRIDGE_PROCESS (0x00000004) /* nt_runtime_data_block flag bits */ #define NT_RUNTIME_DATA_DUPLICATE_SESSION_HANDLES (0x01) diff --git a/src/process/ntapi_tt_spawn_foreign_process.c b/src/process/ntapi_tt_spawn_foreign_process.c index 105b59b..34b8763 100644 --- a/src/process/ntapi_tt_spawn_foreign_process.c +++ b/src/process/ntapi_tt_spawn_foreign_process.c @@ -327,7 +327,7 @@ int32_t __stdcall __ntapi_tt_spawn_foreign_process(nt_spawn_process_params * spa fsuspended = 0; /* hoppla: try either via kernel32 (sparams->startupinfo), or natively */ - if (sparams->spawnflags & NT_PROCESS_CREATE_FLAGS_DELEGATE_TO_SYSTEM_LIBRARY) { + if (sparams->spawnflags & NT_PROCESS_SPAWN_FLAG_DELEGATE_TO_SYSTEM_LIBRARY) { processinfo.hprocess = 0; processinfo.hthread = 0; processinfo.process_id = 0; |