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.

62 lines
1.3 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1993.
  5. //
  6. // File: debug.h
  7. //
  8. // Contents:
  9. //
  10. // Classes:
  11. //
  12. // Functions:
  13. //
  14. // History: 8-02-94 RichardW Created
  15. //
  16. //----------------------------------------------------------------------------
  17. #ifndef __DEBUG_H__
  18. #define __DEBUG_H__
  19. #if DBG
  20. extern DWORD WinlogonInfoLevel;
  21. extern DWORD GinaBreakFlags;
  22. #define DebugLog(x) LogEvent x
  23. void LogEvent(long, const char *, ...);
  24. void InitDebugSupport(void);
  25. #define DEB_ERROR 0x00000001
  26. #define DEB_WARN 0x00000002
  27. #define DEB_TRACE 0x00000004
  28. #define DEB_TRACE_INIT 0x00000008
  29. #define DEB_TRACE_TIMEOUT 0x00000010
  30. #define DEB_TRACE_SAS 0x00000020
  31. #define DEB_TRACE_STATE 0x00000040
  32. #define DEB_TRACE_MPR 0x00000080
  33. #define DEB_COOL_SWITCH 0x00000100
  34. #define DEB_TRACE_PROFILE 0x00000200
  35. #define DEB_DEBUG_LSA 0x00000400
  36. #define DEB_DEBUG_MPR 0x00000800
  37. #define DEB_DEBUG_NOWAIT 0x00001000
  38. #define DEB_TRACE_MIGRATE 0x00002000
  39. #define DEB_DEBUG_SERVICES 0x00004000
  40. #define DEB_TRACE_SETUP 0x00008000
  41. #else
  42. #define DebugLog(x)
  43. #define InitDebugSupport()
  44. #endif
  45. #endif // __DEBUG_H__