|
|
Microsoft Windows NT Build 511 (DDK SDK) 11-01-1993
/***************************************************************************\
* Module Name: debug.h
*
* Commonly used debugging macros.
*
* Copyright (c) 1992 Microsoft Corporation
\***************************************************************************/
extern
VOID
DebugPrint(
ULONG DebugPrintLevel,
PCHAR DebugMessage,
...
) ;
// if we are in a debug environment, macros should
#if DBG
#define DISPDBG(arg) DebugPrint arg
#define RIP(x) { DebugPrint(0, x); DebugBreak();}
#define ASSERTVGA(b, x) { if (!(b)) RIP(x); }
// if we are not in a debug environment, we want all of the debug
// information to be stripped out.
#else
#define DISPDBG(arg)
#define RIP(x)
#define ASSERTVGA(b, x)
#endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.