Leaked source code of windows server 2003
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.

64 lines
914 B

  1. /*++
  2. Copyright (c) 1993 Microsoft Corporation
  3. Copyright (c) 1993 Logitech Inc.
  4. Module Name:
  5. debug.h
  6. Abstract:
  7. Debugging support.
  8. Environment:
  9. Kernel mode only.
  10. Notes:
  11. Revision History:
  12. --*/
  13. #ifndef DEBUG_H
  14. #define DEBUG_H
  15. #if DBG
  16. #define DBG_SERIAL 0x0001
  17. #define DBG_COLOR 0x0002
  18. VOID
  19. _SerMouSetDebugOutput(
  20. IN ULONG Destination
  21. );
  22. #define SerMouSetDebugOutput(x) _SerMouSetDebugOutput(x)
  23. int
  24. _SerMouGetDebugOutput(
  25. VOID
  26. );
  27. #define SerMouGetDebugOutput(x) _SerMouGetDebugOutput()
  28. VOID
  29. SerMouDebugPrint(
  30. ULONG DebugPrintLevel,
  31. PCSZ DebugMessage,
  32. ...
  33. );
  34. extern ULONG SerialMouseDebug;
  35. #define SerMouPrint(x) SerMouDebugPrint x
  36. #define D(x) x
  37. #else
  38. #define SerMouSetDebugOutput(x)
  39. #define SerMouGetDebugOutput(x)
  40. #define SerMouPrint(x)
  41. #define D(x)
  42. #endif
  43. #endif // DEBUG_H