ReactOS 0.4.15-dev-8002-gbbb3b00
kdebugprint.h
Go to the documentation of this file.
1#pragma once
2
3extern int virtioDebugLevel;
4extern int bDebugPrint;
5typedef 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))
int bDebugPrint
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
void(* tDebugPrintFunc)(const char *format,...)
Definition: kdebugprint.h:5
tDebugPrintFunc VirtioDebugPrintProc
int virtioDebugLevel