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.

56 lines
948 B

  1. /*++
  2. Copyright (c) 1996 - 1999 Microsoft Corporation
  3. Module Name:
  4. rmdebug.h
  5. Abstract:
  6. Raster module Debugging header file.
  7. Environment:
  8. Windows NT Unidrv driver
  9. Revision History:
  10. 02/14/97 -alvins-
  11. Created
  12. dd-mm-yy -author-
  13. description
  14. --*/
  15. #ifndef _RMDEBUG_H
  16. #define _RMDEBUG_H
  17. #if DBG
  18. /* Debugging Macroes */
  19. #define IFTRACE(b, xxx) {if((b)) {VERBOSE((xxx));}}
  20. #define PRINTVAL( Val, format) {\
  21. if (giDebugLevel <= DBG_VERBOSE) \
  22. DbgPrint("Value of "#Val " is "#format "\n",Val );\
  23. }
  24. #define TRACE( Val ) {\
  25. if (giDebugLevel <= DBG_VERBOSE) \
  26. DbgPrint(#Val"\n");\
  27. }
  28. #else //!DBG Retail Build
  29. /* Debugging Macroes */
  30. #define IFTRACE(b, xxx)
  31. #define PRINTVAL( Val, format)
  32. #define TRACE( Val )
  33. #endif //DBG
  34. #endif // !_RMDEBUG_H