ReactOS  0.4.15-dev-985-gd905dd5
kdebugprint.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DPrintf(Level, MSG, ...)   if ((!bDebugPrint) || Level > virtioDebugLevel) {} else VirtioDebugPrintProc(MSG, __VA_ARGS__)
 
#define DEBUG_ENTRY(level)   DPrintf(level, "[%s]=>\n", __FUNCTION__)
 
#define DEBUG_EXIT_STATUS(level, status)   DPrintf((status == NDIS_STATUS_SUCCESS ? level : 0), "[%s]<=0x%X\n", __FUNCTION__, (status))
 

Typedefs

typedef void(* tDebugPrintFunc) (const char *format,...)
 

Variables

int virtioDebugLevel
 
int bDebugPrint
 
tDebugPrintFunc VirtioDebugPrintProc
 

Macro Definition Documentation

◆ DEBUG_ENTRY

#define DEBUG_ENTRY (   level)    DPrintf(level, "[%s]=>\n", __FUNCTION__)

Definition at line 10 of file kdebugprint.h.

◆ DEBUG_EXIT_STATUS

#define DEBUG_EXIT_STATUS (   level,
  status 
)    DPrintf((status == NDIS_STATUS_SUCCESS ? level : 0), "[%s]<=0x%X\n", __FUNCTION__, (status))

Definition at line 11 of file kdebugprint.h.

◆ DPrintf

#define DPrintf (   Level,
  MSG,
  ... 
)    if ((!bDebugPrint) || Level > virtioDebugLevel) {} else VirtioDebugPrintProc(MSG, __VA_ARGS__)

Definition at line 8 of file kdebugprint.h.

Typedef Documentation

◆ tDebugPrintFunc

typedef void(* tDebugPrintFunc) (const char *format,...)

Definition at line 5 of file kdebugprint.h.

Variable Documentation

◆ bDebugPrint

int bDebugPrint

Definition at line 41 of file ParaNdis-Debug.c.

Referenced by WppEnableCallback().

◆ virtioDebugLevel

int virtioDebugLevel

Definition at line 39 of file ParaNdis-Debug.c.

◆ VirtioDebugPrintProc

tDebugPrintFunc VirtioDebugPrintProc

Definition at line 146 of file ParaNdis-Debug.c.