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.

87 lines
3.8 KiB

  1. /*
  2. WPP_DEFINE_CONTROL_GUID specifies the GUID used for this filter.
  3. *** REPLACE THE GUID WITH YOUR OWN UNIQUE ID ***
  4. WPP_DEFINE_BIT allows setting debug bit masks to selectively print.
  5. everything else can revert to the default?
  6. */
  7. #ifdef _USE_ETW
  8. #define WPP_CONTROL_GUIDS \
  9. WPP_DEFINE_CONTROL_GUID(Redbook,(58db8e03,0537,45cb,b29b,597f6cbebbfe), \
  10. WPP_DEFINE_BIT(RedbookDebugError) /* bit 0 = 0x00000001 */ \
  11. WPP_DEFINE_BIT(RedbookDebugWarning) /* bit 1 = 0x00000002 */ \
  12. WPP_DEFINE_BIT(RedbookDebugTrace) /* bit 2 = 0x00000004 */ \
  13. WPP_DEFINE_BIT(RedbookDebugInfo) /* bit 3 = 0x00000008 */ \
  14. WPP_DEFINE_BIT(RedbookDebugD04) /* bit 4 = 0x00000010 */ \
  15. WPP_DEFINE_BIT(RedbookDebugErrlog) /* bit 5 = 0x00000020 */ \
  16. WPP_DEFINE_BIT(RedbookDebugRegistry) /* bit 6 = 0x00000040 */ \
  17. WPP_DEFINE_BIT(RedbookDebugAllocPlay) /* bit 7 = 0x00000080 */ \
  18. WPP_DEFINE_BIT(RedbookDebugPnp) /* bit 8 = 0x00000100 */ \
  19. WPP_DEFINE_BIT(RedbookDebugThread) /* bit 9 = 0x00000200 */ \
  20. WPP_DEFINE_BIT(RedbookDebugWmi) /* bit 10 = 0x00000400 */ \
  21. WPP_DEFINE_BIT(RedbookDebugIoctl) /* bit 11 = 0x00000800 */ \
  22. WPP_DEFINE_BIT(RedbookDebugIoctlV) /* bit 12 = 0x00001000 */ \
  23. WPP_DEFINE_BIT(RedbookDebugSysaudio) /* bit 13 = 0x00002000 */ \
  24. WPP_DEFINE_BIT(RedbookDebugDigitalR) /* bit 14 = 0x00004000 */ \
  25. WPP_DEFINE_BIT(RedbookDebugDigitalS) /* bit 15 = 0x00008000 */ \
  26. WPP_DEFINE_BIT(FilterDebugD16) /* bit 16 = 0x00000000 */ \
  27. WPP_DEFINE_BIT(FilterDebugD17) /* bit 17 = 0x00000000 */ \
  28. WPP_DEFINE_BIT(FilterDebugD18) /* bit 18 = 0x00000000 */ \
  29. WPP_DEFINE_BIT(FilterDebugD19) /* bit 19 = 0x00000000 */ \
  30. WPP_DEFINE_BIT(FilterDebugD20) /* bit 20 = 0x00000000 */ \
  31. WPP_DEFINE_BIT(FilterDebugD21) /* bit 21 = 0x00000000 */ \
  32. WPP_DEFINE_BIT(FilterDebugD22) /* bit 22 = 0x00000000 */ \
  33. WPP_DEFINE_BIT(FilterDebugD23) /* bit 23 = 0x00000000 */ \
  34. WPP_DEFINE_BIT(FilterDebugD24) /* bit 24 = 0x00000000 */ \
  35. WPP_DEFINE_BIT(FilterDebugD25) /* bit 25 = 0x00000000 */ \
  36. WPP_DEFINE_BIT(FilterDebugD26) /* bit 26 = 0x00000000 */ \
  37. WPP_DEFINE_BIT(FilterDebugD27) /* bit 27 = 0x00000000 */ \
  38. WPP_DEFINE_BIT(FilterDebugD28) /* bit 28 = 0x00000000 */ \
  39. WPP_DEFINE_BIT(FilterDebugD29) /* bit 29 = 0x00000000 */ \
  40. WPP_DEFINE_BIT(FilterDebugD30) /* bit 30 = 0x00000000 */ \
  41. WPP_DEFINE_BIT(FilterDebugD31) /* bit 31 = 0x00000000 */ \
  42. )
  43. #else
  44. typedef enum {
  45. RedbookDebugError = 0,
  46. RedbookDebugWarning = 1,
  47. RedbookDebugTrace = 2,
  48. RedbookDebugInfo = 3,
  49. RedbookDebugD04 = 4,
  50. RedbookDebugErrlog = 5,
  51. RedbookDebugRegistry = 6,
  52. RedbookDebugAllocPlay = 7,
  53. RedbookDebugPnp = 8,
  54. RedbookDebugThread = 9,
  55. RedbookDebugWmi = 10,
  56. RedbookDebugIoctl = 11,
  57. RedbookDebugIoctlV = 12,
  58. RedbookDebugSysaudio = 13,
  59. RedbookDebugDigitalR = 14,
  60. RedbookDebugDigitalS = 15,
  61. FilterDebugD16 = 16,
  62. FilterDebugD17 = 17,
  63. FilterDebugD18 = 18,
  64. FilterDebugD19 = 19,
  65. FilterDebugD20 = 20,
  66. FilterDebugD21 = 21,
  67. FilterDebugD22 = 22,
  68. FilterDebugD23 = 23,
  69. FilterDebugD24 = 24,
  70. FilterDebugD25 = 25,
  71. FilterDebugD26 = 26,
  72. FilterDebugD27 = 27,
  73. FilterDebugD28 = 28,
  74. FilterDebugD29 = 29,
  75. FilterDebugD30 = 30,
  76. FilterDebugD31 = 31
  77. };
  78. #endif // _USE_ETW