Source code of Windows XP (NT5)
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
737 B

  1. #ifndef _GMDEBUG_H_
  2. #define _GMDEBUG_H_
  3. /*++
  4. Copyright (c) 2000 Microsoft Corporation
  5. Module Name:
  6. gmdebug.h
  7. Abstract:
  8. A few functions and macros for simple standalone debugging support
  9. Author:
  10. georgema 000310 created
  11. Environment:
  12. Win98, Win2000
  13. Revision History:
  14. --*/
  15. #include <tchar.h>
  16. #ifdef GMDEBUG
  17. void ShowBugString(const TCHAR *pC);
  18. void ShowBugDecimal(INT i);
  19. void ShowBugHex(DWORD dwIn);
  20. void OutBug(TCHAR *pc,DWORD dwin);
  21. #endif
  22. #ifdef GMDEBUG
  23. #define BUGSTRING(x) ShowBugString(x)
  24. #define BUGDECIMAL(x) ShowBugDecimal(x)
  25. #define BUGHEX(x) ShowBugHex(x)
  26. #define BUGOUT(c,x) OutBug(c,x)
  27. #else
  28. #define BUGSTRING(x)
  29. #define BUGDECIMAL(x)
  30. #define BUGHEX(x)
  31. #define BUGOUT(c,x)
  32. #endif
  33. #endif