From 85132c5e579ab4555f9ce570920a69b46d43aa23 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 1 Sep 2019 20:35:58 +0000 Subject: debug state union: fix thread- and process-related struct definitions. --- include/ntapi/nt_debug.h | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/ntapi/nt_debug.h b/include/ntapi/nt_debug.h index 7e62af5..4cdd1a4 100644 --- a/include/ntapi/nt_debug.h +++ b/include/ntapi/nt_debug.h @@ -259,19 +259,38 @@ typedef struct _nt_dbg_km_exception { } nt_dbg_km_exception; +typedef struct _nt_dbg_km_thread_info { + uint32_t subsystem_key; + void * start_address; +} nt_dbg_km_thread_info; + + typedef struct _nt_dbg_ui_thread_info { + void * hthread; uint32_t subsystem_key; void * start_address; } nt_dbg_ui_thread_info; +typedef struct _nt_dbg_km_process_info { + uint32_t sussystem_key; + void * image_handle; + void * image_base; + uint32_t dbginfo_offset; + uint32_t dbginfo_size; + nt_dbg_km_thread_info thread_info; +} nt_dbg_km_process_info; + + typedef struct _nt_dbg_ui_process_info { + void * hprocess; + void * hthread; uint32_t sussystem_key; void * image_handle; void * image_base; uint32_t dbginfo_offset; uint32_t dbginfo_size; - nt_dbg_ui_thread_info thread_info; + nt_dbg_km_thread_info thread_info; } nt_dbg_ui_process_info; -- cgit v1.2.3