diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/process/ntapi_tt_init_runtime_data.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/process/ntapi_tt_init_runtime_data.c b/src/process/ntapi_tt_init_runtime_data.c index 211f6f3..aa11b63 100644 --- a/src/process/ntapi_tt_init_runtime_data.c +++ b/src/process/ntapi_tt_init_runtime_data.c @@ -22,7 +22,7 @@ int32_t __stdcall __ntapi_tt_update_runtime_data(nt_runtime_data * rtdata) rtdata->cid_self.thread_id = 0; if ((status = __ntapi->zw_open_process( - &rtdata->hprocess_self, + &rtdata->hself, NT_PROCESS_ALL_ACCESS, &oa,&rtdata->cid_self))) return status; @@ -32,14 +32,14 @@ int32_t __stdcall __ntapi_tt_update_runtime_data(nt_runtime_data * rtdata) /* process (parent) */ if ((status = __ntapi->zw_query_information_process( - rtdata->hprocess_self, + rtdata->hself, NT_PROCESS_BASIC_INFORMATION, &pbi,sizeof(pbi),&ret))) return status; rtdata->cid_parent.process_id = pbi.inherited_from_unique_process_id; rtdata->cid_parent.thread_id = 0; - rtdata->hprocess_parent = 0; + rtdata->hparent = 0; return NT_STATUS_SUCCESS; } |