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;