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.

286 lines
6.3 KiB

  1. //*********************************************
  2. //*** MSV1_0 SSP: MSV1_0
  3. //*********************************************
  4. #pragma classflags("forceupdate")
  5. #pragma namespace ("\\\\.\\Root\\WMI")
  6. [Dynamic,
  7. Description("NTLM Security Protocol") : amended,
  8. Guid("{C92CF544-91B3-4dc0-8E11-C580339A0BF8}"),
  9. locale("MS\\0x409")]
  10. class MSV1_0Trace:EventTrace
  11. {
  12. };
  13. [Dynamic,
  14. Description("NTLM Server Accept") : amended,
  15. Guid("{94d4c9eb-0d01-41ae-99e8-15b26b593a83}"),
  16. DisplayName("NtlmServerAccept"),
  17. locale("MS\\0x409")
  18. ]
  19. class NtlmServerAccept:MSV1_0Trace
  20. {
  21. };
  22. [Dynamic,
  23. Description("NTLM Server Accept") : amended,
  24. EventType(1),
  25. EventTypeName("Start"),
  26. locale("MS\\0x409")
  27. ]
  28. class NtlmServerAccept_Start:NtlmServerAccept
  29. {
  30. [WmiDataId(1),
  31. Description("Stage Hint") : amended,
  32. read]
  33. uint32 StageHint;
  34. [WmiDataId(2),
  35. Description("In-Context") : amended,
  36. pointer,
  37. read]
  38. uint32 InContext;
  39. };
  40. [Dynamic,
  41. Description("NTLM Server Accept") : amended,
  42. EventType(2),
  43. EventTypeName("End"),
  44. locale("MS\\0x409")
  45. ]
  46. class NtlmServerAccept_End:NtlmServerAccept
  47. {
  48. [WmiDataId(1),
  49. Description("Stage Hint") : amended,
  50. read]
  51. uint32 StageHint;
  52. [WmiDataId(2),
  53. Description("In-Context") : amended,
  54. pointer,
  55. read]
  56. uint32 InContext;
  57. [WmiDataId(3),
  58. Description("Out-Context") : amended,
  59. pointer,
  60. read]
  61. uint32 OutContext;
  62. [WmiDataId(4),
  63. Description("Status") : amended,
  64. read]
  65. uint32 Status;
  66. };
  67. [Dynamic,
  68. Description("NTLM Server Accept") : amended,
  69. EventType(0),
  70. EventTypeName("Info"),
  71. locale("MS\\0x409")
  72. ]
  73. class NtlmServerAccept_Info:NtlmServerAccept
  74. {
  75. [WmiDataId(1),
  76. Description("Stage Hint") : amended,
  77. read]
  78. uint32 StageHint;
  79. [WmiDataId(2),
  80. Description("In-Context") : amended,
  81. pointer,
  82. read]
  83. uint32 InContext;
  84. [WmiDataId(3),
  85. Description("Out-Context") : amended,
  86. pointer,
  87. read]
  88. uint32 OutContext;
  89. [WmiDataId(4),
  90. Description("Flags") : amended,
  91. read]
  92. uint32 Flags;
  93. [WmiDataId(5),
  94. Description("Client User Name") : amended,
  95. StringTermination("Counted"),
  96. format("w"),
  97. read]
  98. string UserName;
  99. [WmiDataId(6),
  100. Description("Client Domain Name") : amended,
  101. StringTermination("Counted"),
  102. format("w"),
  103. read]
  104. string DomainName;
  105. [WmiDataId(7),
  106. Description("Client Workstation") : amended,
  107. StringTermination("Counted"),
  108. format("w"),
  109. read]
  110. string Workstation;
  111. };
  112. [Dynamic,
  113. Description("NTLM Client Initialize") : amended,
  114. Guid("{6df28b22-73be-45cc-ba80-8b332b35a21d}"),
  115. DisplayName("NtlmClientInitialize"),
  116. locale("MS\\0x409")
  117. ]
  118. class NtlmClientInitialize:MSV1_0Trace
  119. {
  120. };
  121. [Dynamic,
  122. Description("NTLM Client Initialize") : amended,
  123. EventType(1),
  124. EventTypeName("Start"),
  125. locale("MS\\0x409")
  126. ]
  127. class NtlmClientInitialize_Start:NtlmClientInitialize
  128. {
  129. [WmiDataId(1),
  130. Description("Stage Hint") : amended,
  131. read]
  132. uint32 StageHint;
  133. [WmiDataId(2),
  134. Description("In-Context") : amended,
  135. pointer,
  136. read]
  137. uint32 InContext;
  138. };
  139. [Dynamic,
  140. Description("NTLM Client Initialize") : amended,
  141. EventType(2),
  142. EventTypeName("End"),
  143. locale("MS\\0x409")
  144. ]
  145. class NtlmClientInitialize_End:NtlmClientInitialize
  146. {
  147. [WmiDataId(1),
  148. Description("Stage Hint") : amended,
  149. read]
  150. uint32 StageHint;
  151. [WmiDataId(2),
  152. Description("In-Context") : amended,
  153. pointer,
  154. read]
  155. uint32 InContext;
  156. [WmiDataId(3),
  157. Description("Out-Context") : amended,
  158. pointer,
  159. read]
  160. uint32 OutContext;
  161. [WmiDataId(4),
  162. Description("Status") : amended,
  163. read]
  164. uint32 Status;
  165. };
  166. [Dynamic,
  167. Description("NTLM Logon User") : amended,
  168. Guid("{19196b33-a302-4c12-9d5a-eac149e93c46}"),
  169. DisplayName("NtlmLogonUser"),
  170. locale("MS\\0x409")
  171. ]
  172. class NtlmLogonUser:MSV1_0Trace
  173. {
  174. };
  175. [Dynamic,
  176. Description("NTLM Logon User") : amended,
  177. EventType(1),
  178. EventTypeName("Start"),
  179. locale("MS\\0x409")
  180. ]
  181. class NtlmLogonUser_Start:NtlmLogonUser
  182. {
  183. };
  184. [Dynamic,
  185. Description("NTLM Logon User") : amended,
  186. EventType(2),
  187. EventTypeName("End"),
  188. locale("MS\\0x409")
  189. ]
  190. class NtlmLogonUser_End:NtlmLogonUser
  191. {
  192. [WmiDataId(1),
  193. Description("Status") : amended,
  194. read]
  195. uint32 Status;
  196. [WmiDataId(2),
  197. Description("Logon Type") : amended,
  198. read]
  199. uint32 LogonType;
  200. [WmiDataId(3),
  201. Description("User Name") : amended,
  202. StringTermination("Counted"),
  203. format("w"),
  204. read]
  205. string UserName;
  206. [WmiDataId(4),
  207. Description("Domain Name") : amended,
  208. StringTermination("Counted"),
  209. format("w"),
  210. read]
  211. string DomainName;
  212. };
  213. [Dynamic,
  214. Description("NTLM Validate Credentials") : amended,
  215. Guid("{34d84181-c28a-41d8-bb9e-995190df83df}"),
  216. DisplayName("NtlmValidateUser"),
  217. locale("MS\\0x409")
  218. ]
  219. class NtlmValidateUser:MSV1_0Trace
  220. {
  221. };
  222. [Dynamic,
  223. Description("NTLM Validate Credentials") : amended,
  224. EventType(1),
  225. EventTypeName("Start"),
  226. locale("MS\\0x409")
  227. ]
  228. class NtlmValidateUser_Start:NtlmValidateUser
  229. {
  230. };
  231. [Dynamic,
  232. Description("NTLM Validate Credentials") : amended,
  233. EventType(2),
  234. EventTypeName("End"),
  235. locale("MS\\0x409")
  236. ]
  237. class NtlmValidateUser_End:NtlmValidateUser
  238. {
  239. [WmiDataId(1),
  240. Description("Success Bitmask") : amended,
  241. read]
  242. uint32 Success;
  243. [WmiDataId(2),
  244. Description("Logon Server") : amended,
  245. StringTermination("Counted"),
  246. format("w"),
  247. read]
  248. string LogonServer;
  249. [WmiDataId(3),
  250. Description("Domain Name") : amended,
  251. StringTermination("Counted"),
  252. format("w"),
  253. read]
  254. string LogonDomain;
  255. [WmiDataId(4),
  256. Description("User Name") : amended,
  257. StringTermination("Counted"),
  258. format("w"),
  259. read]
  260. string UserName;
  261. [WmiDataId(5),
  262. Description("Logon Workstation") : amended,
  263. StringTermination("Counted"),
  264. format("w"),
  265. read]
  266. string Workstation;
  267. };