|
|
1.1 ! root 1: /*++ ! 2: ! 3: Copyright (c) 1993 Microsoft Corporation ! 4: Copyright (c) 1993 Logitech Inc. ! 5: ! 6: Module Name: ! 7: ! 8: debug.h ! 9: ! 10: Abstract: ! 11: ! 12: Debugging support. ! 13: ! 14: Environment: ! 15: ! 16: Kernel mode only. ! 17: ! 18: Notes: ! 19: ! 20: Revision History: ! 21: ! 22: --*/ ! 23: ! 24: #ifndef DEBUG_H ! 25: #define DEBUG_H ! 26: ! 27: #if DBG ! 28: ! 29: #define DBG_SERIAL 0x0001 ! 30: #define DBG_COLOR 0x0002 ! 31: ! 32: VOID ! 33: _SerMouSetDebugOutput( ! 34: IN ULONG Destination ! 35: ); ! 36: ! 37: #define SerMouSetDebugOutput(x) _SerMouSetDebugOutput(x) ! 38: ! 39: int ! 40: _SerMouGetDebugOutput( ! 41: VOID ! 42: ); ! 43: ! 44: #define SerMouGetDebugOutput(x) _SerMouGetDebugOutput() ! 45: ! 46: VOID ! 47: SerMouDebugPrint( ! 48: ULONG DebugPrintLevel, ! 49: PCSZ DebugMessage, ! 50: ... ! 51: ); ! 52: ! 53: extern ULONG SerialMouseDebug; ! 54: #define SerMouPrint(x) SerMouDebugPrint x ! 55: #define D(x) x ! 56: #else ! 57: #define SerMouSetDebugOutput(x) ! 58: #define SerMouGetDebugOutput(x) ! 59: #define SerMouPrint(x) ! 60: #define D(x) ! 61: #endif ! 62: ! 63: ! 64: #endif // DEBUG_H
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.