summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-05-27 21:58:54 +0000
committermidipix <writeonce@midipix.org>2019-05-28 00:00:09 +0000
commite20eeb3eb159688c1417b4bb6f0371dbed7ec8e6 (patch)
tree8e78826807cb412ec8e5400a1c179b3a67cac494 /include
parentc95ea049e306f41476ba040f8d89e953d60bac30 (diff)
downloadntapi-e20eeb3eb159688c1417b4bb6f0371dbed7ec8e6.tar.bz2
ntapi-e20eeb3eb159688c1417b4bb6f0371dbed7ec8e6.tar.xz
debug helpers: added __ntapi_tt_create_{attach_}debug_object().
Diffstat (limited to 'include')
-rw-r--r--include/ntapi/nt_debug.h10
-rw-r--r--include/ntapi/ntapi.h4
2 files changed, 14 insertions, 0 deletions
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;