summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/ntapi/nt_process.h2
-rw-r--r--src/process/ntapi_tt_spawn_foreign_process.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/ntapi/nt_process.h b/include/ntapi/nt_process.h
index 34a97be..7e2da6f 100644
--- a/include/ntapi/nt_process.h
+++ b/include/ntapi/nt_process.h
@@ -708,7 +708,7 @@ typedef struct _nt_spawn_process_params {
__in uint32_t processflags;
__in uint32_t threadflags;
__in uint32_t spawnflags;
- __in uint32_t reserved;
+ __in uint32_t interopflags;
__in nt_process_startup_info * startupinfo;
} nt_spawn_process_params;
diff --git a/src/process/ntapi_tt_spawn_foreign_process.c b/src/process/ntapi_tt_spawn_foreign_process.c
index 34b8763..b5c4e38 100644
--- a/src/process/ntapi_tt_spawn_foreign_process.c
+++ b/src/process/ntapi_tt_spawn_foreign_process.c
@@ -339,7 +339,7 @@ int32_t __stdcall __ntapi_tt_spawn_foreign_process(nt_spawn_process_params * spa
0,
0,
finherit,
- fsuspended,
+ sparams->interopflags | fsuspended,
0,
0,
sparams->startupinfo,