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.

278 lines
6.4 KiB

  1. // ---------------------------------------------------------------------
  2. // Microsoft Windows.
  3. // Copyright (C) Microsoft Corporation 2000-2001
  4. //
  5. // File: dnsapi.mof
  6. //
  7. // ---------------------------------------------------------------------
  8. #pragma classflags("forceupdate")
  9. #pragma namespace ("\\\\.\\Root\\WMI")
  10. [Dynamic,
  11. Description("DNS Trace") : amended,
  12. Guid("{1540ff4c-3fd7-4bba-9938-1d1bf31573a7}"),
  13. locale("MS\\0x409")
  14. ]
  15. class MSDNS_Trace:EventTrace
  16. {
  17. };
  18. [Dynamic,
  19. Description("DNS Send") : amended,
  20. Guid("{cc0c571b-d5f2-44fd-8b7f-de7770cc1984}"),
  21. locale("MS\\0x409"),
  22. DisplayName("DNS Send") : amended,
  23. EventVersion(0)
  24. ]
  25. class MSDNS_Send:MSDNS_Trace
  26. {
  27. };
  28. [Dynamic,
  29. Description("DNS UDP Send Event") : amended,
  30. locale("MS\\0x409"),
  31. EventTypeName("UDP Send Event") : amended,
  32. EventType(9)
  33. ]
  34. class MSDNS_UDPSend_Event:MSDNS_Send
  35. {
  36. [WmiDataId(1),
  37. Description("Transaction ID"): amended,
  38. read]
  39. uint16 Xid;
  40. [WmiDataId(2),
  41. Description("Query Flags"): amended,
  42. read]
  43. uint16 Flags;
  44. [WmiDataId(3),
  45. Description("Number of Queries"): amended,
  46. read]
  47. uint16 NumQuestions;
  48. [WmiDataId(4),
  49. Description("Number of Answers"): amended,
  50. read]
  51. uint16 NumAnswers;
  52. [WmiDataId(5),
  53. Description("Number of Name Servers"): amended,
  54. read]
  55. uint16 NumNameServers;
  56. [WmiDataId(6),
  57. Description("Number of Additional Records"): amended,
  58. read]
  59. uint16 NumAdditional;
  60. [WmiDataId(7),
  61. Description("DNS Server IP Address"): amended,
  62. read]
  63. uint32 DnsServer;
  64. [WmiDataId(8),
  65. Description("Return Status"): amended,
  66. read]
  67. uint32 ReturnStatus;
  68. };
  69. [Dynamic,
  70. Description("DNS TCP Send Event") : amended,
  71. locale("MS\\0x409"),
  72. EventTypeName("TCP Send Event") : amended,
  73. EventType(10)
  74. ]
  75. class MSDNS_TCPSend_Event:MSDNS_Send
  76. {
  77. [WmiDataId(1),
  78. Description("Transaction ID"): amended,
  79. read]
  80. uint16 Xid;
  81. [WmiDataId(2),
  82. Description("Query Flags"): amended,
  83. read]
  84. uint16 Flags;
  85. [WmiDataId(3),
  86. Description("Number of Queries"): amended,
  87. read]
  88. uint16 NumQuestions;
  89. [WmiDataId(4),
  90. Description("Number of Answers"): amended,
  91. read]
  92. uint16 NumAnswers;
  93. [WmiDataId(5),
  94. Description("Number of Name Servers"): amended,
  95. read]
  96. uint16 NumNameServers;
  97. [WmiDataId(6),
  98. Description("Number of Additional Records"): amended,
  99. read]
  100. uint16 NumAdditional;
  101. [WmiDataId(7),
  102. Description("DNS Server IP Address"): amended,
  103. read]
  104. uint32 DnsServer;
  105. [WmiDataId(8),
  106. Description("Return Status"): amended,
  107. read]
  108. uint32 ReturnStatus;
  109. };
  110. [Dynamic,
  111. Description("DNS Receive"): amended,
  112. Guid("{6ddef4b8-9c60-423e-b1a6-deb9286fff1e}"),
  113. locale("MS\\0x409"),
  114. DisplayName("DNS Receive"): amended,
  115. EventVersion(0)
  116. ]
  117. class MSDNS_Receive:MSDNS_Trace
  118. {
  119. };
  120. [Dynamic,
  121. Description("DNS UDP Receive Event") : amended,
  122. locale("MS\\0x409"),
  123. EventTypeName("UDP Receive Event") : amended,
  124. EventType(9)
  125. ]
  126. class MSDNS_UDPRecv_Event:MSDNS_Receive
  127. {
  128. [WmiDataId(1),
  129. Description("Transaction ID"): amended,
  130. read]
  131. uint16 Xid;
  132. [WmiDataId(2),
  133. Description("Query Flags"): amended,
  134. read]
  135. uint16 Flags;
  136. [WmiDataId(3),
  137. Description("Number of Queries"): amended,
  138. read]
  139. uint16 NumQuestions;
  140. [WmiDataId(4),
  141. Description("Number of Answers"): amended,
  142. read]
  143. uint16 NumAnswers;
  144. [WmiDataId(5),
  145. Description("Number of Name Servers"): amended,
  146. read]
  147. uint16 NumNameServers;
  148. [WmiDataId(6),
  149. Description("Number of Additional Records"): amended,
  150. read]
  151. uint16 NumAdditional;
  152. [WmiDataId(7),
  153. Description("DNS Server IP Address"): amended,
  154. read]
  155. uint32 DnsServer;
  156. [WmiDataId(8),
  157. Description("Return Status"): amended,
  158. read]
  159. uint32 ReturnStatus;
  160. };
  161. [Dynamic,
  162. Description("DNS TCP Receive Event") : amended,
  163. locale("MS\\0x409"),
  164. EventTypeName("TCP Receive Event") : amended,
  165. EventType(10)
  166. ]
  167. class MSDNS_TCPRecv_Event:MSDNS_Receive
  168. {
  169. [WmiDataId(1),
  170. Description("Transaction ID"): amended,
  171. read]
  172. uint16 Xid;
  173. [WmiDataId(2),
  174. Description("Query Flags"): amended,
  175. read]
  176. uint16 Flags;
  177. [WmiDataId(3),
  178. Description("Number of Queries"): amended,
  179. read]
  180. uint16 NumQuestions;
  181. [WmiDataId(4),
  182. Description("Number of Answers"): amended,
  183. read]
  184. uint16 NumAnswers;
  185. [WmiDataId(5),
  186. Description("Number of Name Servers"): amended,
  187. read]
  188. uint16 NumNameServers;
  189. [WmiDataId(6),
  190. Description("Number of Additional Records"): amended,
  191. read]
  192. uint16 NumAdditional;
  193. [WmiDataId(7),
  194. Description("DNS Server IP Address"): amended,
  195. read]
  196. uint32 DnsServer;
  197. [WmiDataId(8),
  198. Description("Return Status"): amended,
  199. read]
  200. uint32 ReturnStatus;
  201. };
  202. [Dynamic,
  203. Description("DNS Query"):amended,
  204. Guid("{75f0c316-7bab-4e66-bed1-24091b1ac49e}"),
  205. locale("MS\\0x409"),
  206. DisplayName("DNS Query"):amended,
  207. EventVersion(0)
  208. ]
  209. class MSDNS_Query:MSDNS_Trace
  210. {
  211. };
  212. [Dynamic,
  213. Description("DNS Query Event") : amended,
  214. locale("MS\\0x409"),
  215. EventTypeName("DNS Query Event") : amended,
  216. EventType(1)
  217. ]
  218. class MSDNS_Query_Event : MSDNS_Query
  219. {
  220. [WmiDataId(1),
  221. Description("Transaction ID"): amended,
  222. read]
  223. uint16 Xid;
  224. [WmiDataId(2),
  225. Description("Query Type"): amended,
  226. read]
  227. uint16 QueryType;
  228. [WmiDataId(3),
  229. Description("Query"): amended,
  230. read]
  231. string Query;
  232. };
  233. [Dynamic,
  234. Description("DNS Response"): amended,
  235. Guid("{9929b1c7-9e6a-4fc9-830a-f684e64f8aab}"),
  236. locale("MS\\0x409"),
  237. DisplayName("DNS Response"): amended,
  238. EventVersion(0)
  239. ]
  240. class MSDNS_Response:MSDNS_Trace
  241. {
  242. };
  243. [Dynamic,
  244. Description("DNS Response Event") : amended,
  245. locale("MS\\0x409"),
  246. EventTypeName("DNS Response Event") : amended,
  247. EventType(1)
  248. ]
  249. class MSDNS_Response_Event : MSDNS_Response
  250. {
  251. [WmiDataId(1),
  252. Description("Transaction ID"): amended,
  253. read]
  254. uint16 Xid;
  255. [WmiDataId(2),
  256. Description("Response Type"): amended,
  257. read]
  258. uint16 RespType;
  259. [WmiDataId(3),
  260. Description("Return Status"): amended,
  261. read]
  262. uint32 ReturnStatus;
  263. };