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.

57 lines
891 B

  1. /*++
  2. Copyright (c) 1993 Microsoft Corporation
  3. :ts=4
  4. Module Name:
  5. log.h
  6. Abstract:
  7. debug macros
  8. Environment:
  9. Kernel & user mode
  10. Revision History:
  11. 10-27-95 : created
  12. --*/
  13. #ifndef __LOG_H__
  14. #define __LOG_H__
  15. #define LOG_MISC 0x00000001 //debug log entries
  16. #define LOG_ENUM 0x00000002
  17. #define LOG_PASSTHROUGH 0x00000004
  18. //
  19. // Assert Macros
  20. //
  21. #if DBG
  22. #define LOGENTRY(mask, sig, info1, info2, info3) \
  23. SerenumDebugLogEntry(mask, sig, (ULONG_PTR)info1, \
  24. (ULONG_PTR)info2, \
  25. (ULONG_PTR)info3)
  26. VOID
  27. SerenumDebugLogEntry(IN ULONG Mask, IN ULONG Sig, IN ULONG_PTR Info1,
  28. IN ULONG_PTR Info2, IN ULONG_PTR Info3);
  29. VOID
  30. SerenumLogInit();
  31. VOID
  32. SerenumLogFree();
  33. #else
  34. #define LOGENTRY(mask, sig, info1, info2, info3)
  35. #endif
  36. #endif // __LOG_H__