From e20eeb3eb159688c1417b4bb6f0371dbed7ec8e6 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 27 May 2019 21:58:54 +0000 Subject: debug helpers: added __ntapi_tt_create_{attach_}debug_object(). --- include/ntapi/nt_debug.h | 10 ++++++++++ include/ntapi/ntapi.h | 4 ++++ 2 files changed, 14 insertions(+) (limited to 'include') diff --git a/include/ntapi/nt_debug.h b/include/ntapi/nt_debug.h index 383427c..5e40cba 100644 --- a/include/ntapi/nt_debug.h +++ b/include/ntapi/nt_debug.h @@ -311,4 +311,14 @@ typedef int32_t __stdcall ntapi_zw_set_debug_filter_state( __in uint32_t dbg_level, __in int32_t dbg_state); +/* extension interfaces */ +typedef int32_t __stdcall ntapi_tt_create_debug_object( + __out void ** hdbobj, + __in uint32_t flags); + +typedef int32_t __stdcall ntapi_tt_create_attach_debug_object( + __out void ** hdbgobj, + __in void * hprocess, + __in uint32_t flags); + #endif diff --git a/include/ntapi/ntapi.h b/include/ntapi/ntapi.h index ae47447..dc2c22e 100644 --- a/include/ntapi/ntapi.h +++ b/include/ntapi/ntapi.h @@ -665,6 +665,10 @@ typedef struct _ntapi_vtbl { ntapi_log_write * log_write; ntapi_log_fn_call * log_fn_call; ntapi_log_msg * log_msg; + + /* nt_debug.h */ + ntapi_tt_create_debug_object * tt_create_debug_object; + ntapi_tt_create_attach_debug_object * tt_create_attach_debug_object; } ntapi_vtbl; -- cgit v1.2.3