Annotation of ntddk/src/video/displays/xga/debug.h, revision 1.1

1.1     ! root        1: /***************************************************************************\
        !             2: * Module Name: debug.h
        !             3: *
        !             4: * Commonly used debugging macros.
        !             5: *
        !             6: * Copyright (c) 1992 Microsoft Corporation
        !             7: \***************************************************************************/
        !             8: 
        !             9: extern
        !            10: VOID
        !            11: DebugPrint(
        !            12:     ULONG DebugPrintLevel,
        !            13:     PCHAR DebugMessage,
        !            14:     ...
        !            15:     ) ;
        !            16: 
        !            17: // if we are in a debug environment, macros should
        !            18: 
        !            19: #if DBG
        !            20: #define DISPDBG(arg) DebugPrint arg
        !            21: #define RIP(x) { DebugPrint(0, x); DebugBreak();}
        !            22: 
        !            23: // if we are not in a debug environment, we want all of the debug
        !            24: // information to be stripped out.
        !            25: 
        !            26: #else
        !            27: #define DISPDBG(arg)
        !            28: #define RIP(x)
        !            29: 
        !            30: 
        !            31: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.