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.

46 lines
596 B

  1. //
  2. // Microsoft Corporation 1998
  3. //
  4. // DEBUG.H - Debugging flags and macros
  5. //
  6. #if DBG
  7. //
  8. // Debug Levels
  9. //
  10. #define DL_NONE 0x00000000
  11. #define DL_NORMAL 0x00000001
  12. #define DL_VERBOSE 0x00000002
  13. #define DL_LOGFILE 0x00010000
  14. //
  15. // Debug message types
  16. //
  17. #define DM_WARNING 0
  18. #define DM_ASSERT 1
  19. #define DM_VERBOSE 2
  20. //
  21. // Debug macros
  22. //
  23. #define DebugMsg(x) _DebugMsg x
  24. //
  25. // Debug function proto-types
  26. //
  27. void _DebugMsg(UINT mask, LPCTSTR pszMsg, ...);
  28. void InitDebugSupport(void);
  29. #else
  30. #define DebugMsg(x)
  31. #endif // DBG