diff options
author | midipix <writeonce@midipix.org> | 2019-05-25 12:20:51 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-05-25 22:21:45 -0400 |
commit | a7ffe354b225db0b2712af41ea82743fb07758ca (patch) | |
tree | a9454d52383574ef94763b0f1303fe0319d6e6e8 /include/ntapi/nt_log.h | |
parent | 1c3ec496b1b788c1b83d5a187e82b45c0bd204f2 (diff) | |
download | ntapi-a7ffe354b2.tar.bz2 ntapi-a7ffe354b2.tar.xz |
internals: renamed nt_debug.h --> nt_log.h, renamed interfaces accordingly.
Diffstat (limited to 'include/ntapi/nt_log.h')
-rw-r--r-- | include/ntapi/nt_log.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/include/ntapi/nt_log.h b/include/ntapi/nt_log.h new file mode 100644 index 0000000..7a64564 --- /dev/null +++ b/include/ntapi/nt_log.h @@ -0,0 +1,37 @@ +#ifndef _NT_LOG_H_ +#define _NT_LOG_H_ + +#include "nt_abi.h" +#include "nt_file.h" + +typedef ssize_t __cdecl ntapi_log_write( + __in void * hfile, + __in const void * buf, + __in size_t bytes); + + +typedef int32_t __cdecl ntapi_log_fn_call( + __in void * hfile __optional, + __in const char * fn_caller_name, + __in void * fn_callee_addr, + __in uintptr_t fn_ret, + __in ntapi_log_write* pfn_log_write __optional, + __in const char * source __optional, + __in int line __optional); + + +typedef int32_t __cdecl ntapi_log_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_log_write* pfn_log_write __optional); + +#endif |