summaryrefslogtreecommitdiffhomepage
path: root/include/ntapi/nt_debug.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-07-27 04:01:18 -0400
committermidipix <writeonce@midipix.org>2015-07-27 04:01:18 -0400
commitdd89bb8ad4fe184a34b5dbdda237e640fc82121b (patch)
tree5e80d2da35f5892f92be29f57982b2708e6bd99b /include/ntapi/nt_debug.h
parentdcdadc2702712fa750ed255ed1dfa354522797a0 (diff)
downloadntapi-dd89bb8ad4fe184a34b5dbdda237e640fc82121b.tar.bz2
ntapi-dd89bb8ad4fe184a34b5dbdda237e640fc82121b.tar.xz
entered advanced internal development stage.
Diffstat (limited to 'include/ntapi/nt_debug.h')
-rw-r--r--include/ntapi/nt_debug.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/include/ntapi/nt_debug.h b/include/ntapi/nt_debug.h
new file mode 100644
index 0000000..bd07dcc
--- /dev/null
+++ b/include/ntapi/nt_debug.h
@@ -0,0 +1,37 @@
+#ifndef _NT_DEBUG_H_
+#define _NT_DEBUG_H_
+
+#include <psxtypes/psxtypes.h>
+#include "nt_file.h"
+
+typedef ssize_t __cdecl ntapi_dbg_write(
+ __in void * hfile,
+ __in const void * buf,
+ __in size_t bytes);
+
+
+typedef int32_t __cdecl ntapi_dbg_fn_call(
+ __in void * hfile __optional,
+ __in char * fn_caller_name,
+ __in void * fn_callee_addr,
+ __in uintptr_t fn_ret,
+ __in ntapi_dbg_write* pfn_dbg_write __optional,
+ __in char * source __optional,
+ __in int line __optional);
+
+
+typedef int32_t __cdecl ntapi_dbg_msg(
+ __in void * hfile __optional,
+ __in char * source __optional,
+ __in int line __optional,
+ __in char * fn_caller_name,
+ __in char * fmt,
+ __in uintptr_t arg1,
+ __in uintptr_t arg2,
+ __in uintptr_t arg3,
+ __in uintptr_t arg4,
+ __in uintptr_t arg5,
+ __in uintptr_t arg6,
+ __in ntapi_dbg_write* pfn_dbg_write __optional);
+
+#endif