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.

56 lines
870 B

  1. /*++
  2. Copyright (c) 1998-2000 Microsoft Corporation
  3. Module Name:
  4. debug.h
  5. Abstract:
  6. Debug infrastructure for this component.
  7. (currently inactive)
  8. Author:
  9. Jim Cavalaris (jamesca) 07-Mar-2000
  10. Environment:
  11. User-mode only.
  12. Revision History:
  13. 07-March-2000 jamesca
  14. Creation and initial implementation.
  15. --*/
  16. //
  17. // debug infrastructure
  18. // (currently removed)
  19. //
  20. #if 0 //#if DBG // DBG
  21. VOID
  22. DebugMessage(LPTSTR format, ... );
  23. #define DBGF_ERRORS 0x00000001
  24. #define DBGF_WARNINGS 0x00000002
  25. #define DBGF_REGISTRY 0x00000010
  26. #define DBGF_INFO 0x00000020
  27. extern DWORD g_DebugFlag;
  28. #define DBGTRACE(l, x) (g_DebugFlag & (l) ? DebugMessage x : (VOID)0)
  29. #define MYASSERT(x) ASSERT(x)
  30. #else // !DBG
  31. #define DBGTRACE(l, x)
  32. #define MYASSERT(x)
  33. #endif // DBG