summaryrefslogtreecommitdiffhomepage
path: root/include/ntapi/nt_debug.h
blob: a517a7832fb77d05ce290958fbfa42d5dad8b447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef _NT_DEBUG_H_
#define _NT_DEBUG_H_

#include "nt_abi.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	const char *		fn_caller_name,
	__in	void *			fn_callee_addr,
	__in	uintptr_t		fn_ret,
	__in	ntapi_dbg_write*	pfn_dbg_write	__optional,
	__in	const char *		source		__optional,
	__in	int			line		__optional);


typedef int32_t __cdecl ntapi_dbg_msg(
	__in	void *			hfile		__optional,
	__in	const char *		source		__optional,
	__in	int			line		__optional,
	__in	const char *		fn_caller_name,
	__in	const 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