summaryrefslogtreecommitdiffhomepage
path: root/src/process/ntapi_tt_get_runtime_data.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process/ntapi_tt_get_runtime_data.c')
-rw-r--r--src/process/ntapi_tt_get_runtime_data.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/process/ntapi_tt_get_runtime_data.c b/src/process/ntapi_tt_get_runtime_data.c
index bda6f7e..71662b4 100644
--- a/src/process/ntapi_tt_get_runtime_data.c
+++ b/src/process/ntapi_tt_get_runtime_data.c
@@ -74,8 +74,13 @@ int32_t __stdcall __ntapi_tt_get_runtime_data(
0)))
return status;
- /* update state */
+ /* abi */
prtdata = (nt_runtime_data *)address;
+
+ if (__ntapi->tt_guid_compare(&prtdata->abi,&(nt_guid)NT_PROCESS_GUID_RTDATA))
+ return NT_STATUS_MORE_PROCESSING_REQUIRED;
+
+ /* update state */
prtdata->flags |= NT_RUNTIME_DATA_INTEGRAL_PROCESS;
/* avoid confusion :-) */