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
1.1 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. #undef Assert
  21. #define Assert(exp) DBG_ASSERT(exp)
  22. #undef FImplies
  23. #define FImplies(f1,f2) (!(f1)||(f2))
  24. void _ASSERT_IMPERSONATING(void);
  25. #define ASSERT_IMPERSONATING() _ASSERT_IMPERSONATING()
  26. //define DBGWARN DBGPRINTF
  27. //define DBGERROR DBGPRINTF
  28. //define DBGINFO DBGPRINTF