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.

40 lines
967 B

  1. //==========================================================================;
  2. //
  3. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  4. // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  5. // IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  6. // PURPOSE.
  7. //
  8. // Copyright (c) 1992 - 1996 Microsoft Corporation. All Rights Reserved.
  9. //
  10. // WDMDEBUG.H
  11. //==========================================================================;
  12. #ifndef __WDMDEBUG_H
  13. #define __WDMDEBUG_H
  14. #define DebugAssert(exp)
  15. #ifdef DEBUG
  16. #define DebugInfo(x) KdPrint(x)
  17. #define DBG1(String) DebugPrint((DebugLevelVerbose, String))
  18. #define TRAP DbgBreakPoint() //DEBUG_BREAKPOINT();
  19. #else
  20. #define DebugInfo(x)
  21. #define DBG1(String)
  22. #define TRAP
  23. #endif
  24. #if DBG
  25. #define _DebugPrint(x) ::StreamClassDebugPrint x
  26. #else
  27. #define _DebugPrint(x)
  28. #endif // #if DBG
  29. #endif // #ifndef __WDMDEBUG_H