summaryrefslogtreecommitdiffhomepage
path: root/src/process
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-01-18 01:47:03 +0000
committermidipix <writeonce@midipix.org>2017-01-17 21:58:32 -0500
commitdea1aa7dfbb473a5625491efb65ef088b68d7092 (patch)
tree64c901745b88d224feaa57d4fedde20b873f333d /src/process
parentd16b427bc946660da1b5a4421aacb585dd0a07ad (diff)
downloadntapi-dea1aa7dfbb473a5625491efb65ef088b68d7092.tar.bz2
ntapi-dea1aa7dfbb473a5625491efb65ef088b68d7092.tar.xz
struct nt_runtime_data: update for the benefit of the framework loader impl.
Diffstat (limited to 'src/process')
-rw-r--r--src/process/ntapi_tt_init_runtime_data.c6
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;
}