You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
598 B
30 lines
598 B
/***************************************************************************\
|
|
* Module Name: debug.h
|
|
*
|
|
* Commonly used debugging macros.
|
|
*
|
|
* Copyright (c) 1992-1995 Microsoft Corporation
|
|
\***************************************************************************/
|
|
|
|
|
|
#if DBG
|
|
|
|
VOID
|
|
DebugPrint(
|
|
ULONG DebugPrintLevel,
|
|
PCHAR DebugMessage,
|
|
...
|
|
);
|
|
|
|
#define DISPDBG(arg) DebugPrint arg
|
|
#define RIP(x) { DebugPrint(0, x); EngDebugBreak();}
|
|
#define ASSERTVGA(x, y) if (!(x)) RIP (y)
|
|
|
|
#else
|
|
|
|
#define DISPDBG(arg)
|
|
#define RIP(x)
|
|
#define ASSERTVGA(x, y)
|
|
|
|
#endif
|
|
|