From 2a7f67d71f9d34c49de6a81e7deab10882bf930f Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 28 May 2019 17:46:28 +0000 Subject: debug helpers: __ntapi_tt_debug_break_process(): initial implementation. --- include/ntapi/nt_debug.h | 5 +++++ include/ntapi/ntapi.h | 1 + 2 files changed, 6 insertions(+) (limited to 'include') diff --git a/include/ntapi/nt_debug.h b/include/ntapi/nt_debug.h index f555416..f5a1d40 100644 --- a/include/ntapi/nt_debug.h +++ b/include/ntapi/nt_debug.h @@ -350,4 +350,9 @@ typedef int32_t __stdcall ntapi_tt_debug_execution_flow( __in uint32_t evtmask, __in uint64_t * nevents); +typedef int32_t __stdcall ntapi_tt_debug_break_process( + __in void * hprocess, + __out void ** hthread, + __out nt_cid * cid); + #endif diff --git a/include/ntapi/ntapi.h b/include/ntapi/ntapi.h index 493edb2..96b0974 100644 --- a/include/ntapi/ntapi.h +++ b/include/ntapi/ntapi.h @@ -670,6 +670,7 @@ typedef struct _ntapi_vtbl { ntapi_tt_create_debug_object * tt_create_debug_object; ntapi_tt_create_attach_debug_object * tt_create_attach_debug_object; ntapi_tt_debug_execution_flow * tt_debug_execution_flow; + ntapi_tt_debug_break_process * tt_debug_break_process; } ntapi_vtbl; -- cgit v1.2.3