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.

200 lines
4.2 KiB

  1. //**************************************************
  2. // *** W3Core Trace Data Layout
  3. //**************************************************
  4. #pragma classflags("forceupdate")
  5. #pragma namespace ("\\\\.\\Root\\WMI")
  6. [Dynamic,
  7. Description("IIS: WWW Server") : amended,
  8. Guid("{3a2a4e84-4c21-4981-ae10-3fda0d9b0f83}"),
  9. locale("MS\\0x409")]
  10. class IIS_Trace:EventTrace
  11. {
  12. };
  13. [Dynamic,
  14. Description("IIS User Request") : amended,
  15. Guid("{d42cf7ef-de92-473e-8b6c-621ea663113a}"),
  16. DisplayName("W3Server"),
  17. locale("MS\\0x409")
  18. ]
  19. class IIS_Trans:IIS_Trace
  20. {
  21. };
  22. [Dynamic,
  23. Description("W3 Service Received a New Request") : amended,
  24. EventType(1),
  25. EventTypeName("Start") : amended
  26. ]
  27. class W3ReceiveNewRequest:IIS_Trans
  28. {
  29. [WmiDataId(1),
  30. Description("Request ID") : amended,
  31. read]
  32. uint64 RequestId;
  33. [WmiDataId(2),
  34. Description("Bytes Received") : amended,
  35. read]
  36. uint32 BytesReceived;
  37. };
  38. [Dynamic,
  39. Description("W3 Service Send Response") : amended,
  40. EventType{2, 16, 17, 18, 19, 20, 21, 22, 23, 24},
  41. EventTypeName{"End", "SndBody", "SndResp", "SndEnt", "SndFilt", "ErrSnd", "ErrEnt", "ErrCtx", "ErrVec", "VecSnd"} : amended
  42. ]
  43. class W3SendResponse:IIS_Trans
  44. {
  45. [WmiDataId(1),
  46. Description("Request ID") : amended,
  47. read]
  48. uint64 RequestId;
  49. [WmiDataId(2),
  50. Description("Bytes Sent") : amended,
  51. read]
  52. uint32 BytesSent;
  53. };
  54. [Dynamic,
  55. Description("W3 StaticFile request") : amended,
  56. EventType(10),
  57. EventTypeName("FileReq") : amended
  58. ]
  59. class W3FileRequest:IIS_Trans
  60. {
  61. [WmiDataId(1),
  62. Description("Request ID") : amended,
  63. read]
  64. uint64 RequestId;
  65. [WmiDataId(2),
  66. Description("File Name") : amended,
  67. StringTermination("NullTerminated"),
  68. format("w"),
  69. read]
  70. string FileName;
  71. };
  72. [Dynamic,
  73. Description("W3 CGI request") : amended,
  74. EventType(11),
  75. EventTypeName("CGIReq") : amended
  76. ]
  77. class W3CGIRequest:IIS_Trans
  78. {
  79. [WmiDataId(1),
  80. Description("Request ID") : amended,
  81. read]
  82. uint64 RequestId;
  83. };
  84. [Dynamic,
  85. Description("W3 ISAPI request") : amended,
  86. EventType(12),
  87. EventTypeName("IsapiReq") : amended
  88. ]
  89. class W3IsapiRequest:IIS_Trans
  90. {
  91. [WmiDataId(1),
  92. Description("Request ID") : amended,
  93. read]
  94. uint64 RequestId;
  95. };
  96. [Dynamic,
  97. Description("W3 Service makes an OOP ISAPI request") : amended,
  98. EventType(13),
  99. EventTypeName("OopReq") : amended
  100. ]
  101. class W3OopRequest:IIS_Trans
  102. {
  103. [WmiDataId(1),
  104. Description("Request ID") : amended,
  105. read]
  106. uint64 RequestId;
  107. [WmiDataId(2),
  108. Description("Process ID") : amended,
  109. read]
  110. uint32 ProcessId;
  111. [WmiDataId(3),
  112. Description("Total Requests") : amended,
  113. read]
  114. uint32 TotalReqs;
  115. [WmiDataId(4),
  116. Description("Current Requests") : amended,
  117. read]
  118. uint32 CurrentReqs;
  119. };
  120. [Dynamic,
  121. Description("IIS Filter Request") : amended,
  122. Guid("{00237f0d-73eb-4bcf-a232-126693595847}"),
  123. DisplayName("W3Filter"),
  124. locale("MS\\0x409")
  125. ]
  126. class IIS_Filter_Trans:IIS_Trace
  127. {
  128. };
  129. [Dynamic,
  130. Description("W3 Filter Request") : amended,
  131. EventType(1),
  132. EventTypeName("Start") : amended
  133. ]
  134. class W3FilterTransStart:IIS_Filter_Trans
  135. {
  136. [WmiDataId(1),
  137. Description("Request ID") : amended,
  138. read]
  139. uint64 RequestId;
  140. [WmiDataId(2),
  141. Description("Filter Name") : amended,
  142. StringTermination("NullTerminated"),
  143. format("w"),
  144. read]
  145. string FilterName;
  146. };
  147. [Dynamic,
  148. Description("W3 Filter Request") : amended,
  149. EventType(2),
  150. EventTypeName("End") : amended
  151. ]
  152. class W3FilterTransEnd:IIS_Filter_Trans
  153. {
  154. [WmiDataId(1),
  155. Description("Request ID") : amended,
  156. read]
  157. uint64 RequestId;
  158. };
  159. [Dynamic,
  160. Description("IIS CGI Request") : amended,
  161. Guid("{e2e55403-0d2e-4609-a470-be0da04013c0}"),
  162. DisplayName("W3Cgi"),
  163. locale("MS\\0x409")
  164. ]
  165. class IIS_Cgi_Trans:IIS_Trace
  166. {
  167. };
  168. [Dynamic,
  169. Description("CGI Request") : amended,
  170. EventType{1, 2},
  171. EventTypeName{"Start", "End"} : amended
  172. ]
  173. class W3CgiTrans:IIS_Cgi_Trans
  174. {
  175. [WmiDataId(1),
  176. Description("Request ID") : amended,
  177. read]
  178. uint64 RequestId;
  179. };