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.

51 lines
792 B

  1. //*************************************************************
  2. //
  3. // Debugging functions header file
  4. //
  5. // Microsoft Confidential
  6. // Copyright (c) Microsoft Corporation 1995
  7. // All rights reserved
  8. //
  9. //*************************************************************
  10. #if DBG
  11. //
  12. // Debug Levels
  13. //
  14. #define DL_NONE 0x00000000
  15. #define DL_NORMAL 0x00000001
  16. #define DL_VERBOSE 0x00000002
  17. #define DL_LOGFILE 0x00010000
  18. //
  19. // Debug message types
  20. //
  21. #define DM_WARNING 0
  22. #define DM_ASSERT 1
  23. #define DM_VERBOSE 2
  24. //
  25. // Debug macros
  26. //
  27. #define DebugMsg(x) _DebugMsg x
  28. //
  29. // Debug function proto-types
  30. //
  31. void _DebugMsg(UINT mask, LPCTSTR pszMsg, ...);
  32. void InitDebugSupport(void);
  33. #else
  34. #define DebugMsg(x)
  35. #endif // DBG