ReactOS
0.4.16-dev-1138-g6efbed5
kdebugprint.h
Go to the documentation of this file.
1
#pragma once
2
3
extern
int
virtioDebugLevel
;
4
extern
int
bDebugPrint
;
5
typedef
void
(*
tDebugPrintFunc
)(
const
char
*
format
, ...);
6
extern
tDebugPrintFunc
VirtioDebugPrintProc
;
7
8
#define DPrintf(Level, MSG, ...) if ((!bDebugPrint) || Level > virtioDebugLevel) {} else VirtioDebugPrintProc(MSG, __VA_ARGS__)
9
10
#define DEBUG_ENTRY(level) DPrintf(level, "[%s]=>\n"
, __FUNCTION__)
11
#define DEBUG_EXIT_STATUS(level, status) DPrintf((status == NDIS_STATUS_SUCCESS ? level : 0), "[%s]<=0x%X\n"
, __FUNCTION__, (status))
bDebugPrint
int bDebugPrint
Definition:
ParaNdis-Debug.c:41
void
Definition:
nsiface.idl:2307
tDebugPrintFunc
void(* tDebugPrintFunc)(const char *format,...)
Definition:
kdebugprint.h:5
VirtioDebugPrintProc
tDebugPrintFunc VirtioDebugPrintProc
Definition:
ParaNdis-Debug.c:146
virtioDebugLevel
int virtioDebugLevel
Definition:
ParaNdis-Debug.c:39
format
Definition:
format.c:58
sdk
lib
drivers
virtio
kdebugprint.h
Generated on Thu May 15 2025 06:14:10 for ReactOS by
1.9.6