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.

42 lines
1.2 KiB

  1. /*===================================================================
  2. Microsoft Denali
  3. Microsoft Confidential.
  4. Copyright 1996 Microsoft Corporation. All Rights Reserved.
  5. Component: Debug tools
  6. File: debug.h
  7. This file contains the header info for helping with debugging.
  8. ===================================================================*/
  9. #include "dbgutil.h"
  10. #define DEBUG_FCN 0x00000800L // File Change Notification
  11. #define DEBUG_TEMPLATE 0x00001000L
  12. #define DEBUG_SCRIPT_DEBUGGER 0x00002000L
  13. #define DEBUG_SCRIPT_ENGINE 0x00004000L
  14. #define DEBUG_RESPONSE 0x00010000L
  15. #define DEBUG_REQUEST 0x00020000L
  16. #define DEBUG_SERVER 0x00040000L
  17. #define DEBUG_APPLICATION 0x00080000L
  18. #define DEBUG_SESSION 0x00100000L
  19. #define DEBUG_MTS 0X00200000L
  20. #define DEBUG_THREADGATE 0X00400000L
  21. #undef Assert
  22. #define Assert(exp) DBG_ASSERT(exp)
  23. #undef FImplies
  24. #define FImplies(f1,f2) (!(f1)||(f2))
  25. void _ASSERT_IMPERSONATING(void);
  26. #define ASSERT_IMPERSONATING() _ASSERT_IMPERSONATING()
  27. #if _IIS_6_0
  28. #define DBGWARN DBGPRINTF
  29. #define DBGERROR DBGPRINTF
  30. #define DBGINFO DBGPRINTF
  31. #endif