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.

47 lines
863 B

  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 GINAInfoLevel;
  21. #define DebugLog(x) LogEvent x
  22. void LogEvent(long, const char *, ...);
  23. void InitDebugSupport(void);
  24. #define DEB_ERROR 0x00000001
  25. #define DEB_WARN 0x00000002
  26. #define DEB_TRACE 0x00000004
  27. #define DEB_TRACE_DOMAIN 0x00000008
  28. #define DEB_TRACE_CACHE 0x00000010
  29. #else
  30. #define DebugLog(x)
  31. #endif
  32. #endif // __DEBUG_H__