ReactOS  0.4.15-dev-985-gd905dd5
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, ...);
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))
tDebugPrintFunc VirtioDebugPrintProc
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
Definition: typeof.h:49
void(* tDebugPrintFunc)(const char *format,...)
Definition: kdebugprint.h:5
int virtioDebugLevel
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
int bDebugPrint