WbemDisp.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:359k
源码类别:

模拟服务器

开发平台:

C/C++

  1. #pragma warning( disable: 4049 )  /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3.  /* File created by MIDL compiler version 6.00.0347 */
  4. /* Compiler settings for wbemdisp.idl:
  5.     Oicf, W1, Zp8, env=Win32 (32b run)
  6.     protocol : dce , ms_ext, c_ext, robust
  7.     error checks: allocation ref bounds_check enum stub_data 
  8.     VC __declspec() decoration level: 
  9.          __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10.          DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING(  )
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __wbemdisp_h__
  27. #define __wbemdisp_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */ 
  32. #ifndef __ISWbemServices_FWD_DEFINED__
  33. #define __ISWbemServices_FWD_DEFINED__
  34. typedef interface ISWbemServices ISWbemServices;
  35. #endif  /* __ISWbemServices_FWD_DEFINED__ */
  36. #ifndef __ISWbemLocator_FWD_DEFINED__
  37. #define __ISWbemLocator_FWD_DEFINED__
  38. typedef interface ISWbemLocator ISWbemLocator;
  39. #endif  /* __ISWbemLocator_FWD_DEFINED__ */
  40. #ifndef __ISWbemObject_FWD_DEFINED__
  41. #define __ISWbemObject_FWD_DEFINED__
  42. typedef interface ISWbemObject ISWbemObject;
  43. #endif  /* __ISWbemObject_FWD_DEFINED__ */
  44. #ifndef __ISWbemObjectSet_FWD_DEFINED__
  45. #define __ISWbemObjectSet_FWD_DEFINED__
  46. typedef interface ISWbemObjectSet ISWbemObjectSet;
  47. #endif  /* __ISWbemObjectSet_FWD_DEFINED__ */
  48. #ifndef __ISWbemNamedValue_FWD_DEFINED__
  49. #define __ISWbemNamedValue_FWD_DEFINED__
  50. typedef interface ISWbemNamedValue ISWbemNamedValue;
  51. #endif  /* __ISWbemNamedValue_FWD_DEFINED__ */
  52. #ifndef __ISWbemNamedValueSet_FWD_DEFINED__
  53. #define __ISWbemNamedValueSet_FWD_DEFINED__
  54. typedef interface ISWbemNamedValueSet ISWbemNamedValueSet;
  55. #endif  /* __ISWbemNamedValueSet_FWD_DEFINED__ */
  56. #ifndef __ISWbemQualifier_FWD_DEFINED__
  57. #define __ISWbemQualifier_FWD_DEFINED__
  58. typedef interface ISWbemQualifier ISWbemQualifier;
  59. #endif  /* __ISWbemQualifier_FWD_DEFINED__ */
  60. #ifndef __ISWbemQualifierSet_FWD_DEFINED__
  61. #define __ISWbemQualifierSet_FWD_DEFINED__
  62. typedef interface ISWbemQualifierSet ISWbemQualifierSet;
  63. #endif  /* __ISWbemQualifierSet_FWD_DEFINED__ */
  64. #ifndef __ISWbemProperty_FWD_DEFINED__
  65. #define __ISWbemProperty_FWD_DEFINED__
  66. typedef interface ISWbemProperty ISWbemProperty;
  67. #endif  /* __ISWbemProperty_FWD_DEFINED__ */
  68. #ifndef __ISWbemPropertySet_FWD_DEFINED__
  69. #define __ISWbemPropertySet_FWD_DEFINED__
  70. typedef interface ISWbemPropertySet ISWbemPropertySet;
  71. #endif  /* __ISWbemPropertySet_FWD_DEFINED__ */
  72. #ifndef __ISWbemMethod_FWD_DEFINED__
  73. #define __ISWbemMethod_FWD_DEFINED__
  74. typedef interface ISWbemMethod ISWbemMethod;
  75. #endif  /* __ISWbemMethod_FWD_DEFINED__ */
  76. #ifndef __ISWbemMethodSet_FWD_DEFINED__
  77. #define __ISWbemMethodSet_FWD_DEFINED__
  78. typedef interface ISWbemMethodSet ISWbemMethodSet;
  79. #endif  /* __ISWbemMethodSet_FWD_DEFINED__ */
  80. #ifndef __ISWbemEventSource_FWD_DEFINED__
  81. #define __ISWbemEventSource_FWD_DEFINED__
  82. typedef interface ISWbemEventSource ISWbemEventSource;
  83. #endif  /* __ISWbemEventSource_FWD_DEFINED__ */
  84. #ifndef __ISWbemObjectPath_FWD_DEFINED__
  85. #define __ISWbemObjectPath_FWD_DEFINED__
  86. typedef interface ISWbemObjectPath ISWbemObjectPath;
  87. #endif  /* __ISWbemObjectPath_FWD_DEFINED__ */
  88. #ifndef __ISWbemLastError_FWD_DEFINED__
  89. #define __ISWbemLastError_FWD_DEFINED__
  90. typedef interface ISWbemLastError ISWbemLastError;
  91. #endif  /* __ISWbemLastError_FWD_DEFINED__ */
  92. #ifndef __ISWbemSinkEvents_FWD_DEFINED__
  93. #define __ISWbemSinkEvents_FWD_DEFINED__
  94. typedef interface ISWbemSinkEvents ISWbemSinkEvents;
  95. #endif  /* __ISWbemSinkEvents_FWD_DEFINED__ */
  96. #ifndef __ISWbemSink_FWD_DEFINED__
  97. #define __ISWbemSink_FWD_DEFINED__
  98. typedef interface ISWbemSink ISWbemSink;
  99. #endif  /* __ISWbemSink_FWD_DEFINED__ */
  100. #ifndef __ISWbemSecurity_FWD_DEFINED__
  101. #define __ISWbemSecurity_FWD_DEFINED__
  102. typedef interface ISWbemSecurity ISWbemSecurity;
  103. #endif  /* __ISWbemSecurity_FWD_DEFINED__ */
  104. #ifndef __ISWbemPrivilege_FWD_DEFINED__
  105. #define __ISWbemPrivilege_FWD_DEFINED__
  106. typedef interface ISWbemPrivilege ISWbemPrivilege;
  107. #endif  /* __ISWbemPrivilege_FWD_DEFINED__ */
  108. #ifndef __ISWbemPrivilegeSet_FWD_DEFINED__
  109. #define __ISWbemPrivilegeSet_FWD_DEFINED__
  110. typedef interface ISWbemPrivilegeSet ISWbemPrivilegeSet;
  111. #endif  /* __ISWbemPrivilegeSet_FWD_DEFINED__ */
  112. #ifndef __ISWbemServicesEx_FWD_DEFINED__
  113. #define __ISWbemServicesEx_FWD_DEFINED__
  114. typedef interface ISWbemServicesEx ISWbemServicesEx;
  115. #endif  /* __ISWbemServicesEx_FWD_DEFINED__ */
  116. #ifndef __ISWbemObjectEx_FWD_DEFINED__
  117. #define __ISWbemObjectEx_FWD_DEFINED__
  118. typedef interface ISWbemObjectEx ISWbemObjectEx;
  119. #endif  /* __ISWbemObjectEx_FWD_DEFINED__ */
  120. #ifndef __ISWbemDateTime_FWD_DEFINED__
  121. #define __ISWbemDateTime_FWD_DEFINED__
  122. typedef interface ISWbemDateTime ISWbemDateTime;
  123. #endif  /* __ISWbemDateTime_FWD_DEFINED__ */
  124. #ifndef __ISWbemRefresher_FWD_DEFINED__
  125. #define __ISWbemRefresher_FWD_DEFINED__
  126. typedef interface ISWbemRefresher ISWbemRefresher;
  127. #endif  /* __ISWbemRefresher_FWD_DEFINED__ */
  128. #ifndef __ISWbemRefreshableItem_FWD_DEFINED__
  129. #define __ISWbemRefreshableItem_FWD_DEFINED__
  130. typedef interface ISWbemRefreshableItem ISWbemRefreshableItem;
  131. #endif  /* __ISWbemRefreshableItem_FWD_DEFINED__ */
  132. #ifndef __SWbemLocator_FWD_DEFINED__
  133. #define __SWbemLocator_FWD_DEFINED__
  134. #ifdef __cplusplus
  135. typedef class SWbemLocator SWbemLocator;
  136. #else
  137. typedef struct SWbemLocator SWbemLocator;
  138. #endif /* __cplusplus */
  139. #endif  /* __SWbemLocator_FWD_DEFINED__ */
  140. #ifndef __SWbemNamedValueSet_FWD_DEFINED__
  141. #define __SWbemNamedValueSet_FWD_DEFINED__
  142. #ifdef __cplusplus
  143. typedef class SWbemNamedValueSet SWbemNamedValueSet;
  144. #else
  145. typedef struct SWbemNamedValueSet SWbemNamedValueSet;
  146. #endif /* __cplusplus */
  147. #endif  /* __SWbemNamedValueSet_FWD_DEFINED__ */
  148. #ifndef __SWbemObjectPath_FWD_DEFINED__
  149. #define __SWbemObjectPath_FWD_DEFINED__
  150. #ifdef __cplusplus
  151. typedef class SWbemObjectPath SWbemObjectPath;
  152. #else
  153. typedef struct SWbemObjectPath SWbemObjectPath;
  154. #endif /* __cplusplus */
  155. #endif  /* __SWbemObjectPath_FWD_DEFINED__ */
  156. #ifndef __SWbemLastError_FWD_DEFINED__
  157. #define __SWbemLastError_FWD_DEFINED__
  158. #ifdef __cplusplus
  159. typedef class SWbemLastError SWbemLastError;
  160. #else
  161. typedef struct SWbemLastError SWbemLastError;
  162. #endif /* __cplusplus */
  163. #endif  /* __SWbemLastError_FWD_DEFINED__ */
  164. #ifndef __SWbemSink_FWD_DEFINED__
  165. #define __SWbemSink_FWD_DEFINED__
  166. #ifdef __cplusplus
  167. typedef class SWbemSink SWbemSink;
  168. #else
  169. typedef struct SWbemSink SWbemSink;
  170. #endif /* __cplusplus */
  171. #endif  /* __SWbemSink_FWD_DEFINED__ */
  172. #ifndef __SWbemDateTime_FWD_DEFINED__
  173. #define __SWbemDateTime_FWD_DEFINED__
  174. #ifdef __cplusplus
  175. typedef class SWbemDateTime SWbemDateTime;
  176. #else
  177. typedef struct SWbemDateTime SWbemDateTime;
  178. #endif /* __cplusplus */
  179. #endif  /* __SWbemDateTime_FWD_DEFINED__ */
  180. #ifndef __SWbemRefresher_FWD_DEFINED__
  181. #define __SWbemRefresher_FWD_DEFINED__
  182. #ifdef __cplusplus
  183. typedef class SWbemRefresher SWbemRefresher;
  184. #else
  185. typedef struct SWbemRefresher SWbemRefresher;
  186. #endif /* __cplusplus */
  187. #endif  /* __SWbemRefresher_FWD_DEFINED__ */
  188. #ifndef __SWbemServices_FWD_DEFINED__
  189. #define __SWbemServices_FWD_DEFINED__
  190. #ifdef __cplusplus
  191. typedef class SWbemServices SWbemServices;
  192. #else
  193. typedef struct SWbemServices SWbemServices;
  194. #endif /* __cplusplus */
  195. #endif  /* __SWbemServices_FWD_DEFINED__ */
  196. #ifndef __SWbemServicesEx_FWD_DEFINED__
  197. #define __SWbemServicesEx_FWD_DEFINED__
  198. #ifdef __cplusplus
  199. typedef class SWbemServicesEx SWbemServicesEx;
  200. #else
  201. typedef struct SWbemServicesEx SWbemServicesEx;
  202. #endif /* __cplusplus */
  203. #endif  /* __SWbemServicesEx_FWD_DEFINED__ */
  204. #ifndef __SWbemObject_FWD_DEFINED__
  205. #define __SWbemObject_FWD_DEFINED__
  206. #ifdef __cplusplus
  207. typedef class SWbemObject SWbemObject;
  208. #else
  209. typedef struct SWbemObject SWbemObject;
  210. #endif /* __cplusplus */
  211. #endif  /* __SWbemObject_FWD_DEFINED__ */
  212. #ifndef __SWbemObjectEx_FWD_DEFINED__
  213. #define __SWbemObjectEx_FWD_DEFINED__
  214. #ifdef __cplusplus
  215. typedef class SWbemObjectEx SWbemObjectEx;
  216. #else
  217. typedef struct SWbemObjectEx SWbemObjectEx;
  218. #endif /* __cplusplus */
  219. #endif  /* __SWbemObjectEx_FWD_DEFINED__ */
  220. #ifndef __SWbemObjectSet_FWD_DEFINED__
  221. #define __SWbemObjectSet_FWD_DEFINED__
  222. #ifdef __cplusplus
  223. typedef class SWbemObjectSet SWbemObjectSet;
  224. #else
  225. typedef struct SWbemObjectSet SWbemObjectSet;
  226. #endif /* __cplusplus */
  227. #endif  /* __SWbemObjectSet_FWD_DEFINED__ */
  228. #ifndef __SWbemNamedValue_FWD_DEFINED__
  229. #define __SWbemNamedValue_FWD_DEFINED__
  230. #ifdef __cplusplus
  231. typedef class SWbemNamedValue SWbemNamedValue;
  232. #else
  233. typedef struct SWbemNamedValue SWbemNamedValue;
  234. #endif /* __cplusplus */
  235. #endif  /* __SWbemNamedValue_FWD_DEFINED__ */
  236. #ifndef __SWbemQualifier_FWD_DEFINED__
  237. #define __SWbemQualifier_FWD_DEFINED__
  238. #ifdef __cplusplus
  239. typedef class SWbemQualifier SWbemQualifier;
  240. #else
  241. typedef struct SWbemQualifier SWbemQualifier;
  242. #endif /* __cplusplus */
  243. #endif  /* __SWbemQualifier_FWD_DEFINED__ */
  244. #ifndef __SWbemQualifierSet_FWD_DEFINED__
  245. #define __SWbemQualifierSet_FWD_DEFINED__
  246. #ifdef __cplusplus
  247. typedef class SWbemQualifierSet SWbemQualifierSet;
  248. #else
  249. typedef struct SWbemQualifierSet SWbemQualifierSet;
  250. #endif /* __cplusplus */
  251. #endif  /* __SWbemQualifierSet_FWD_DEFINED__ */
  252. #ifndef __SWbemProperty_FWD_DEFINED__
  253. #define __SWbemProperty_FWD_DEFINED__
  254. #ifdef __cplusplus
  255. typedef class SWbemProperty SWbemProperty;
  256. #else
  257. typedef struct SWbemProperty SWbemProperty;
  258. #endif /* __cplusplus */
  259. #endif  /* __SWbemProperty_FWD_DEFINED__ */
  260. #ifndef __SWbemPropertySet_FWD_DEFINED__
  261. #define __SWbemPropertySet_FWD_DEFINED__
  262. #ifdef __cplusplus
  263. typedef class SWbemPropertySet SWbemPropertySet;
  264. #else
  265. typedef struct SWbemPropertySet SWbemPropertySet;
  266. #endif /* __cplusplus */
  267. #endif  /* __SWbemPropertySet_FWD_DEFINED__ */
  268. #ifndef __SWbemMethod_FWD_DEFINED__
  269. #define __SWbemMethod_FWD_DEFINED__
  270. #ifdef __cplusplus
  271. typedef class SWbemMethod SWbemMethod;
  272. #else
  273. typedef struct SWbemMethod SWbemMethod;
  274. #endif /* __cplusplus */
  275. #endif  /* __SWbemMethod_FWD_DEFINED__ */
  276. #ifndef __SWbemMethodSet_FWD_DEFINED__
  277. #define __SWbemMethodSet_FWD_DEFINED__
  278. #ifdef __cplusplus
  279. typedef class SWbemMethodSet SWbemMethodSet;
  280. #else
  281. typedef struct SWbemMethodSet SWbemMethodSet;
  282. #endif /* __cplusplus */
  283. #endif  /* __SWbemMethodSet_FWD_DEFINED__ */
  284. #ifndef __SWbemEventSource_FWD_DEFINED__
  285. #define __SWbemEventSource_FWD_DEFINED__
  286. #ifdef __cplusplus
  287. typedef class SWbemEventSource SWbemEventSource;
  288. #else
  289. typedef struct SWbemEventSource SWbemEventSource;
  290. #endif /* __cplusplus */
  291. #endif  /* __SWbemEventSource_FWD_DEFINED__ */
  292. #ifndef __SWbemSecurity_FWD_DEFINED__
  293. #define __SWbemSecurity_FWD_DEFINED__
  294. #ifdef __cplusplus
  295. typedef class SWbemSecurity SWbemSecurity;
  296. #else
  297. typedef struct SWbemSecurity SWbemSecurity;
  298. #endif /* __cplusplus */
  299. #endif  /* __SWbemSecurity_FWD_DEFINED__ */
  300. #ifndef __SWbemPrivilege_FWD_DEFINED__
  301. #define __SWbemPrivilege_FWD_DEFINED__
  302. #ifdef __cplusplus
  303. typedef class SWbemPrivilege SWbemPrivilege;
  304. #else
  305. typedef struct SWbemPrivilege SWbemPrivilege;
  306. #endif /* __cplusplus */
  307. #endif  /* __SWbemPrivilege_FWD_DEFINED__ */
  308. #ifndef __SWbemPrivilegeSet_FWD_DEFINED__
  309. #define __SWbemPrivilegeSet_FWD_DEFINED__
  310. #ifdef __cplusplus
  311. typedef class SWbemPrivilegeSet SWbemPrivilegeSet;
  312. #else
  313. typedef struct SWbemPrivilegeSet SWbemPrivilegeSet;
  314. #endif /* __cplusplus */
  315. #endif  /* __SWbemPrivilegeSet_FWD_DEFINED__ */
  316. #ifndef __SWbemRefreshableItem_FWD_DEFINED__
  317. #define __SWbemRefreshableItem_FWD_DEFINED__
  318. #ifdef __cplusplus
  319. typedef class SWbemRefreshableItem SWbemRefreshableItem;
  320. #else
  321. typedef struct SWbemRefreshableItem SWbemRefreshableItem;
  322. #endif /* __cplusplus */
  323. #endif  /* __SWbemRefreshableItem_FWD_DEFINED__ */
  324. #ifndef __ISWbemLocator_FWD_DEFINED__
  325. #define __ISWbemLocator_FWD_DEFINED__
  326. typedef interface ISWbemLocator ISWbemLocator;
  327. #endif  /* __ISWbemLocator_FWD_DEFINED__ */
  328. #ifndef __ISWbemServices_FWD_DEFINED__
  329. #define __ISWbemServices_FWD_DEFINED__
  330. typedef interface ISWbemServices ISWbemServices;
  331. #endif  /* __ISWbemServices_FWD_DEFINED__ */
  332. #ifndef __ISWbemServicesEx_FWD_DEFINED__
  333. #define __ISWbemServicesEx_FWD_DEFINED__
  334. typedef interface ISWbemServicesEx ISWbemServicesEx;
  335. #endif  /* __ISWbemServicesEx_FWD_DEFINED__ */
  336. #ifndef __ISWbemObject_FWD_DEFINED__
  337. #define __ISWbemObject_FWD_DEFINED__
  338. typedef interface ISWbemObject ISWbemObject;
  339. #endif  /* __ISWbemObject_FWD_DEFINED__ */
  340. #ifndef __ISWbemObjectEx_FWD_DEFINED__
  341. #define __ISWbemObjectEx_FWD_DEFINED__
  342. typedef interface ISWbemObjectEx ISWbemObjectEx;
  343. #endif  /* __ISWbemObjectEx_FWD_DEFINED__ */
  344. #ifndef __ISWbemLastError_FWD_DEFINED__
  345. #define __ISWbemLastError_FWD_DEFINED__
  346. typedef interface ISWbemLastError ISWbemLastError;
  347. #endif  /* __ISWbemLastError_FWD_DEFINED__ */
  348. #ifndef __ISWbemObjectSet_FWD_DEFINED__
  349. #define __ISWbemObjectSet_FWD_DEFINED__
  350. typedef interface ISWbemObjectSet ISWbemObjectSet;
  351. #endif  /* __ISWbemObjectSet_FWD_DEFINED__ */
  352. #ifndef __ISWbemNamedValueSet_FWD_DEFINED__
  353. #define __ISWbemNamedValueSet_FWD_DEFINED__
  354. typedef interface ISWbemNamedValueSet ISWbemNamedValueSet;
  355. #endif  /* __ISWbemNamedValueSet_FWD_DEFINED__ */
  356. #ifndef __ISWbemNamedValue_FWD_DEFINED__
  357. #define __ISWbemNamedValue_FWD_DEFINED__
  358. typedef interface ISWbemNamedValue ISWbemNamedValue;
  359. #endif  /* __ISWbemNamedValue_FWD_DEFINED__ */
  360. #ifndef __ISWbemObjectPath_FWD_DEFINED__
  361. #define __ISWbemObjectPath_FWD_DEFINED__
  362. typedef interface ISWbemObjectPath ISWbemObjectPath;
  363. #endif  /* __ISWbemObjectPath_FWD_DEFINED__ */
  364. #ifndef __ISWbemProperty_FWD_DEFINED__
  365. #define __ISWbemProperty_FWD_DEFINED__
  366. typedef interface ISWbemProperty ISWbemProperty;
  367. #endif  /* __ISWbemProperty_FWD_DEFINED__ */
  368. #ifndef __ISWbemPropertySet_FWD_DEFINED__
  369. #define __ISWbemPropertySet_FWD_DEFINED__
  370. typedef interface ISWbemPropertySet ISWbemPropertySet;
  371. #endif  /* __ISWbemPropertySet_FWD_DEFINED__ */
  372. #ifndef __ISWbemQualifier_FWD_DEFINED__
  373. #define __ISWbemQualifier_FWD_DEFINED__
  374. typedef interface ISWbemQualifier ISWbemQualifier;
  375. #endif  /* __ISWbemQualifier_FWD_DEFINED__ */
  376. #ifndef __ISWbemQualifierSet_FWD_DEFINED__
  377. #define __ISWbemQualifierSet_FWD_DEFINED__
  378. typedef interface ISWbemQualifierSet ISWbemQualifierSet;
  379. #endif  /* __ISWbemQualifierSet_FWD_DEFINED__ */
  380. #ifndef __ISWbemMethod_FWD_DEFINED__
  381. #define __ISWbemMethod_FWD_DEFINED__
  382. typedef interface ISWbemMethod ISWbemMethod;
  383. #endif  /* __ISWbemMethod_FWD_DEFINED__ */
  384. #ifndef __ISWbemMethodSet_FWD_DEFINED__
  385. #define __ISWbemMethodSet_FWD_DEFINED__
  386. typedef interface ISWbemMethodSet ISWbemMethodSet;
  387. #endif  /* __ISWbemMethodSet_FWD_DEFINED__ */
  388. #ifndef __ISWbemSink_FWD_DEFINED__
  389. #define __ISWbemSink_FWD_DEFINED__
  390. typedef interface ISWbemSink ISWbemSink;
  391. #endif  /* __ISWbemSink_FWD_DEFINED__ */
  392. #ifndef __ISWbemSinkEvents_FWD_DEFINED__
  393. #define __ISWbemSinkEvents_FWD_DEFINED__
  394. typedef interface ISWbemSinkEvents ISWbemSinkEvents;
  395. #endif  /* __ISWbemSinkEvents_FWD_DEFINED__ */
  396. #ifndef __ISWbemEventSource_FWD_DEFINED__
  397. #define __ISWbemEventSource_FWD_DEFINED__
  398. typedef interface ISWbemEventSource ISWbemEventSource;
  399. #endif  /* __ISWbemEventSource_FWD_DEFINED__ */
  400. #ifndef __ISWbemSecurity_FWD_DEFINED__
  401. #define __ISWbemSecurity_FWD_DEFINED__
  402. typedef interface ISWbemSecurity ISWbemSecurity;
  403. #endif  /* __ISWbemSecurity_FWD_DEFINED__ */
  404. #ifndef __ISWbemPrivilege_FWD_DEFINED__
  405. #define __ISWbemPrivilege_FWD_DEFINED__
  406. typedef interface ISWbemPrivilege ISWbemPrivilege;
  407. #endif  /* __ISWbemPrivilege_FWD_DEFINED__ */
  408. #ifndef __ISWbemPrivilegeSet_FWD_DEFINED__
  409. #define __ISWbemPrivilegeSet_FWD_DEFINED__
  410. typedef interface ISWbemPrivilegeSet ISWbemPrivilegeSet;
  411. #endif  /* __ISWbemPrivilegeSet_FWD_DEFINED__ */
  412. #ifndef __ISWbemDateTime_FWD_DEFINED__
  413. #define __ISWbemDateTime_FWD_DEFINED__
  414. typedef interface ISWbemDateTime ISWbemDateTime;
  415. #endif  /* __ISWbemDateTime_FWD_DEFINED__ */
  416. #ifndef __ISWbemRefreshableItem_FWD_DEFINED__
  417. #define __ISWbemRefreshableItem_FWD_DEFINED__
  418. typedef interface ISWbemRefreshableItem ISWbemRefreshableItem;
  419. #endif  /* __ISWbemRefreshableItem_FWD_DEFINED__ */
  420. #ifndef __ISWbemRefresher_FWD_DEFINED__
  421. #define __ISWbemRefresher_FWD_DEFINED__
  422. typedef interface ISWbemRefresher ISWbemRefresher;
  423. #endif  /* __ISWbemRefresher_FWD_DEFINED__ */
  424. /* header files for imported files */
  425. #include "dispex.h"
  426. #ifdef __cplusplus
  427. extern "C"{
  428. #endif 
  429. void * __RPC_USER MIDL_user_allocate(size_t);
  430. void __RPC_USER MIDL_user_free( void * ); 
  431. #ifndef __WbemScripting_LIBRARY_DEFINED__
  432. #define __WbemScripting_LIBRARY_DEFINED__
  433. /* library WbemScripting */
  434. /* [helpstring][version][lcid][uuid] */ 
  435. typedef /* [helpstring][uuid][v1_enum] */  DECLSPEC_UUID("4A249B72-FC9A-11d1-8B1E-00600806D9B6") 
  436. enum WbemChangeFlagEnum
  437.     { wbemChangeFlagCreateOrUpdate = 0,
  438. wbemChangeFlagUpdateOnly = 0x1,
  439. wbemChangeFlagCreateOnly = 0x2,
  440. wbemChangeFlagUpdateCompatible = 0,
  441. wbemChangeFlagUpdateSafeMode = 0x20,
  442. wbemChangeFlagUpdateForceMode = 0x40,
  443. wbemChangeFlagStrongValidation = 0x80,
  444. wbemChangeFlagAdvisory = 0x10000
  445.     }  WbemChangeFlagEnum;
  446. typedef /* [helpstring][uuid][v1_enum] */  DECLSPEC_UUID("4A249B73-FC9A-11d1-8B1E-00600806D9B6") 
  447. enum WbemFlagEnum
  448.     { wbemFlagReturnImmediately = 0x10,
  449. wbemFlagReturnWhenComplete = 0,
  450. wbemFlagBidirectional = 0,
  451. wbemFlagForwardOnly = 0x20,
  452. wbemFlagNoErrorObject = 0x40,
  453. wbemFlagReturnErrorObject = 0,
  454. wbemFlagSendStatus = 0x80,
  455. wbemFlagDontSendStatus = 0,
  456. wbemFlagEnsureLocatable = 0x100,
  457. wbemFlagDirectRead = 0x200,
  458. wbemFlagSendOnlySelected = 0,
  459. wbemFlagUseAmendedQualifiers = 0x20000,
  460. wbemFlagGetDefault = 0,
  461. wbemFlagSpawnInstance = 0x1,
  462. wbemFlagUseCurrentTime = 0x1
  463.     }  WbemFlagEnum;
  464. typedef /* [helpstring][uuid][v1_enum] */  DECLSPEC_UUID("4A249B76-FC9A-11d1-8B1E-00600806D9B6") 
  465. enum WbemQueryFlagEnum
  466.     { wbemQueryFlagDeep = 0,
  467. wbemQueryFlagShallow = 1,
  468. wbemQueryFlagPrototype = 2
  469.     }  WbemQueryFlagEnum;
  470. typedef /* [helpstring][uuid][v1_enum] */  DECLSPEC_UUID("4A249B78-FC9A-11d1-8B1E-00600806D9B6") 
  471. enum WbemTextFlagEnum
  472.     { wbemTextFlagNoFlavors = 0x1
  473.     }  WbemTextFlagEnum;
  474. typedef /* [helpstring][uuid][v1_enum] */  DECLSPEC_UUID("BF078C2A-07D9-11d2-8B21-00600806D9B6") 
  475. enum WbemTimeout
  476.     { wbemTimeoutInfinite = 0xffffffff
  477.     }  WbemTimeout;
  478. typedef /* [helpstring][uuid][v1_enum] */  DECLSPEC_UUID("4A249B79-FC9A-11d1-8B1E-00600806D9B6") 
  479. enum WbemComparisonFlagEnum
  480.     { wbemComparisonFlagIncludeAll = 0,
  481. wbemComparisonFlagIgnoreQualifiers = 0x1,
  482. wbemComparisonFlagIgnoreObjectSource = 0x2,
  483. wbemComparisonFlagIgnoreDefaultValues = 0x4,
  484. wbemComparisonFlagIgnoreClass = 0x8,
  485. wbemComparisonFlagIgnoreCase = 0x10,
  486. wbemComparisonFlagIgnoreFlavor = 0x20
  487.     }  WbemComparisonFlagEnum;
  488. typedef /* [helpstring][uuid][v1_enum] */  DECLSPEC_UUID("4A249B7B-FC9A-11d1-8B1E-00600806D9B6") 
  489. enum WbemCimtypeEnum
  490.     { wbemCimtypeSint8 = 16,
  491. wbemCimtypeUint8 = 17,
  492. wbemCimtypeSint16 = 2,
  493. wbemCimtypeUint16 = 18,
  494. wbemCimtypeSint32 = 3,
  495. wbemCimtypeUint32 = 19,
  496. wbemCimtypeSint64 = 20,
  497. wbemCimtypeUint64 = 21,
  498. wbemCimtypeReal32 = 4,
  499. wbemCimtypeReal64 = 5,
  500. wbemCimtypeBoolean = 11,
  501. wbemCimtypeString = 8,
  502. wbemCimtypeDatetime = 101,
  503. wbemCimtypeReference = 102,
  504. wbemCimtypeChar16 = 103,
  505. wbemCimtypeObject = 13
  506.     }  WbemCimtypeEnum;
  507. typedef /* [helpstring][uuid][v1_enum] */  DECLSPEC_UUID("4A249B7C-FC9A-11d1-8B1E-00600806D9B6") 
  508. enum WbemErrorEnum
  509.     { wbemNoErr = 0,
  510. wbemErrFailed = 0x80041001,
  511. wbemErrNotFound = 0x80041002,
  512. wbemErrAccessDenied = 0x80041003,
  513. wbemErrProviderFailure = 0x80041004,
  514. wbemErrTypeMismatch = 0x80041005,
  515. wbemErrOutOfMemory = 0x80041006,
  516. wbemErrInvalidContext = 0x80041007,
  517. wbemErrInvalidParameter = 0x80041008,
  518. wbemErrNotAvailable = 0x80041009,
  519. wbemErrCriticalError = 0x8004100a,
  520. wbemErrInvalidStream = 0x8004100b,
  521. wbemErrNotSupported = 0x8004100c,
  522. wbemErrInvalidSuperclass = 0x8004100d,
  523. wbemErrInvalidNamespace = 0x8004100e,
  524. wbemErrInvalidObject = 0x8004100f,
  525. wbemErrInvalidClass = 0x80041010,
  526. wbemErrProviderNotFound = 0x80041011,
  527. wbemErrInvalidProviderRegistration = 0x80041012,
  528. wbemErrProviderLoadFailure = 0x80041013,
  529. wbemErrInitializationFailure = 0x80041014,
  530. wbemErrTransportFailure = 0x80041015,
  531. wbemErrInvalidOperation = 0x80041016,
  532. wbemErrInvalidQuery = 0x80041017,
  533. wbemErrInvalidQueryType = 0x80041018,
  534. wbemErrAlreadyExists = 0x80041019,
  535. wbemErrOverrideNotAllowed = 0x8004101a,
  536. wbemErrPropagatedQualifier = 0x8004101b,
  537. wbemErrPropagatedProperty = 0x8004101c,
  538. wbemErrUnexpected = 0x8004101d,
  539. wbemErrIllegalOperation = 0x8004101e,
  540. wbemErrCannotBeKey = 0x8004101f,
  541. wbemErrIncompleteClass = 0x80041020,
  542. wbemErrInvalidSyntax = 0x80041021,
  543. wbemErrNondecoratedObject = 0x80041022,
  544. wbemErrReadOnly = 0x80041023,
  545. wbemErrProviderNotCapable = 0x80041024,
  546. wbemErrClassHasChildren = 0x80041025,
  547. wbemErrClassHasInstances = 0x80041026,
  548. wbemErrQueryNotImplemented = 0x80041027,
  549. wbemErrIllegalNull = 0x80041028,
  550. wbemErrInvalidQualifierType = 0x80041029,
  551. wbemErrInvalidPropertyType = 0x8004102a,
  552. wbemErrValueOutOfRange = 0x8004102b,
  553. wbemErrCannotBeSingleton = 0x8004102c,
  554. wbemErrInvalidCimType = 0x8004102d,
  555. wbemErrInvalidMethod = 0x8004102e,
  556. wbemErrInvalidMethodParameters = 0x8004102f,
  557. wbemErrSystemProperty = 0x80041030,
  558. wbemErrInvalidProperty = 0x80041031,
  559. wbemErrCallCancelled = 0x80041032,
  560. wbemErrShuttingDown = 0x80041033,
  561. wbemErrPropagatedMethod = 0x80041034,
  562. wbemErrUnsupportedParameter = 0x80041035,
  563. wbemErrMissingParameter = 0x80041036,
  564. wbemErrInvalidParameterId = 0x80041037,
  565. wbemErrNonConsecutiveParameterIds = 0x80041038,
  566. wbemErrParameterIdOnRetval = 0x80041039,
  567. wbemErrInvalidObjectPath = 0x8004103a,
  568. wbemErrOutOfDiskSpace = 0x8004103b,
  569. wbemErrBufferTooSmall = 0x8004103c,
  570. wbemErrUnsupportedPutExtension = 0x8004103d,
  571. wbemErrUnknownObjectType = 0x8004103e,
  572. wbemErrUnknownPacketType = 0x8004103f,
  573. wbemErrMarshalVersionMismatch = 0x80041040,
  574. wbemErrMarshalInvalidSignature = 0x80041041,
  575. wbemErrInvalidQualifier = 0x80041042,
  576. wbemErrInvalidDuplicateParameter = 0x80041043,
  577. wbemErrTooMuchData = 0x80041044,
  578. wbemErrServerTooBusy = 0x80041045,
  579. wbemErrInvalidFlavor = 0x80041046,
  580. wbemErrCircularReference = 0x80041047,
  581. wbemErrUnsupportedClassUpdate = 0x80041048,
  582. wbemErrCannotChangeKeyInheritance = 0x80041049,
  583. wbemErrCannotChangeIndexInheritance = 0x80041050,
  584. wbemErrTooManyProperties = 0x80041051,
  585. wbemErrUpdateTypeMismatch = 0x80041052,
  586. wbemErrUpdateOverrideNotAllowed = 0x80041053,
  587. wbemErrUpdatePropagatedMethod = 0x80041054,
  588. wbemErrMethodNotImplemented = 0x80041055,
  589. wbemErrMethodDisabled = 0x80041056,
  590. wbemErrRefresherBusy = 0x80041057,
  591. wbemErrUnparsableQuery = 0x80041058,
  592. wbemErrNotEventClass = 0x80041059,
  593. wbemErrMissingGroupWithin = 0x8004105a,
  594. wbemErrMissingAggregationList = 0x8004105b,
  595. wbemErrPropertyNotAnObject = 0x8004105c,
  596. wbemErrAggregatingByObject = 0x8004105d,
  597. wbemErrUninterpretableProviderQuery = 0x8004105f,
  598. wbemErrBackupRestoreWinmgmtRunning = 0x80041060,
  599. wbemErrQueueOverflow = 0x80041061,
  600. wbemErrPrivilegeNotHeld = 0x80041062,
  601. wbemErrInvalidOperator = 0x80041063,
  602. wbemErrLocalCredentials = 0x80041064,
  603. wbemErrCannotBeAbstract = 0x80041065,
  604. wbemErrAmendedObject = 0x80041066,
  605. wbemErrClientTooSlow = 0x80041067,
  606. wbemErrNullSecurityDescriptor = 0x80041068,
  607. wbemErrTimeout = 0x80041069,
  608. wbemErrInvalidAssociation = 0x8004106a,
  609. wbemErrAmbiguousOperation = 0x8004106b,
  610. wbemErrQuotaViolation = 0x8004106c,
  611. wbemErrTransactionConflict = 0x8004106d,
  612. wbemErrForcedRollback = 0x8004106e,
  613. wbemErrUnsupportedLocale = 0x8004106f,
  614. wbemErrHandleOutOfDate = 0x80041070,
  615. wbemErrConnectionFailed = 0x80041071,
  616. wbemErrInvalidHandleRequest = 0x80041072,
  617. wbemErrPropertyNameTooWide = 0x80041073,
  618. wbemErrClassNameTooWide = 0x80041074,
  619. wbemErrMethodNameTooWide = 0x80041075,
  620. wbemErrQualifierNameTooWide = 0x80041076,
  621. wbemErrRerunCommand = 0x80041077,
  622. wbemErrDatabaseVerMismatch = 0x80041078,
  623. wbemErrVetoPut = 0x80041079,
  624. wbemErrVetoDelete = 0x8004107a,
  625. wbemErrInvalidLocale = 0x80041080,
  626. wbemErrProviderSuspended = 0x80041081,
  627. wbemErrSynchronizationRequired = 0x80041082,
  628. wbemErrNoSchema = 0x80041083,
  629. wbemErrProviderAlreadyRegistered = 0x80041084,
  630. wbemErrProviderNotRegistered = 0x80041085,
  631. wbemErrFatalTransportError = 0x80041086,
  632. wbemErrEncryptedConnectionRequired = 0x80041087,
  633. wbemErrRegistrationTooBroad = 0x80042001,
  634. wbemErrRegistrationTooPrecise = 0x80042002,
  635. wbemErrTimedout = 0x80043001,
  636. wbemErrResetToDefault = 0x80043002
  637.     }  WbemErrorEnum;
  638. typedef /* [helpstring][uuid][v1_enum] */  DECLSPEC_UUID("B54D66E7-2287-11d2-8B33-00600806D9B6") 
  639. enum WbemAuthenticationLevelEnum
  640.     { wbemAuthenticationLevelDefault = 0,
  641. wbemAuthenticationLevelNone = 1,
  642. wbemAuthenticationLevelConnect = 2,
  643. wbemAuthenticationLevelCall = 3,
  644. wbemAuthenticationLevelPkt = 4,
  645. wbemAuthenticationLevelPktIntegrity = 5,
  646. wbemAuthenticationLevelPktPrivacy = 6
  647.     }  WbemAuthenticationLevelEnum;
  648. typedef /* [helpstring][uuid][v1_enum] */  DECLSPEC_UUID("B54D66E8-2287-11d2-8B33-00600806D9B6") 
  649. enum WbemImpersonationLevelEnum
  650.     { wbemImpersonationLevelAnonymous = 1,
  651. wbemImpersonationLevelIdentify = 2,
  652. wbemImpersonationLevelImpersonate = 3,
  653. wbemImpersonationLevelDelegate = 4
  654.     }  WbemImpersonationLevelEnum;
  655. typedef /* [helpstring][uuid][v1_enum] */  DECLSPEC_UUID("176D2F70-5AF3-11d2-8B4A-00600806D9B6") 
  656. enum WbemPrivilegeEnum
  657.     { wbemPrivilegeCreateToken = 1,
  658. wbemPrivilegePrimaryToken = 2,
  659. wbemPrivilegeLockMemory = 3,
  660. wbemPrivilegeIncreaseQuota = 4,
  661. wbemPrivilegeMachineAccount = 5,
  662. wbemPrivilegeTcb = 6,
  663. wbemPrivilegeSecurity = 7,
  664. wbemPrivilegeTakeOwnership = 8,
  665. wbemPrivilegeLoadDriver = 9,
  666. wbemPrivilegeSystemProfile = 10,
  667. wbemPrivilegeSystemtime = 11,
  668. wbemPrivilegeProfileSingleProcess = 12,
  669. wbemPrivilegeIncreaseBasePriority = 13,
  670. wbemPrivilegeCreatePagefile = 14,
  671. wbemPrivilegeCreatePermanent = 15,
  672. wbemPrivilegeBackup = 16,
  673. wbemPrivilegeRestore = 17,
  674. wbemPrivilegeShutdown = 18,
  675. wbemPrivilegeDebug = 19,
  676. wbemPrivilegeAudit = 20,
  677. wbemPrivilegeSystemEnvironment = 21,
  678. wbemPrivilegeChangeNotify = 22,
  679. wbemPrivilegeRemoteShutdown = 23,
  680. wbemPrivilegeUndock = 24,
  681. wbemPrivilegeSyncAgent = 25,
  682. wbemPrivilegeEnableDelegation = 26,
  683. wbemPrivilegeManageVolume = 27
  684.     }  WbemPrivilegeEnum;
  685. typedef /* [helpstring][uuid][v1_enum] */  DECLSPEC_UUID("09FF1992-EA0E-11d3-B391-00105A1F473A") 
  686. enum WbemObjectTextFormatEnum
  687.     { wbemObjectTextFormatCIMDTD20 = 1,
  688. wbemObjectTextFormatWMIDTD20 = 2
  689.     }  WbemObjectTextFormatEnum;
  690. typedef /* [helpstring][v1_enum] */ 
  691. enum WbemConnectOptionsEnum
  692.     { wbemConnectFlagUseMaxWait = 0x80
  693.     }  WbemConnectOptionsEnum;
  694. EXTERN_C const IID LIBID_WbemScripting;
  695. #ifndef __ISWbemServices_INTERFACE_DEFINED__
  696. #define __ISWbemServices_INTERFACE_DEFINED__
  697. /* interface ISWbemServices */
  698. /* [helpstring][hidden][unique][dual][oleautomation][uuid][object][local] */ 
  699. EXTERN_C const IID IID_ISWbemServices;
  700. #if defined(__cplusplus) && !defined(CINTERFACE)
  701.     
  702.     MIDL_INTERFACE("76A6415C-CB41-11d1-8B02-00600806D9B6")
  703.     ISWbemServices : public IDispatch
  704.     {
  705.     public:
  706.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Get( 
  707.             /* [defaultvalue][in] */ BSTR strObjectPath,
  708.             /* [defaultvalue][in] */ long iFlags,
  709.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  710.             /* [retval][out] */ ISWbemObject **objWbemObject) = 0;
  711.         
  712.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetAsync( 
  713.             /* [in] */ IDispatch *objWbemSink,
  714.             /* [defaultvalue][in] */ BSTR strObjectPath = L"",
  715.             /* [defaultvalue][in] */ long iFlags = 0,
  716.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  717.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  718.         
  719.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Delete( 
  720.             /* [in] */ BSTR strObjectPath,
  721.             /* [defaultvalue][in] */ long iFlags = 0,
  722.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0) = 0;
  723.         
  724.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteAsync( 
  725.             /* [in] */ IDispatch *objWbemSink,
  726.             /* [in] */ BSTR strObjectPath,
  727.             /* [defaultvalue][in] */ long iFlags = 0,
  728.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  729.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  730.         
  731.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InstancesOf( 
  732.             /* [in] */ BSTR strClass,
  733.             /* [defaultvalue][in] */ long iFlags,
  734.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  735.             /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet) = 0;
  736.         
  737.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InstancesOfAsync( 
  738.             /* [in] */ IDispatch *objWbemSink,
  739.             /* [in] */ BSTR strClass,
  740.             /* [defaultvalue][in] */ long iFlags = 0,
  741.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  742.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  743.         
  744.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SubclassesOf( 
  745.             /* [defaultvalue][in] */ BSTR strSuperclass,
  746.             /* [defaultvalue][in] */ long iFlags,
  747.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  748.             /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet) = 0;
  749.         
  750.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SubclassesOfAsync( 
  751.             /* [in] */ IDispatch *objWbemSink,
  752.             /* [defaultvalue][in] */ BSTR strSuperclass = L"",
  753.             /* [defaultvalue][in] */ long iFlags = wbemQueryFlagDeep,
  754.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  755.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  756.         
  757.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExecQuery( 
  758.             /* [in] */ BSTR strQuery,
  759.             /* [defaultvalue][in] */ BSTR strQueryLanguage,
  760.             /* [defaultvalue][in] */ long iFlags,
  761.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  762.             /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet) = 0;
  763.         
  764.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExecQueryAsync( 
  765.             /* [in] */ IDispatch *objWbemSink,
  766.             /* [in] */ BSTR strQuery,
  767.             /* [defaultvalue][in] */ BSTR strQueryLanguage = L"WQL",
  768.             /* [defaultvalue][in] */ long lFlags = 0,
  769.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  770.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  771.         
  772.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AssociatorsOf( 
  773.             /* [in] */ BSTR strObjectPath,
  774.             /* [defaultvalue][in] */ BSTR strAssocClass,
  775.             /* [defaultvalue][in] */ BSTR strResultClass,
  776.             /* [defaultvalue][in] */ BSTR strResultRole,
  777.             /* [defaultvalue][in] */ BSTR strRole,
  778.             /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  779.             /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  780.             /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  781.             /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  782.             /* [defaultvalue][in] */ long iFlags,
  783.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  784.             /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet) = 0;
  785.         
  786.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AssociatorsOfAsync( 
  787.             /* [in] */ IDispatch *objWbemSink,
  788.             /* [in] */ BSTR strObjectPath,
  789.             /* [defaultvalue][in] */ BSTR strAssocClass = L"",
  790.             /* [defaultvalue][in] */ BSTR strResultClass = L"",
  791.             /* [defaultvalue][in] */ BSTR strResultRole = L"",
  792.             /* [defaultvalue][in] */ BSTR strRole = L"",
  793.             /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly = FALSE,
  794.             /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly = FALSE,
  795.             /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier = L"",
  796.             /* [defaultvalue][in] */ BSTR strRequiredQualifier = L"",
  797.             /* [defaultvalue][in] */ long iFlags = 0,
  798.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  799.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  800.         
  801.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ReferencesTo( 
  802.             /* [in] */ BSTR strObjectPath,
  803.             /* [defaultvalue][in] */ BSTR strResultClass,
  804.             /* [defaultvalue][in] */ BSTR strRole,
  805.             /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  806.             /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  807.             /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  808.             /* [defaultvalue][in] */ long iFlags,
  809.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  810.             /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet) = 0;
  811.         
  812.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ReferencesToAsync( 
  813.             /* [in] */ IDispatch *objWbemSink,
  814.             /* [in] */ BSTR strObjectPath,
  815.             /* [defaultvalue][in] */ BSTR strResultClass = L"",
  816.             /* [defaultvalue][in] */ BSTR strRole = L"",
  817.             /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly = FALSE,
  818.             /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly = FALSE,
  819.             /* [defaultvalue][in] */ BSTR strRequiredQualifier = L"",
  820.             /* [defaultvalue][in] */ long iFlags = 0,
  821.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  822.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  823.         
  824.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExecNotificationQuery( 
  825.             /* [in] */ BSTR strQuery,
  826.             /* [defaultvalue][in] */ BSTR strQueryLanguage,
  827.             /* [defaultvalue][in] */ long iFlags,
  828.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  829.             /* [retval][out] */ ISWbemEventSource **objWbemEventSource) = 0;
  830.         
  831.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExecNotificationQueryAsync( 
  832.             /* [in] */ IDispatch *objWbemSink,
  833.             /* [in] */ BSTR strQuery,
  834.             /* [defaultvalue][in] */ BSTR strQueryLanguage = L"WQL",
  835.             /* [defaultvalue][in] */ long iFlags = 0,
  836.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  837.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  838.         
  839.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExecMethod( 
  840.             /* [in] */ BSTR strObjectPath,
  841.             /* [in] */ BSTR strMethodName,
  842.             /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  843.             /* [defaultvalue][in] */ long iFlags,
  844.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  845.             /* [retval][out] */ ISWbemObject **objWbemOutParameters) = 0;
  846.         
  847.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExecMethodAsync( 
  848.             /* [in] */ IDispatch *objWbemSink,
  849.             /* [in] */ BSTR strObjectPath,
  850.             /* [in] */ BSTR strMethodName,
  851.             /* [defaultvalue][in] */ IDispatch *objWbemInParameters = 0,
  852.             /* [defaultvalue][in] */ long iFlags = 0,
  853.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  854.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  855.         
  856.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Security_( 
  857.             /* [retval][out] */ ISWbemSecurity **objWbemSecurity) = 0;
  858.         
  859.     };
  860.     
  861. #else  /* C style interface */
  862.     typedef struct ISWbemServicesVtbl
  863.     {
  864.         BEGIN_INTERFACE
  865.         
  866.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  867.             ISWbemServices * This,
  868.             /* [in] */ REFIID riid,
  869.             /* [iid_is][out] */ void **ppvObject);
  870.         
  871.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  872.             ISWbemServices * This);
  873.         
  874.         ULONG ( STDMETHODCALLTYPE *Release )( 
  875.             ISWbemServices * This);
  876.         
  877.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  878.             ISWbemServices * This,
  879.             /* [out] */ UINT *pctinfo);
  880.         
  881.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  882.             ISWbemServices * This,
  883.             /* [in] */ UINT iTInfo,
  884.             /* [in] */ LCID lcid,
  885.             /* [out] */ ITypeInfo **ppTInfo);
  886.         
  887.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  888.             ISWbemServices * This,
  889.             /* [in] */ REFIID riid,
  890.             /* [size_is][in] */ LPOLESTR *rgszNames,
  891.             /* [in] */ UINT cNames,
  892.             /* [in] */ LCID lcid,
  893.             /* [size_is][out] */ DISPID *rgDispId);
  894.         
  895.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  896.             ISWbemServices * This,
  897.             /* [in] */ DISPID dispIdMember,
  898.             /* [in] */ REFIID riid,
  899.             /* [in] */ LCID lcid,
  900.             /* [in] */ WORD wFlags,
  901.             /* [out][in] */ DISPPARAMS *pDispParams,
  902.             /* [out] */ VARIANT *pVarResult,
  903.             /* [out] */ EXCEPINFO *pExcepInfo,
  904.             /* [out] */ UINT *puArgErr);
  905.         
  906.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Get )( 
  907.             ISWbemServices * This,
  908.             /* [defaultvalue][in] */ BSTR strObjectPath,
  909.             /* [defaultvalue][in] */ long iFlags,
  910.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  911.             /* [retval][out] */ ISWbemObject **objWbemObject);
  912.         
  913.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetAsync )( 
  914.             ISWbemServices * This,
  915.             /* [in] */ IDispatch *objWbemSink,
  916.             /* [defaultvalue][in] */ BSTR strObjectPath,
  917.             /* [defaultvalue][in] */ long iFlags,
  918.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  919.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  920.         
  921.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( 
  922.             ISWbemServices * This,
  923.             /* [in] */ BSTR strObjectPath,
  924.             /* [defaultvalue][in] */ long iFlags,
  925.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet);
  926.         
  927.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteAsync )( 
  928.             ISWbemServices * This,
  929.             /* [in] */ IDispatch *objWbemSink,
  930.             /* [in] */ BSTR strObjectPath,
  931.             /* [defaultvalue][in] */ long iFlags,
  932.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  933.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  934.         
  935.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InstancesOf )( 
  936.             ISWbemServices * This,
  937.             /* [in] */ BSTR strClass,
  938.             /* [defaultvalue][in] */ long iFlags,
  939.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  940.             /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  941.         
  942.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InstancesOfAsync )( 
  943.             ISWbemServices * This,
  944.             /* [in] */ IDispatch *objWbemSink,
  945.             /* [in] */ BSTR strClass,
  946.             /* [defaultvalue][in] */ long iFlags,
  947.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  948.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  949.         
  950.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SubclassesOf )( 
  951.             ISWbemServices * This,
  952.             /* [defaultvalue][in] */ BSTR strSuperclass,
  953.             /* [defaultvalue][in] */ long iFlags,
  954.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  955.             /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  956.         
  957.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SubclassesOfAsync )( 
  958.             ISWbemServices * This,
  959.             /* [in] */ IDispatch *objWbemSink,
  960.             /* [defaultvalue][in] */ BSTR strSuperclass,
  961.             /* [defaultvalue][in] */ long iFlags,
  962.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  963.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  964.         
  965.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecQuery )( 
  966.             ISWbemServices * This,
  967.             /* [in] */ BSTR strQuery,
  968.             /* [defaultvalue][in] */ BSTR strQueryLanguage,
  969.             /* [defaultvalue][in] */ long iFlags,
  970.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  971.             /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  972.         
  973.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecQueryAsync )( 
  974.             ISWbemServices * This,
  975.             /* [in] */ IDispatch *objWbemSink,
  976.             /* [in] */ BSTR strQuery,
  977.             /* [defaultvalue][in] */ BSTR strQueryLanguage,
  978.             /* [defaultvalue][in] */ long lFlags,
  979.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  980.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  981.         
  982.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AssociatorsOf )( 
  983.             ISWbemServices * This,
  984.             /* [in] */ BSTR strObjectPath,
  985.             /* [defaultvalue][in] */ BSTR strAssocClass,
  986.             /* [defaultvalue][in] */ BSTR strResultClass,
  987.             /* [defaultvalue][in] */ BSTR strResultRole,
  988.             /* [defaultvalue][in] */ BSTR strRole,
  989.             /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  990.             /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  991.             /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  992.             /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  993.             /* [defaultvalue][in] */ long iFlags,
  994.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  995.             /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  996.         
  997.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AssociatorsOfAsync )( 
  998.             ISWbemServices * This,
  999.             /* [in] */ IDispatch *objWbemSink,
  1000.             /* [in] */ BSTR strObjectPath,
  1001.             /* [defaultvalue][in] */ BSTR strAssocClass,
  1002.             /* [defaultvalue][in] */ BSTR strResultClass,
  1003.             /* [defaultvalue][in] */ BSTR strResultRole,
  1004.             /* [defaultvalue][in] */ BSTR strRole,
  1005.             /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1006.             /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1007.             /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  1008.             /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1009.             /* [defaultvalue][in] */ long iFlags,
  1010.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1011.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1012.         
  1013.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ReferencesTo )( 
  1014.             ISWbemServices * This,
  1015.             /* [in] */ BSTR strObjectPath,
  1016.             /* [defaultvalue][in] */ BSTR strResultClass,
  1017.             /* [defaultvalue][in] */ BSTR strRole,
  1018.             /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1019.             /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1020.             /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1021.             /* [defaultvalue][in] */ long iFlags,
  1022.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1023.             /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  1024.         
  1025.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ReferencesToAsync )( 
  1026.             ISWbemServices * This,
  1027.             /* [in] */ IDispatch *objWbemSink,
  1028.             /* [in] */ BSTR strObjectPath,
  1029.             /* [defaultvalue][in] */ BSTR strResultClass,
  1030.             /* [defaultvalue][in] */ BSTR strRole,
  1031.             /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1032.             /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1033.             /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1034.             /* [defaultvalue][in] */ long iFlags,
  1035.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1036.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1037.         
  1038.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecNotificationQuery )( 
  1039.             ISWbemServices * This,
  1040.             /* [in] */ BSTR strQuery,
  1041.             /* [defaultvalue][in] */ BSTR strQueryLanguage,
  1042.             /* [defaultvalue][in] */ long iFlags,
  1043.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1044.             /* [retval][out] */ ISWbemEventSource **objWbemEventSource);
  1045.         
  1046.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecNotificationQueryAsync )( 
  1047.             ISWbemServices * This,
  1048.             /* [in] */ IDispatch *objWbemSink,
  1049.             /* [in] */ BSTR strQuery,
  1050.             /* [defaultvalue][in] */ BSTR strQueryLanguage,
  1051.             /* [defaultvalue][in] */ long iFlags,
  1052.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1053.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1054.         
  1055.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecMethod )( 
  1056.             ISWbemServices * This,
  1057.             /* [in] */ BSTR strObjectPath,
  1058.             /* [in] */ BSTR strMethodName,
  1059.             /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  1060.             /* [defaultvalue][in] */ long iFlags,
  1061.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1062.             /* [retval][out] */ ISWbemObject **objWbemOutParameters);
  1063.         
  1064.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecMethodAsync )( 
  1065.             ISWbemServices * This,
  1066.             /* [in] */ IDispatch *objWbemSink,
  1067.             /* [in] */ BSTR strObjectPath,
  1068.             /* [in] */ BSTR strMethodName,
  1069.             /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  1070.             /* [defaultvalue][in] */ long iFlags,
  1071.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1072.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1073.         
  1074.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Security_ )( 
  1075.             ISWbemServices * This,
  1076.             /* [retval][out] */ ISWbemSecurity **objWbemSecurity);
  1077.         
  1078.         END_INTERFACE
  1079.     } ISWbemServicesVtbl;
  1080.     interface ISWbemServices
  1081.     {
  1082.         CONST_VTBL struct ISWbemServicesVtbl *lpVtbl;
  1083.     };
  1084.     
  1085. #ifdef COBJMACROS
  1086. #define ISWbemServices_QueryInterface(This,riid,ppvObject)
  1087.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1088. #define ISWbemServices_AddRef(This)
  1089.     (This)->lpVtbl -> AddRef(This)
  1090. #define ISWbemServices_Release(This)
  1091.     (This)->lpVtbl -> Release(This)
  1092. #define ISWbemServices_GetTypeInfoCount(This,pctinfo)
  1093.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1094. #define ISWbemServices_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1095.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1096. #define ISWbemServices_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1097.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1098. #define ISWbemServices_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1099.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1100. #define ISWbemServices_Get(This,strObjectPath,iFlags,objWbemNamedValueSet,objWbemObject)
  1101.     (This)->lpVtbl -> Get(This,strObjectPath,iFlags,objWbemNamedValueSet,objWbemObject)
  1102. #define ISWbemServices_GetAsync(This,objWbemSink,strObjectPath,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1103.     (This)->lpVtbl -> GetAsync(This,objWbemSink,strObjectPath,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1104. #define ISWbemServices_Delete(This,strObjectPath,iFlags,objWbemNamedValueSet)
  1105.     (This)->lpVtbl -> Delete(This,strObjectPath,iFlags,objWbemNamedValueSet)
  1106. #define ISWbemServices_DeleteAsync(This,objWbemSink,strObjectPath,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1107.     (This)->lpVtbl -> DeleteAsync(This,objWbemSink,strObjectPath,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1108. #define ISWbemServices_InstancesOf(This,strClass,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1109.     (This)->lpVtbl -> InstancesOf(This,strClass,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1110. #define ISWbemServices_InstancesOfAsync(This,objWbemSink,strClass,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1111.     (This)->lpVtbl -> InstancesOfAsync(This,objWbemSink,strClass,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1112. #define ISWbemServices_SubclassesOf(This,strSuperclass,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1113.     (This)->lpVtbl -> SubclassesOf(This,strSuperclass,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1114. #define ISWbemServices_SubclassesOfAsync(This,objWbemSink,strSuperclass,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1115.     (This)->lpVtbl -> SubclassesOfAsync(This,objWbemSink,strSuperclass,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1116. #define ISWbemServices_ExecQuery(This,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1117.     (This)->lpVtbl -> ExecQuery(This,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1118. #define ISWbemServices_ExecQueryAsync(This,objWbemSink,strQuery,strQueryLanguage,lFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1119.     (This)->lpVtbl -> ExecQueryAsync(This,objWbemSink,strQuery,strQueryLanguage,lFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1120. #define ISWbemServices_AssociatorsOf(This,strObjectPath,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1121.     (This)->lpVtbl -> AssociatorsOf(This,strObjectPath,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1122. #define ISWbemServices_AssociatorsOfAsync(This,objWbemSink,strObjectPath,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1123.     (This)->lpVtbl -> AssociatorsOfAsync(This,objWbemSink,strObjectPath,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1124. #define ISWbemServices_ReferencesTo(This,strObjectPath,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1125.     (This)->lpVtbl -> ReferencesTo(This,strObjectPath,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1126. #define ISWbemServices_ReferencesToAsync(This,objWbemSink,strObjectPath,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1127.     (This)->lpVtbl -> ReferencesToAsync(This,objWbemSink,strObjectPath,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1128. #define ISWbemServices_ExecNotificationQuery(This,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemEventSource)
  1129.     (This)->lpVtbl -> ExecNotificationQuery(This,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemEventSource)
  1130. #define ISWbemServices_ExecNotificationQueryAsync(This,objWbemSink,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1131.     (This)->lpVtbl -> ExecNotificationQueryAsync(This,objWbemSink,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1132. #define ISWbemServices_ExecMethod(This,strObjectPath,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemOutParameters)
  1133.     (This)->lpVtbl -> ExecMethod(This,strObjectPath,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemOutParameters)
  1134. #define ISWbemServices_ExecMethodAsync(This,objWbemSink,strObjectPath,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1135.     (This)->lpVtbl -> ExecMethodAsync(This,objWbemSink,strObjectPath,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1136. #define ISWbemServices_get_Security_(This,objWbemSecurity)
  1137.     (This)->lpVtbl -> get_Security_(This,objWbemSecurity)
  1138. #endif /* COBJMACROS */
  1139. #endif  /* C style interface */
  1140. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_Get_Proxy( 
  1141.     ISWbemServices * This,
  1142.     /* [defaultvalue][in] */ BSTR strObjectPath,
  1143.     /* [defaultvalue][in] */ long iFlags,
  1144.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1145.     /* [retval][out] */ ISWbemObject **objWbemObject);
  1146. void __RPC_STUB ISWbemServices_Get_Stub(
  1147.     IRpcStubBuffer *This,
  1148.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1149.     PRPC_MESSAGE _pRpcMessage,
  1150.     DWORD *_pdwStubPhase);
  1151. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_GetAsync_Proxy( 
  1152.     ISWbemServices * This,
  1153.     /* [in] */ IDispatch *objWbemSink,
  1154.     /* [defaultvalue][in] */ BSTR strObjectPath,
  1155.     /* [defaultvalue][in] */ long iFlags,
  1156.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1157.     /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1158. void __RPC_STUB ISWbemServices_GetAsync_Stub(
  1159.     IRpcStubBuffer *This,
  1160.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1161.     PRPC_MESSAGE _pRpcMessage,
  1162.     DWORD *_pdwStubPhase);
  1163. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_Delete_Proxy( 
  1164.     ISWbemServices * This,
  1165.     /* [in] */ BSTR strObjectPath,
  1166.     /* [defaultvalue][in] */ long iFlags,
  1167.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet);
  1168. void __RPC_STUB ISWbemServices_Delete_Stub(
  1169.     IRpcStubBuffer *This,
  1170.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1171.     PRPC_MESSAGE _pRpcMessage,
  1172.     DWORD *_pdwStubPhase);
  1173. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_DeleteAsync_Proxy( 
  1174.     ISWbemServices * This,
  1175.     /* [in] */ IDispatch *objWbemSink,
  1176.     /* [in] */ BSTR strObjectPath,
  1177.     /* [defaultvalue][in] */ long iFlags,
  1178.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1179.     /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1180. void __RPC_STUB ISWbemServices_DeleteAsync_Stub(
  1181.     IRpcStubBuffer *This,
  1182.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1183.     PRPC_MESSAGE _pRpcMessage,
  1184.     DWORD *_pdwStubPhase);
  1185. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_InstancesOf_Proxy( 
  1186.     ISWbemServices * This,
  1187.     /* [in] */ BSTR strClass,
  1188.     /* [defaultvalue][in] */ long iFlags,
  1189.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1190.     /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  1191. void __RPC_STUB ISWbemServices_InstancesOf_Stub(
  1192.     IRpcStubBuffer *This,
  1193.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1194.     PRPC_MESSAGE _pRpcMessage,
  1195.     DWORD *_pdwStubPhase);
  1196. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_InstancesOfAsync_Proxy( 
  1197.     ISWbemServices * This,
  1198.     /* [in] */ IDispatch *objWbemSink,
  1199.     /* [in] */ BSTR strClass,
  1200.     /* [defaultvalue][in] */ long iFlags,
  1201.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1202.     /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1203. void __RPC_STUB ISWbemServices_InstancesOfAsync_Stub(
  1204.     IRpcStubBuffer *This,
  1205.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1206.     PRPC_MESSAGE _pRpcMessage,
  1207.     DWORD *_pdwStubPhase);
  1208. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_SubclassesOf_Proxy( 
  1209.     ISWbemServices * This,
  1210.     /* [defaultvalue][in] */ BSTR strSuperclass,
  1211.     /* [defaultvalue][in] */ long iFlags,
  1212.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1213.     /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  1214. void __RPC_STUB ISWbemServices_SubclassesOf_Stub(
  1215.     IRpcStubBuffer *This,
  1216.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1217.     PRPC_MESSAGE _pRpcMessage,
  1218.     DWORD *_pdwStubPhase);
  1219. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_SubclassesOfAsync_Proxy( 
  1220.     ISWbemServices * This,
  1221.     /* [in] */ IDispatch *objWbemSink,
  1222.     /* [defaultvalue][in] */ BSTR strSuperclass,
  1223.     /* [defaultvalue][in] */ long iFlags,
  1224.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1225.     /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1226. void __RPC_STUB ISWbemServices_SubclassesOfAsync_Stub(
  1227.     IRpcStubBuffer *This,
  1228.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1229.     PRPC_MESSAGE _pRpcMessage,
  1230.     DWORD *_pdwStubPhase);
  1231. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_ExecQuery_Proxy( 
  1232.     ISWbemServices * This,
  1233.     /* [in] */ BSTR strQuery,
  1234.     /* [defaultvalue][in] */ BSTR strQueryLanguage,
  1235.     /* [defaultvalue][in] */ long iFlags,
  1236.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1237.     /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  1238. void __RPC_STUB ISWbemServices_ExecQuery_Stub(
  1239.     IRpcStubBuffer *This,
  1240.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1241.     PRPC_MESSAGE _pRpcMessage,
  1242.     DWORD *_pdwStubPhase);
  1243. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_ExecQueryAsync_Proxy( 
  1244.     ISWbemServices * This,
  1245.     /* [in] */ IDispatch *objWbemSink,
  1246.     /* [in] */ BSTR strQuery,
  1247.     /* [defaultvalue][in] */ BSTR strQueryLanguage,
  1248.     /* [defaultvalue][in] */ long lFlags,
  1249.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1250.     /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1251. void __RPC_STUB ISWbemServices_ExecQueryAsync_Stub(
  1252.     IRpcStubBuffer *This,
  1253.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1254.     PRPC_MESSAGE _pRpcMessage,
  1255.     DWORD *_pdwStubPhase);
  1256. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_AssociatorsOf_Proxy( 
  1257.     ISWbemServices * This,
  1258.     /* [in] */ BSTR strObjectPath,
  1259.     /* [defaultvalue][in] */ BSTR strAssocClass,
  1260.     /* [defaultvalue][in] */ BSTR strResultClass,
  1261.     /* [defaultvalue][in] */ BSTR strResultRole,
  1262.     /* [defaultvalue][in] */ BSTR strRole,
  1263.     /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1264.     /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1265.     /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  1266.     /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1267.     /* [defaultvalue][in] */ long iFlags,
  1268.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1269.     /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  1270. void __RPC_STUB ISWbemServices_AssociatorsOf_Stub(
  1271.     IRpcStubBuffer *This,
  1272.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1273.     PRPC_MESSAGE _pRpcMessage,
  1274.     DWORD *_pdwStubPhase);
  1275. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_AssociatorsOfAsync_Proxy( 
  1276.     ISWbemServices * This,
  1277.     /* [in] */ IDispatch *objWbemSink,
  1278.     /* [in] */ BSTR strObjectPath,
  1279.     /* [defaultvalue][in] */ BSTR strAssocClass,
  1280.     /* [defaultvalue][in] */ BSTR strResultClass,
  1281.     /* [defaultvalue][in] */ BSTR strResultRole,
  1282.     /* [defaultvalue][in] */ BSTR strRole,
  1283.     /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1284.     /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1285.     /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  1286.     /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1287.     /* [defaultvalue][in] */ long iFlags,
  1288.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1289.     /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1290. void __RPC_STUB ISWbemServices_AssociatorsOfAsync_Stub(
  1291.     IRpcStubBuffer *This,
  1292.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1293.     PRPC_MESSAGE _pRpcMessage,
  1294.     DWORD *_pdwStubPhase);
  1295. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_ReferencesTo_Proxy( 
  1296.     ISWbemServices * This,
  1297.     /* [in] */ BSTR strObjectPath,
  1298.     /* [defaultvalue][in] */ BSTR strResultClass,
  1299.     /* [defaultvalue][in] */ BSTR strRole,
  1300.     /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1301.     /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1302.     /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1303.     /* [defaultvalue][in] */ long iFlags,
  1304.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1305.     /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  1306. void __RPC_STUB ISWbemServices_ReferencesTo_Stub(
  1307.     IRpcStubBuffer *This,
  1308.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1309.     PRPC_MESSAGE _pRpcMessage,
  1310.     DWORD *_pdwStubPhase);
  1311. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_ReferencesToAsync_Proxy( 
  1312.     ISWbemServices * This,
  1313.     /* [in] */ IDispatch *objWbemSink,
  1314.     /* [in] */ BSTR strObjectPath,
  1315.     /* [defaultvalue][in] */ BSTR strResultClass,
  1316.     /* [defaultvalue][in] */ BSTR strRole,
  1317.     /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1318.     /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1319.     /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1320.     /* [defaultvalue][in] */ long iFlags,
  1321.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1322.     /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1323. void __RPC_STUB ISWbemServices_ReferencesToAsync_Stub(
  1324.     IRpcStubBuffer *This,
  1325.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1326.     PRPC_MESSAGE _pRpcMessage,
  1327.     DWORD *_pdwStubPhase);
  1328. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_ExecNotificationQuery_Proxy( 
  1329.     ISWbemServices * This,
  1330.     /* [in] */ BSTR strQuery,
  1331.     /* [defaultvalue][in] */ BSTR strQueryLanguage,
  1332.     /* [defaultvalue][in] */ long iFlags,
  1333.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1334.     /* [retval][out] */ ISWbemEventSource **objWbemEventSource);
  1335. void __RPC_STUB ISWbemServices_ExecNotificationQuery_Stub(
  1336.     IRpcStubBuffer *This,
  1337.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1338.     PRPC_MESSAGE _pRpcMessage,
  1339.     DWORD *_pdwStubPhase);
  1340. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_ExecNotificationQueryAsync_Proxy( 
  1341.     ISWbemServices * This,
  1342.     /* [in] */ IDispatch *objWbemSink,
  1343.     /* [in] */ BSTR strQuery,
  1344.     /* [defaultvalue][in] */ BSTR strQueryLanguage,
  1345.     /* [defaultvalue][in] */ long iFlags,
  1346.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1347.     /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1348. void __RPC_STUB ISWbemServices_ExecNotificationQueryAsync_Stub(
  1349.     IRpcStubBuffer *This,
  1350.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1351.     PRPC_MESSAGE _pRpcMessage,
  1352.     DWORD *_pdwStubPhase);
  1353. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_ExecMethod_Proxy( 
  1354.     ISWbemServices * This,
  1355.     /* [in] */ BSTR strObjectPath,
  1356.     /* [in] */ BSTR strMethodName,
  1357.     /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  1358.     /* [defaultvalue][in] */ long iFlags,
  1359.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1360.     /* [retval][out] */ ISWbemObject **objWbemOutParameters);
  1361. void __RPC_STUB ISWbemServices_ExecMethod_Stub(
  1362.     IRpcStubBuffer *This,
  1363.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1364.     PRPC_MESSAGE _pRpcMessage,
  1365.     DWORD *_pdwStubPhase);
  1366. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_ExecMethodAsync_Proxy( 
  1367.     ISWbemServices * This,
  1368.     /* [in] */ IDispatch *objWbemSink,
  1369.     /* [in] */ BSTR strObjectPath,
  1370.     /* [in] */ BSTR strMethodName,
  1371.     /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  1372.     /* [defaultvalue][in] */ long iFlags,
  1373.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1374.     /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1375. void __RPC_STUB ISWbemServices_ExecMethodAsync_Stub(
  1376.     IRpcStubBuffer *This,
  1377.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1378.     PRPC_MESSAGE _pRpcMessage,
  1379.     DWORD *_pdwStubPhase);
  1380. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_get_Security__Proxy( 
  1381.     ISWbemServices * This,
  1382.     /* [retval][out] */ ISWbemSecurity **objWbemSecurity);
  1383. void __RPC_STUB ISWbemServices_get_Security__Stub(
  1384.     IRpcStubBuffer *This,
  1385.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1386.     PRPC_MESSAGE _pRpcMessage,
  1387.     DWORD *_pdwStubPhase);
  1388. #endif  /* __ISWbemServices_INTERFACE_DEFINED__ */
  1389. #ifndef __ISWbemLocator_INTERFACE_DEFINED__
  1390. #define __ISWbemLocator_INTERFACE_DEFINED__
  1391. /* interface ISWbemLocator */
  1392. /* [helpstring][unique][oleautomation][hidden][dual][uuid][local][object] */ 
  1393. EXTERN_C const IID IID_ISWbemLocator;
  1394. #if defined(__cplusplus) && !defined(CINTERFACE)
  1395.     
  1396.     MIDL_INTERFACE("76A6415B-CB41-11d1-8B02-00600806D9B6")
  1397.     ISWbemLocator : public IDispatch
  1398.     {
  1399.     public:
  1400.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ConnectServer( 
  1401.             /* [defaultvalue][in] */ BSTR strServer,
  1402.             /* [defaultvalue][in] */ BSTR strNamespace,
  1403.             /* [defaultvalue][in] */ BSTR strUser,
  1404.             /* [defaultvalue][in] */ BSTR strPassword,
  1405.             /* [defaultvalue][in] */ BSTR strLocale,
  1406.             /* [defaultvalue][in] */ BSTR strAuthority,
  1407.             /* [defaultvalue][in] */ long iSecurityFlags,
  1408.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1409.             /* [retval][out] */ ISWbemServices **objWbemServices) = 0;
  1410.         
  1411.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Security_( 
  1412.             /* [retval][out] */ ISWbemSecurity **objWbemSecurity) = 0;
  1413.         
  1414.     };
  1415.     
  1416. #else  /* C style interface */
  1417.     typedef struct ISWbemLocatorVtbl
  1418.     {
  1419.         BEGIN_INTERFACE
  1420.         
  1421.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1422.             ISWbemLocator * This,
  1423.             /* [in] */ REFIID riid,
  1424.             /* [iid_is][out] */ void **ppvObject);
  1425.         
  1426.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1427.             ISWbemLocator * This);
  1428.         
  1429.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1430.             ISWbemLocator * This);
  1431.         
  1432.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1433.             ISWbemLocator * This,
  1434.             /* [out] */ UINT *pctinfo);
  1435.         
  1436.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1437.             ISWbemLocator * This,
  1438.             /* [in] */ UINT iTInfo,
  1439.             /* [in] */ LCID lcid,
  1440.             /* [out] */ ITypeInfo **ppTInfo);
  1441.         
  1442.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1443.             ISWbemLocator * This,
  1444.             /* [in] */ REFIID riid,
  1445.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1446.             /* [in] */ UINT cNames,
  1447.             /* [in] */ LCID lcid,
  1448.             /* [size_is][out] */ DISPID *rgDispId);
  1449.         
  1450.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1451.             ISWbemLocator * This,
  1452.             /* [in] */ DISPID dispIdMember,
  1453.             /* [in] */ REFIID riid,
  1454.             /* [in] */ LCID lcid,
  1455.             /* [in] */ WORD wFlags,
  1456.             /* [out][in] */ DISPPARAMS *pDispParams,
  1457.             /* [out] */ VARIANT *pVarResult,
  1458.             /* [out] */ EXCEPINFO *pExcepInfo,
  1459.             /* [out] */ UINT *puArgErr);
  1460.         
  1461.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ConnectServer )( 
  1462.             ISWbemLocator * This,
  1463.             /* [defaultvalue][in] */ BSTR strServer,
  1464.             /* [defaultvalue][in] */ BSTR strNamespace,
  1465.             /* [defaultvalue][in] */ BSTR strUser,
  1466.             /* [defaultvalue][in] */ BSTR strPassword,
  1467.             /* [defaultvalue][in] */ BSTR strLocale,
  1468.             /* [defaultvalue][in] */ BSTR strAuthority,
  1469.             /* [defaultvalue][in] */ long iSecurityFlags,
  1470.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1471.             /* [retval][out] */ ISWbemServices **objWbemServices);
  1472.         
  1473.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Security_ )( 
  1474.             ISWbemLocator * This,
  1475.             /* [retval][out] */ ISWbemSecurity **objWbemSecurity);
  1476.         
  1477.         END_INTERFACE
  1478.     } ISWbemLocatorVtbl;
  1479.     interface ISWbemLocator
  1480.     {
  1481.         CONST_VTBL struct ISWbemLocatorVtbl *lpVtbl;
  1482.     };
  1483.     
  1484. #ifdef COBJMACROS
  1485. #define ISWbemLocator_QueryInterface(This,riid,ppvObject)
  1486.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1487. #define ISWbemLocator_AddRef(This)
  1488.     (This)->lpVtbl -> AddRef(This)
  1489. #define ISWbemLocator_Release(This)
  1490.     (This)->lpVtbl -> Release(This)
  1491. #define ISWbemLocator_GetTypeInfoCount(This,pctinfo)
  1492.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1493. #define ISWbemLocator_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1494.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1495. #define ISWbemLocator_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1496.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1497. #define ISWbemLocator_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1498.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1499. #define ISWbemLocator_ConnectServer(This,strServer,strNamespace,strUser,strPassword,strLocale,strAuthority,iSecurityFlags,objWbemNamedValueSet,objWbemServices)
  1500.     (This)->lpVtbl -> ConnectServer(This,strServer,strNamespace,strUser,strPassword,strLocale,strAuthority,iSecurityFlags,objWbemNamedValueSet,objWbemServices)
  1501. #define ISWbemLocator_get_Security_(This,objWbemSecurity)
  1502.     (This)->lpVtbl -> get_Security_(This,objWbemSecurity)
  1503. #endif /* COBJMACROS */
  1504. #endif  /* C style interface */
  1505. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemLocator_ConnectServer_Proxy( 
  1506.     ISWbemLocator * This,
  1507.     /* [defaultvalue][in] */ BSTR strServer,
  1508.     /* [defaultvalue][in] */ BSTR strNamespace,
  1509.     /* [defaultvalue][in] */ BSTR strUser,
  1510.     /* [defaultvalue][in] */ BSTR strPassword,
  1511.     /* [defaultvalue][in] */ BSTR strLocale,
  1512.     /* [defaultvalue][in] */ BSTR strAuthority,
  1513.     /* [defaultvalue][in] */ long iSecurityFlags,
  1514.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1515.     /* [retval][out] */ ISWbemServices **objWbemServices);
  1516. void __RPC_STUB ISWbemLocator_ConnectServer_Stub(
  1517.     IRpcStubBuffer *This,
  1518.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1519.     PRPC_MESSAGE _pRpcMessage,
  1520.     DWORD *_pdwStubPhase);
  1521. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemLocator_get_Security__Proxy( 
  1522.     ISWbemLocator * This,
  1523.     /* [retval][out] */ ISWbemSecurity **objWbemSecurity);
  1524. void __RPC_STUB ISWbemLocator_get_Security__Stub(
  1525.     IRpcStubBuffer *This,
  1526.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1527.     PRPC_MESSAGE _pRpcMessage,
  1528.     DWORD *_pdwStubPhase);
  1529. #endif  /* __ISWbemLocator_INTERFACE_DEFINED__ */
  1530. #ifndef __ISWbemObject_INTERFACE_DEFINED__
  1531. #define __ISWbemObject_INTERFACE_DEFINED__
  1532. /* interface ISWbemObject */
  1533. /* [helpstring][hidden][oleautomation][dual][uuid][object][local] */ 
  1534. #define WBEMS_DISPID_DERIVATION ( 23 )
  1535. EXTERN_C const IID IID_ISWbemObject;
  1536. #if defined(__cplusplus) && !defined(CINTERFACE)
  1537.     
  1538.     MIDL_INTERFACE("76A6415A-CB41-11d1-8B02-00600806D9B6")
  1539.     ISWbemObject : public IDispatch
  1540.     {
  1541.     public:
  1542.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Put_( 
  1543.             /* [defaultvalue][in] */ long iFlags,
  1544.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1545.             /* [retval][out] */ ISWbemObjectPath **objWbemObjectPath) = 0;
  1546.         
  1547.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PutAsync_( 
  1548.             /* [in] */ IDispatch *objWbemSink,
  1549.             /* [defaultvalue][in] */ long iFlags = wbemChangeFlagCreateOrUpdate,
  1550.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  1551.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  1552.         
  1553.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Delete_( 
  1554.             /* [defaultvalue][in] */ long iFlags = 0,
  1555.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0) = 0;
  1556.         
  1557.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteAsync_( 
  1558.             /* [in] */ IDispatch *objWbemSink,
  1559.             /* [defaultvalue][in] */ long iFlags = 0,
  1560.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  1561.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  1562.         
  1563.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Instances_( 
  1564.             /* [defaultvalue][in] */ long iFlags,
  1565.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1566.             /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet) = 0;
  1567.         
  1568.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InstancesAsync_( 
  1569.             /* [in] */ IDispatch *objWbemSink,
  1570.             /* [defaultvalue][in] */ long iFlags = 0,
  1571.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  1572.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  1573.         
  1574.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Subclasses_( 
  1575.             /* [defaultvalue][in] */ long iFlags,
  1576.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1577.             /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet) = 0;
  1578.         
  1579.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SubclassesAsync_( 
  1580.             /* [in] */ IDispatch *objWbemSink,
  1581.             /* [defaultvalue][in] */ long iFlags = wbemQueryFlagDeep,
  1582.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  1583.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  1584.         
  1585.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Associators_( 
  1586.             /* [defaultvalue][in] */ BSTR strAssocClass,
  1587.             /* [defaultvalue][in] */ BSTR strResultClass,
  1588.             /* [defaultvalue][in] */ BSTR strResultRole,
  1589.             /* [defaultvalue][in] */ BSTR strRole,
  1590.             /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1591.             /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1592.             /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  1593.             /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1594.             /* [defaultvalue][in] */ long iFlags,
  1595.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1596.             /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet) = 0;
  1597.         
  1598.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AssociatorsAsync_( 
  1599.             /* [in] */ IDispatch *objWbemSink,
  1600.             /* [defaultvalue][in] */ BSTR strAssocClass = L"",
  1601.             /* [defaultvalue][in] */ BSTR strResultClass = L"",
  1602.             /* [defaultvalue][in] */ BSTR strResultRole = L"",
  1603.             /* [defaultvalue][in] */ BSTR strRole = L"",
  1604.             /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly = FALSE,
  1605.             /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly = FALSE,
  1606.             /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier = L"",
  1607.             /* [defaultvalue][in] */ BSTR strRequiredQualifier = L"",
  1608.             /* [defaultvalue][in] */ long iFlags = 0,
  1609.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  1610.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  1611.         
  1612.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE References_( 
  1613.             /* [defaultvalue][in] */ BSTR strResultClass,
  1614.             /* [defaultvalue][in] */ BSTR strRole,
  1615.             /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1616.             /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1617.             /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1618.             /* [defaultvalue][in] */ long iFlags,
  1619.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1620.             /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet) = 0;
  1621.         
  1622.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ReferencesAsync_( 
  1623.             /* [in] */ IDispatch *objWbemSink,
  1624.             /* [defaultvalue][in] */ BSTR strResultClass = L"",
  1625.             /* [defaultvalue][in] */ BSTR strRole = L"",
  1626.             /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly = FALSE,
  1627.             /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly = FALSE,
  1628.             /* [defaultvalue][in] */ BSTR strRequiredQualifier = L"",
  1629.             /* [defaultvalue][in] */ long iFlags = 0,
  1630.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  1631.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  1632.         
  1633.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExecMethod_( 
  1634.             /* [in] */ BSTR strMethodName,
  1635.             /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  1636.             /* [defaultvalue][in] */ long iFlags,
  1637.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1638.             /* [retval][out] */ ISWbemObject **objWbemOutParameters) = 0;
  1639.         
  1640.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExecMethodAsync_( 
  1641.             /* [in] */ IDispatch *objWbemSink,
  1642.             /* [in] */ BSTR strMethodName,
  1643.             /* [defaultvalue][in] */ IDispatch *objWbemInParameters = 0,
  1644.             /* [defaultvalue][in] */ long iFlags = 0,
  1645.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  1646.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  1647.         
  1648.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Clone_( 
  1649.             /* [retval][out] */ ISWbemObject **objWbemObject) = 0;
  1650.         
  1651.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetObjectText_( 
  1652.             /* [defaultvalue][in] */ long iFlags,
  1653.             /* [retval][out] */ BSTR *strObjectText) = 0;
  1654.         
  1655.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SpawnDerivedClass_( 
  1656.             /* [defaultvalue][in] */ long iFlags,
  1657.             /* [retval][out] */ ISWbemObject **objWbemObject) = 0;
  1658.         
  1659.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SpawnInstance_( 
  1660.             /* [defaultvalue][in] */ long iFlags,
  1661.             /* [retval][out] */ ISWbemObject **objWbemObject) = 0;
  1662.         
  1663.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CompareTo_( 
  1664.             /* [in] */ IDispatch *objWbemObject,
  1665.             /* [defaultvalue][in] */ long iFlags,
  1666.             /* [retval][out] */ VARIANT_BOOL *bResult) = 0;
  1667.         
  1668.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Qualifiers_( 
  1669.             /* [retval][out] */ ISWbemQualifierSet **objWbemQualifierSet) = 0;
  1670.         
  1671.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Properties_( 
  1672.             /* [retval][out] */ ISWbemPropertySet **objWbemPropertySet) = 0;
  1673.         
  1674.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Methods_( 
  1675.             /* [retval][out] */ ISWbemMethodSet **objWbemMethodSet) = 0;
  1676.         
  1677.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Derivation_( 
  1678.             /* [retval][out] */ VARIANT *strClassNameArray) = 0;
  1679.         
  1680.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Path_( 
  1681.             /* [retval][out] */ ISWbemObjectPath **objWbemObjectPath) = 0;
  1682.         
  1683.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Security_( 
  1684.             /* [retval][out] */ ISWbemSecurity **objWbemSecurity) = 0;
  1685.         
  1686.     };
  1687.     
  1688. #else  /* C style interface */
  1689.     typedef struct ISWbemObjectVtbl
  1690.     {
  1691.         BEGIN_INTERFACE
  1692.         
  1693.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1694.             ISWbemObject * This,
  1695.             /* [in] */ REFIID riid,
  1696.             /* [iid_is][out] */ void **ppvObject);
  1697.         
  1698.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1699.             ISWbemObject * This);
  1700.         
  1701.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1702.             ISWbemObject * This);
  1703.         
  1704.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1705.             ISWbemObject * This,
  1706.             /* [out] */ UINT *pctinfo);
  1707.         
  1708.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1709.             ISWbemObject * This,
  1710.             /* [in] */ UINT iTInfo,
  1711.             /* [in] */ LCID lcid,
  1712.             /* [out] */ ITypeInfo **ppTInfo);
  1713.         
  1714.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1715.             ISWbemObject * This,
  1716.             /* [in] */ REFIID riid,
  1717.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1718.             /* [in] */ UINT cNames,
  1719.             /* [in] */ LCID lcid,
  1720.             /* [size_is][out] */ DISPID *rgDispId);
  1721.         
  1722.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1723.             ISWbemObject * This,
  1724.             /* [in] */ DISPID dispIdMember,
  1725.             /* [in] */ REFIID riid,
  1726.             /* [in] */ LCID lcid,
  1727.             /* [in] */ WORD wFlags,
  1728.             /* [out][in] */ DISPPARAMS *pDispParams,
  1729.             /* [out] */ VARIANT *pVarResult,
  1730.             /* [out] */ EXCEPINFO *pExcepInfo,
  1731.             /* [out] */ UINT *puArgErr);
  1732.         
  1733.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Put_ )( 
  1734.             ISWbemObject * This,
  1735.             /* [defaultvalue][in] */ long iFlags,
  1736.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1737.             /* [retval][out] */ ISWbemObjectPath **objWbemObjectPath);
  1738.         
  1739.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PutAsync_ )( 
  1740.             ISWbemObject * This,
  1741.             /* [in] */ IDispatch *objWbemSink,
  1742.             /* [defaultvalue][in] */ long iFlags,
  1743.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1744.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1745.         
  1746.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete_ )( 
  1747.             ISWbemObject * This,
  1748.             /* [defaultvalue][in] */ long iFlags,
  1749.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet);
  1750.         
  1751.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteAsync_ )( 
  1752.             ISWbemObject * This,
  1753.             /* [in] */ IDispatch *objWbemSink,
  1754.             /* [defaultvalue][in] */ long iFlags,
  1755.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1756.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1757.         
  1758.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Instances_ )( 
  1759.             ISWbemObject * This,
  1760.             /* [defaultvalue][in] */ long iFlags,
  1761.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1762.             /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  1763.         
  1764.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InstancesAsync_ )( 
  1765.             ISWbemObject * This,
  1766.             /* [in] */ IDispatch *objWbemSink,
  1767.             /* [defaultvalue][in] */ long iFlags,
  1768.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1769.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1770.         
  1771.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Subclasses_ )( 
  1772.             ISWbemObject * This,
  1773.             /* [defaultvalue][in] */ long iFlags,
  1774.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1775.             /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  1776.         
  1777.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SubclassesAsync_ )( 
  1778.             ISWbemObject * This,
  1779.             /* [in] */ IDispatch *objWbemSink,
  1780.             /* [defaultvalue][in] */ long iFlags,
  1781.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1782.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1783.         
  1784.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Associators_ )( 
  1785.             ISWbemObject * This,
  1786.             /* [defaultvalue][in] */ BSTR strAssocClass,
  1787.             /* [defaultvalue][in] */ BSTR strResultClass,
  1788.             /* [defaultvalue][in] */ BSTR strResultRole,
  1789.             /* [defaultvalue][in] */ BSTR strRole,
  1790.             /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1791.             /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1792.             /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  1793.             /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1794.             /* [defaultvalue][in] */ long iFlags,
  1795.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1796.             /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  1797.         
  1798.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AssociatorsAsync_ )( 
  1799.             ISWbemObject * This,
  1800.             /* [in] */ IDispatch *objWbemSink,
  1801.             /* [defaultvalue][in] */ BSTR strAssocClass,
  1802.             /* [defaultvalue][in] */ BSTR strResultClass,
  1803.             /* [defaultvalue][in] */ BSTR strResultRole,
  1804.             /* [defaultvalue][in] */ BSTR strRole,
  1805.             /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1806.             /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1807.             /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  1808.             /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1809.             /* [defaultvalue][in] */ long iFlags,
  1810.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1811.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1812.         
  1813.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *References_ )( 
  1814.             ISWbemObject * This,
  1815.             /* [defaultvalue][in] */ BSTR strResultClass,
  1816.             /* [defaultvalue][in] */ BSTR strRole,
  1817.             /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1818.             /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1819.             /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1820.             /* [defaultvalue][in] */ long iFlags,
  1821.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1822.             /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  1823.         
  1824.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ReferencesAsync_ )( 
  1825.             ISWbemObject * This,
  1826.             /* [in] */ IDispatch *objWbemSink,
  1827.             /* [defaultvalue][in] */ BSTR strResultClass,
  1828.             /* [defaultvalue][in] */ BSTR strRole,
  1829.             /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1830.             /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1831.             /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1832.             /* [defaultvalue][in] */ long iFlags,
  1833.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1834.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1835.         
  1836.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecMethod_ )( 
  1837.             ISWbemObject * This,
  1838.             /* [in] */ BSTR strMethodName,
  1839.             /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  1840.             /* [defaultvalue][in] */ long iFlags,
  1841.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1842.             /* [retval][out] */ ISWbemObject **objWbemOutParameters);
  1843.         
  1844.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecMethodAsync_ )( 
  1845.             ISWbemObject * This,
  1846.             /* [in] */ IDispatch *objWbemSink,
  1847.             /* [in] */ BSTR strMethodName,
  1848.             /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  1849.             /* [defaultvalue][in] */ long iFlags,
  1850.             /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1851.             /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1852.         
  1853.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clone_ )( 
  1854.             ISWbemObject * This,
  1855.             /* [retval][out] */ ISWbemObject **objWbemObject);
  1856.         
  1857.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetObjectText_ )( 
  1858.             ISWbemObject * This,
  1859.             /* [defaultvalue][in] */ long iFlags,
  1860.             /* [retval][out] */ BSTR *strObjectText);
  1861.         
  1862.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SpawnDerivedClass_ )( 
  1863.             ISWbemObject * This,
  1864.             /* [defaultvalue][in] */ long iFlags,
  1865.             /* [retval][out] */ ISWbemObject **objWbemObject);
  1866.         
  1867.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SpawnInstance_ )( 
  1868.             ISWbemObject * This,
  1869.             /* [defaultvalue][in] */ long iFlags,
  1870.             /* [retval][out] */ ISWbemObject **objWbemObject);
  1871.         
  1872.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CompareTo_ )( 
  1873.             ISWbemObject * This,
  1874.             /* [in] */ IDispatch *objWbemObject,
  1875.             /* [defaultvalue][in] */ long iFlags,
  1876.             /* [retval][out] */ VARIANT_BOOL *bResult);
  1877.         
  1878.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Qualifiers_ )( 
  1879.             ISWbemObject * This,
  1880.             /* [retval][out] */ ISWbemQualifierSet **objWbemQualifierSet);
  1881.         
  1882.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Properties_ )( 
  1883.             ISWbemObject * This,
  1884.             /* [retval][out] */ ISWbemPropertySet **objWbemPropertySet);
  1885.         
  1886.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Methods_ )( 
  1887.             ISWbemObject * This,
  1888.             /* [retval][out] */ ISWbemMethodSet **objWbemMethodSet);
  1889.         
  1890.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Derivation_ )( 
  1891.             ISWbemObject * This,
  1892.             /* [retval][out] */ VARIANT *strClassNameArray);
  1893.         
  1894.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Path_ )( 
  1895.             ISWbemObject * This,
  1896.             /* [retval][out] */ ISWbemObjectPath **objWbemObjectPath);
  1897.         
  1898.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Security_ )( 
  1899.             ISWbemObject * This,
  1900.             /* [retval][out] */ ISWbemSecurity **objWbemSecurity);
  1901.         
  1902.         END_INTERFACE
  1903.     } ISWbemObjectVtbl;
  1904.     interface ISWbemObject
  1905.     {
  1906.         CONST_VTBL struct ISWbemObjectVtbl *lpVtbl;
  1907.     };
  1908.     
  1909. #ifdef COBJMACROS
  1910. #define ISWbemObject_QueryInterface(This,riid,ppvObject)
  1911.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1912. #define ISWbemObject_AddRef(This)
  1913.     (This)->lpVtbl -> AddRef(This)
  1914. #define ISWbemObject_Release(This)
  1915.     (This)->lpVtbl -> Release(This)
  1916. #define ISWbemObject_GetTypeInfoCount(This,pctinfo)
  1917.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1918. #define ISWbemObject_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1919.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1920. #define ISWbemObject_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1921.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1922. #define ISWbemObject_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1923.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1924. #define ISWbemObject_Put_(This,iFlags,objWbemNamedValueSet,objWbemObjectPath)
  1925.     (This)->lpVtbl -> Put_(This,iFlags,objWbemNamedValueSet,objWbemObjectPath)
  1926. #define ISWbemObject_PutAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1927.     (This)->lpVtbl -> PutAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1928. #define ISWbemObject_Delete_(This,iFlags,objWbemNamedValueSet)
  1929.     (This)->lpVtbl -> Delete_(This,iFlags,objWbemNamedValueSet)
  1930. #define ISWbemObject_DeleteAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1931.     (This)->lpVtbl -> DeleteAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1932. #define ISWbemObject_Instances_(This,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1933.     (This)->lpVtbl -> Instances_(This,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1934. #define ISWbemObject_InstancesAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1935.     (This)->lpVtbl -> InstancesAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1936. #define ISWbemObject_Subclasses_(This,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1937.     (This)->lpVtbl -> Subclasses_(This,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1938. #define ISWbemObject_SubclassesAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1939.     (This)->lpVtbl -> SubclassesAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1940. #define ISWbemObject_Associators_(This,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1941.     (This)->lpVtbl -> Associators_(This,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1942. #define ISWbemObject_AssociatorsAsync_(This,objWbemSink,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1943.     (This)->lpVtbl -> AssociatorsAsync_(This,objWbemSink,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1944. #define ISWbemObject_References_(This,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1945.     (This)->lpVtbl -> References_(This,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1946. #define ISWbemObject_ReferencesAsync_(This,objWbemSink,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1947.     (This)->lpVtbl -> ReferencesAsync_(This,objWbemSink,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1948. #define ISWbemObject_ExecMethod_(This,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemOutParameters)
  1949.     (This)->lpVtbl -> ExecMethod_(This,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemOutParameters)
  1950. #define ISWbemObject_ExecMethodAsync_(This,objWbemSink,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1951.     (This)->lpVtbl -> ExecMethodAsync_(This,objWbemSink,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1952. #define ISWbemObject_Clone_(This,objWbemObject)
  1953.     (This)->lpVtbl -> Clone_(This,objWbemObject)
  1954. #define ISWbemObject_GetObjectText_(This,iFlags,strObjectText)
  1955.     (This)->lpVtbl -> GetObjectText_(This,iFlags,strObjectText)
  1956. #define ISWbemObject_SpawnDerivedClass_(This,iFlags,objWbemObject)
  1957.     (This)->lpVtbl -> SpawnDerivedClass_(This,iFlags,objWbemObject)
  1958. #define ISWbemObject_SpawnInstance_(This,iFlags,objWbemObject)
  1959.     (This)->lpVtbl -> SpawnInstance_(This,iFlags,objWbemObject)
  1960. #define ISWbemObject_CompareTo_(This,objWbemObject,iFlags,bResult)
  1961.     (This)->lpVtbl -> CompareTo_(This,objWbemObject,iFlags,bResult)
  1962. #define ISWbemObject_get_Qualifiers_(This,objWbemQualifierSet)
  1963.     (This)->lpVtbl -> get_Qualifiers_(This,objWbemQualifierSet)
  1964. #define ISWbemObject_get_Properties_(This,objWbemPropertySet)
  1965.     (This)->lpVtbl -> get_Properties_(This,objWbemPropertySet)
  1966. #define ISWbemObject_get_Methods_(This,objWbemMethodSet)
  1967.     (This)->lpVtbl -> get_Methods_(This,objWbemMethodSet)
  1968. #define ISWbemObject_get_Derivation_(This,strClassNameArray)
  1969.     (This)->lpVtbl -> get_Derivation_(This,strClassNameArray)
  1970. #define ISWbemObject_get_Path_(This,objWbemObjectPath)
  1971.     (This)->lpVtbl -> get_Path_(This,objWbemObjectPath)
  1972. #define ISWbemObject_get_Security_(This,objWbemSecurity)
  1973.     (This)->lpVtbl -> get_Security_(This,objWbemSecurity)
  1974. #endif /* COBJMACROS */
  1975. #endif  /* C style interface */
  1976. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_Put__Proxy( 
  1977.     ISWbemObject * This,
  1978.     /* [defaultvalue][in] */ long iFlags,
  1979.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1980.     /* [retval][out] */ ISWbemObjectPath **objWbemObjectPath);
  1981. void __RPC_STUB ISWbemObject_Put__Stub(
  1982.     IRpcStubBuffer *This,
  1983.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1984.     PRPC_MESSAGE _pRpcMessage,
  1985.     DWORD *_pdwStubPhase);
  1986. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_PutAsync__Proxy( 
  1987.     ISWbemObject * This,
  1988.     /* [in] */ IDispatch *objWbemSink,
  1989.     /* [defaultvalue][in] */ long iFlags,
  1990.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1991.     /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1992. void __RPC_STUB ISWbemObject_PutAsync__Stub(
  1993.     IRpcStubBuffer *This,
  1994.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1995.     PRPC_MESSAGE _pRpcMessage,
  1996.     DWORD *_pdwStubPhase);
  1997. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_Delete__Proxy( 
  1998.     ISWbemObject * This,
  1999.     /* [defaultvalue][in] */ long iFlags,
  2000.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet);
  2001. void __RPC_STUB ISWbemObject_Delete__Stub(
  2002.     IRpcStubBuffer *This,
  2003.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2004.     PRPC_MESSAGE _pRpcMessage,
  2005.     DWORD *_pdwStubPhase);
  2006. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_DeleteAsync__Proxy( 
  2007.     ISWbemObject * This,
  2008.     /* [in] */ IDispatch *objWbemSink,
  2009.     /* [defaultvalue][in] */ long iFlags,
  2010.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  2011.     /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  2012. void __RPC_STUB ISWbemObject_DeleteAsync__Stub(
  2013.     IRpcStubBuffer *This,
  2014.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2015.     PRPC_MESSAGE _pRpcMessage,
  2016.     DWORD *_pdwStubPhase);
  2017. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_Instances__Proxy( 
  2018.     ISWbemObject * This,
  2019.     /* [defaultvalue][in] */ long iFlags,
  2020.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  2021.     /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  2022. void __RPC_STUB ISWbemObject_Instances__Stub(
  2023.     IRpcStubBuffer *This,
  2024.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2025.     PRPC_MESSAGE _pRpcMessage,
  2026.     DWORD *_pdwStubPhase);
  2027. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_InstancesAsync__Proxy( 
  2028.     ISWbemObject * This,
  2029.     /* [in] */ IDispatch *objWbemSink,
  2030.     /* [defaultvalue][in] */ long iFlags,
  2031.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  2032.     /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  2033. void __RPC_STUB ISWbemObject_InstancesAsync__Stub(
  2034.     IRpcStubBuffer *This,
  2035.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2036.     PRPC_MESSAGE _pRpcMessage,
  2037.     DWORD *_pdwStubPhase);
  2038. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_Subclasses__Proxy( 
  2039.     ISWbemObject * This,
  2040.     /* [defaultvalue][in] */ long iFlags,
  2041.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  2042.     /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  2043. void __RPC_STUB ISWbemObject_Subclasses__Stub(
  2044.     IRpcStubBuffer *This,
  2045.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2046.     PRPC_MESSAGE _pRpcMessage,
  2047.     DWORD *_pdwStubPhase);
  2048. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_SubclassesAsync__Proxy( 
  2049.     ISWbemObject * This,
  2050.     /* [in] */ IDispatch *objWbemSink,
  2051.     /* [defaultvalue][in] */ long iFlags,
  2052.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  2053.     /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  2054. void __RPC_STUB ISWbemObject_SubclassesAsync__Stub(
  2055.     IRpcStubBuffer *This,
  2056.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2057.     PRPC_MESSAGE _pRpcMessage,
  2058.     DWORD *_pdwStubPhase);
  2059. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_Associators__Proxy( 
  2060.     ISWbemObject * This,
  2061.     /* [defaultvalue][in] */ BSTR strAssocClass,
  2062.     /* [defaultvalue][in] */ BSTR strResultClass,
  2063.     /* [defaultvalue][in] */ BSTR strResultRole,
  2064.     /* [defaultvalue][in] */ BSTR strRole,
  2065.     /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  2066.     /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  2067.     /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  2068.     /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  2069.     /* [defaultvalue][in] */ long iFlags,
  2070.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  2071.     /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  2072. void __RPC_STUB ISWbemObject_Associators__Stub(
  2073.     IRpcStubBuffer *This,
  2074.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2075.     PRPC_MESSAGE _pRpcMessage,
  2076.     DWORD *_pdwStubPhase);
  2077. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_AssociatorsAsync__Proxy( 
  2078.     ISWbemObject * This,
  2079.     /* [in] */ IDispatch *objWbemSink,
  2080.     /* [defaultvalue][in] */ BSTR strAssocClass,
  2081.     /* [defaultvalue][in] */ BSTR strResultClass,
  2082.     /* [defaultvalue][in] */ BSTR strResultRole,
  2083.     /* [defaultvalue][in] */ BSTR strRole,
  2084.     /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  2085.     /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  2086.     /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  2087.     /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  2088.     /* [defaultvalue][in] */ long iFlags,
  2089.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  2090.     /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  2091. void __RPC_STUB ISWbemObject_AssociatorsAsync__Stub(
  2092.     IRpcStubBuffer *This,
  2093.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2094.     PRPC_MESSAGE _pRpcMessage,
  2095.     DWORD *_pdwStubPhase);
  2096. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_References__Proxy( 
  2097.     ISWbemObject * This,
  2098.     /* [defaultvalue][in] */ BSTR strResultClass,
  2099.     /* [defaultvalue][in] */ BSTR strRole,
  2100.     /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  2101.     /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  2102.     /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  2103.     /* [defaultvalue][in] */ long iFlags,
  2104.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  2105.     /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  2106. void __RPC_STUB ISWbemObject_References__Stub(
  2107.     IRpcStubBuffer *This,
  2108.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2109.     PRPC_MESSAGE _pRpcMessage,
  2110.     DWORD *_pdwStubPhase);
  2111. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_ReferencesAsync__Proxy( 
  2112.     ISWbemObject * This,
  2113.     /* [in] */ IDispatch *objWbemSink,
  2114.     /* [defaultvalue][in] */ BSTR strResultClass,
  2115.     /* [defaultvalue][in] */ BSTR strRole,
  2116.     /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  2117.     /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  2118.     /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  2119.     /* [defaultvalue][in] */ long iFlags,
  2120.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  2121.     /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  2122. void __RPC_STUB ISWbemObject_ReferencesAsync__Stub(
  2123.     IRpcStubBuffer *This,
  2124.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2125.     PRPC_MESSAGE _pRpcMessage,
  2126.     DWORD *_pdwStubPhase);
  2127. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_ExecMethod__Proxy( 
  2128.     ISWbemObject * This,
  2129.     /* [in] */ BSTR strMethodName,
  2130.     /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  2131.     /* [defaultvalue][in] */ long iFlags,
  2132.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  2133.     /* [retval][out] */ ISWbemObject **objWbemOutParameters);
  2134. void __RPC_STUB ISWbemObject_ExecMethod__Stub(
  2135.     IRpcStubBuffer *This,
  2136.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2137.     PRPC_MESSAGE _pRpcMessage,
  2138.     DWORD *_pdwStubPhase);
  2139. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_ExecMethodAsync__Proxy( 
  2140.     ISWbemObject * This,
  2141.     /* [in] */ IDispatch *objWbemSink,
  2142.     /* [in] */ BSTR strMethodName,
  2143.     /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  2144.     /* [defaultvalue][in] */ long iFlags,
  2145.     /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  2146.     /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  2147. void __RPC_STUB ISWbemObject_ExecMethodAsync__Stub(
  2148.     IRpcStubBuffer *This,
  2149.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2150.     PRPC_MESSAGE _pRpcMessage,
  2151.     DWORD *_pdwStubPhase);
  2152. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_Clone__Proxy( 
  2153.     ISWbemObject * This,
  2154.     /* [retval][out] */ ISWbemObject **objWbemObject);
  2155. void __RPC_STUB ISWbemObject_Clone__Stub(
  2156.     IRpcStubBuffer *This,
  2157.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2158.     PRPC_MESSAGE _pRpcMessage,
  2159.     DWORD *_pdwStubPhase);
  2160. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_GetObjectText__Proxy( 
  2161.     ISWbemObject * This,
  2162.     /* [defaultvalue][in] */ long iFlags,
  2163.     /* [retval][out] */ BSTR *strObjectText);
  2164. void __RPC_STUB ISWbemObject_GetObjectText__Stub(
  2165.     IRpcStubBuffer *This,
  2166.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2167.     PRPC_MESSAGE _pRpcMessage,
  2168.     DWORD *_pdwStubPhase);
  2169. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_SpawnDerivedClass__Proxy( 
  2170.     ISWbemObject * This,
  2171.     /* [defaultvalue][in] */ long iFlags,
  2172.     /* [retval][out] */ ISWbemObject **objWbemObject);
  2173. void __RPC_STUB ISWbemObject_SpawnDerivedClass__Stub(
  2174.     IRpcStubBuffer *This,
  2175.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2176.     PRPC_MESSAGE _pRpcMessage,
  2177.     DWORD *_pdwStubPhase);
  2178. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_SpawnInstance__Proxy( 
  2179.     ISWbemObject * This,
  2180.     /* [defaultvalue][in] */ long iFlags,
  2181.     /* [retval][out] */ ISWbemObject **objWbemObject);
  2182. void __RPC_STUB ISWbemObject_SpawnInstance__Stub(
  2183.     IRpcStubBuffer *This,
  2184.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2185.     PRPC_MESSAGE _pRpcMessage,
  2186.     DWORD *_pdwStubPhase);
  2187. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_CompareTo__Proxy( 
  2188.     ISWbemObject * This,
  2189.     /* [in] */ IDispatch *objWbemObject,
  2190.     /* [defaultvalue][in] */ long iFlags,
  2191.     /* [retval][out] */ VARIANT_BOOL *bResult);
  2192. void __RPC_STUB ISWbemObject_CompareTo__Stub(
  2193.     IRpcStubBuffer *This,
  2194.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2195.     PRPC_MESSAGE _pRpcMessage,
  2196.     DWORD *_pdwStubPhase);
  2197. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_get_Qualifiers__Proxy( 
  2198.     ISWbemObject * This,
  2199.     /* [retval][out] */ ISWbemQualifierSet **objWbemQualifierSet);
  2200. void __RPC_STUB ISWbemObject_get_Qualifiers__Stub(
  2201.     IRpcStubBuffer *This,
  2202.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2203.     PRPC_MESSAGE _pRpcMessage,
  2204.     DWORD *_pdwStubPhase);
  2205. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_get_Properties__Proxy( 
  2206.     ISWbemObject * This,
  2207.     /* [retval][out] */ ISWbemPropertySet **objWbemPropertySet);
  2208. void __RPC_STUB ISWbemObject_get_Properties__Stub(
  2209.     IRpcStubBuffer *This,
  2210.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2211.     PRPC_MESSAGE _pRpcMessage,
  2212.     DWORD *_pdwStubPhase);
  2213. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_get_Methods__Proxy( 
  2214.     ISWbemObject * This,
  2215.     /* [retval][out] */ ISWbemMethodSet **objWbemMethodSet);
  2216. void __RPC_STUB ISWbemObject_get_Methods__Stub(
  2217.     IRpcStubBuffer *This,
  2218.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2219.     PRPC_MESSAGE _pRpcMessage,
  2220.     DWORD *_pdwStubPhase);
  2221. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_get_Derivation__Proxy( 
  2222.     ISWbemObject * This,
  2223.     /* [retval][out] */ VARIANT *strClassNameArray);
  2224. void __RPC_STUB ISWbemObject_get_Derivation__Stub(
  2225.     IRpcStubBuffer *This,
  2226.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2227.     PRPC_MESSAGE _pRpcMessage,
  2228.     DWORD *_pdwStubPhase);
  2229. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_get_Path__Proxy( 
  2230.     ISWbemObject * This,
  2231.     /* [retval][out] */ ISWbemObjectPath **objWbemObjectPath);
  2232. void __RPC_STUB ISWbemObject_get_Path__Stub(
  2233.     IRpcStubBuffer *This,
  2234.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2235.     PRPC_MESSAGE _pRpcMessage,
  2236.     DWORD *_pdwStubPhase);
  2237. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_get_Security__Proxy( 
  2238.     ISWbemObject * This,
  2239.     /* [retval][out] */ ISWbemSecurity **objWbemSecurity);
  2240. void __RPC_STUB ISWbemObject_get_Security__Stub(
  2241.     IRpcStubBuffer *This,
  2242.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2243.     PRPC_MESSAGE _pRpcMessage,
  2244.     DWORD *_pdwStubPhase);
  2245. #endif  /* __ISWbemObject_INTERFACE_DEFINED__ */
  2246. #ifndef __ISWbemObjectSet_INTERFACE_DEFINED__
  2247. #define __ISWbemObjectSet_INTERFACE_DEFINED__
  2248. /* interface ISWbemObjectSet */
  2249. /* [helpstring][nonextensible][hidden][dual][oleautomation][uuid][object][local] */ 
  2250. EXTERN_C const IID IID_ISWbemObjectSet;
  2251. #if defined(__cplusplus) && !defined(CINTERFACE)
  2252.     
  2253.     MIDL_INTERFACE("76A6415F-CB41-11d1-8B02-00600806D9B6")
  2254.     ISWbemObjectSet : public IDispatch
  2255.     {
  2256.     public:
  2257.         virtual /* [restricted][propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum( 
  2258.             /* [retval][out] */ IUnknown **pUnk) = 0;
  2259.         
  2260.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Item( 
  2261.             /* [in] */ BSTR strObjectPath,
  2262.             /* [defaultvalue][in] */ long iFlags,
  2263.             /* [retval][out] */ ISWbemObject **objWbemObject) = 0;
  2264.         
  2265.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Count( 
  2266.             /* [retval][out] */ long *iCount) = 0;
  2267.         
  2268.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Security_( 
  2269.             /* [retval][out] */ ISWbemSecurity **objWbemSecurity) = 0;
  2270.         
  2271.     };
  2272.     
  2273. #else  /* C style interface */
  2274.     typedef struct ISWbemObjectSetVtbl
  2275.     {
  2276.         BEGIN_INTERFACE
  2277.         
  2278.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2279.             ISWbemObjectSet * This,
  2280.             /* [in] */ REFIID riid,
  2281.             /* [iid_is][out] */ void **ppvObject);
  2282.         
  2283.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2284.             ISWbemObjectSet * This);
  2285.         
  2286.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2287.             ISWbemObjectSet * This);
  2288.         
  2289.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  2290.             ISWbemObjectSet * This,
  2291.             /* [out] */ UINT *pctinfo);
  2292.         
  2293.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  2294.             ISWbemObjectSet * This,
  2295.             /* [in] */ UINT iTInfo,
  2296.             /* [in] */ LCID lcid,
  2297.             /* [out] */ ITypeInfo **ppTInfo);
  2298.         
  2299.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  2300.             ISWbemObjectSet * This,
  2301.             /* [in] */ REFIID riid,
  2302.             /* [size_is][in] */ LPOLESTR *rgszNames,
  2303.             /* [in] */ UINT cNames,
  2304.             /* [in] */ LCID lcid,
  2305.             /* [size_is][out] */ DISPID *rgDispId);
  2306.         
  2307.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  2308.             ISWbemObjectSet * This,
  2309.             /* [in] */ DISPID dispIdMember,
  2310.             /* [in] */ REFIID riid,
  2311.             /* [in] */ LCID lcid,
  2312.             /* [in] */ WORD wFlags,
  2313.             /* [out][in] */ DISPPARAMS *pDispParams,
  2314.             /* [out] */ VARIANT *pVarResult,
  2315.             /* [out] */ EXCEPINFO *pExcepInfo,
  2316.             /* [out] */ UINT *puArgErr);
  2317.         
  2318.         /* [restricted][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( 
  2319.             ISWbemObjectSet * This,
  2320.             /* [retval][out] */ IUnknown **pUnk);
  2321.         
  2322.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Item )( 
  2323.             ISWbemObjectSet * This,
  2324.             /* [in] */ BSTR strObjectPath,
  2325.             /* [defaultvalue][in] */ long iFlags,
  2326.             /* [retval][out] */ ISWbemObject **objWbemObject);
  2327.         
  2328.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( 
  2329.             ISWbemObjectSet * This,
  2330.             /* [retval][out] */ long *iCount);
  2331.         
  2332.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Security_ )( 
  2333.             ISWbemObjectSet * This,
  2334.             /* [retval][out] */ ISWbemSecurity **objWbemSecurity);
  2335.         
  2336.         END_INTERFACE
  2337.     } ISWbemObjectSetVtbl;
  2338.     interface ISWbemObjectSet
  2339.     {
  2340.         CONST_VTBL struct ISWbemObjectSetVtbl *lpVtbl;
  2341.     };
  2342.     
  2343. #ifdef COBJMACROS
  2344. #define ISWbemObjectSet_QueryInterface(This,riid,ppvObject)
  2345.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2346. #define ISWbemObjectSet_AddRef(This)
  2347.     (This)->lpVtbl -> AddRef(This)
  2348. #define ISWbemObjectSet_Release(This)
  2349.     (This)->lpVtbl -> Release(This)
  2350. #define ISWbemObjectSet_GetTypeInfoCount(This,pctinfo)
  2351.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2352. #define ISWbemObjectSet_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2353.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2354. #define ISWbemObjectSet_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2355.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2356. #define ISWbemObjectSet_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2357.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2358. #define ISWbemObjectSet_get__NewEnum(This,pUnk)
  2359.     (This)->lpVtbl -> get__NewEnum(This,pUnk)
  2360. #define ISWbemObjectSet_Item(This,strObjectPath,iFlags,objWbemObject)
  2361.     (This)->lpVtbl -> Item(This,strObjectPath,iFlags,objWbemObject)
  2362. #define ISWbemObjectSet_get_Count(This,iCount)
  2363.     (This)->lpVtbl -> get_Count(This,iCount)
  2364. #define ISWbemObjectSet_get_Security_(This,objWbemSecurity)
  2365.     (This)->lpVtbl -> get_Security_(This,objWbemSecurity)
  2366. #endif /* COBJMACROS */
  2367. #endif  /* C style interface */
  2368. /* [restricted][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectSet_get__NewEnum_Proxy( 
  2369.     ISWbemObjectSet * This,
  2370.     /* [retval][out] */ IUnknown **pUnk);
  2371. void __RPC_STUB ISWbemObjectSet_get__NewEnum_Stub(
  2372.     IRpcStubBuffer *This,
  2373.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2374.     PRPC_MESSAGE _pRpcMessage,
  2375.     DWORD *_pdwStubPhase);
  2376. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectSet_Item_Proxy( 
  2377.     ISWbemObjectSet * This,
  2378.     /* [in] */ BSTR strObjectPath,
  2379.     /* [defaultvalue][in] */ long iFlags,
  2380.     /* [retval][out] */ ISWbemObject **objWbemObject);
  2381. void __RPC_STUB ISWbemObjectSet_Item_Stub(
  2382.     IRpcStubBuffer *This,
  2383.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2384.     PRPC_MESSAGE _pRpcMessage,
  2385.     DWORD *_pdwStubPhase);
  2386. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectSet_get_Count_Proxy( 
  2387.     ISWbemObjectSet * This,
  2388.     /* [retval][out] */ long *iCount);
  2389. void __RPC_STUB ISWbemObjectSet_get_Count_Stub(
  2390.     IRpcStubBuffer *This,
  2391.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2392.     PRPC_MESSAGE _pRpcMessage,
  2393.     DWORD *_pdwStubPhase);
  2394. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectSet_get_Security__Proxy( 
  2395.     ISWbemObjectSet * This,
  2396.     /* [retval][out] */ ISWbemSecurity **objWbemSecurity);
  2397. void __RPC_STUB ISWbemObjectSet_get_Security__Stub(
  2398.     IRpcStubBuffer *This,
  2399.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2400.     PRPC_MESSAGE _pRpcMessage,
  2401.     DWORD *_pdwStubPhase);
  2402. #endif  /* __ISWbemObjectSet_INTERFACE_DEFINED__ */
  2403. #ifndef __ISWbemNamedValue_INTERFACE_DEFINED__
  2404. #define __ISWbemNamedValue_INTERFACE_DEFINED__
  2405. /* interface ISWbemNamedValue */
  2406. /* [helpstring][hidden][oleautomation][dual][uuid][object][local] */ 
  2407. EXTERN_C const IID IID_ISWbemNamedValue;
  2408. #if defined(__cplusplus) && !defined(CINTERFACE)
  2409.     
  2410.     MIDL_INTERFACE("76A64164-CB41-11d1-8B02-00600806D9B6")
  2411.     ISWbemNamedValue : public IDispatch
  2412.     {
  2413.     public:
  2414.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Value( 
  2415.             /* [retval][out] */ VARIANT *varValue) = 0;
  2416.         
  2417.         virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Value( 
  2418.             /* [in] */ VARIANT *varValue) = 0;
  2419.         
  2420.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name( 
  2421.             /* [retval][out] */ BSTR *strName) = 0;
  2422.         
  2423.     };
  2424.     
  2425. #else  /* C style interface */
  2426.     typedef struct ISWbemNamedValueVtbl
  2427.     {
  2428.         BEGIN_INTERFACE
  2429.         
  2430.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2431.             ISWbemNamedValue * This,
  2432.             /* [in] */ REFIID riid,
  2433.             /* [iid_is][out] */ void **ppvObject);
  2434.         
  2435.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2436.             ISWbemNamedValue * This);
  2437.         
  2438.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2439.             ISWbemNamedValue * This);
  2440.         
  2441.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  2442.             ISWbemNamedValue * This,
  2443.             /* [out] */ UINT *pctinfo);
  2444.         
  2445.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  2446.             ISWbemNamedValue * This,
  2447.             /* [in] */ UINT iTInfo,
  2448.             /* [in] */ LCID lcid,
  2449.             /* [out] */ ITypeInfo **ppTInfo);
  2450.         
  2451.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  2452.             ISWbemNamedValue * This,
  2453.             /* [in] */ REFIID riid,
  2454.             /* [size_is][in] */ LPOLESTR *rgszNames,
  2455.             /* [in] */ UINT cNames,
  2456.             /* [in] */ LCID lcid,
  2457.             /* [size_is][out] */ DISPID *rgDispId);
  2458.         
  2459.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  2460.             ISWbemNamedValue * This,
  2461.             /* [in] */ DISPID dispIdMember,
  2462.             /* [in] */ REFIID riid,
  2463.             /* [in] */ LCID lcid,
  2464.             /* [in] */ WORD wFlags,
  2465.             /* [out][in] */ DISPPARAMS *pDispParams,
  2466.             /* [out] */ VARIANT *pVarResult,
  2467.             /* [out] */ EXCEPINFO *pExcepInfo,
  2468.             /* [out] */ UINT *puArgErr);
  2469.         
  2470.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Value )( 
  2471.             ISWbemNamedValue * This,
  2472.             /* [retval][out] */ VARIANT *varValue);
  2473.         
  2474.         /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Value )( 
  2475.             ISWbemNamedValue * This,
  2476.             /* [in] */ VARIANT *varValue);
  2477.         
  2478.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( 
  2479.             ISWbemNamedValue * This,
  2480.             /* [retval][out] */ BSTR *strName);
  2481.         
  2482.         END_INTERFACE
  2483.     } ISWbemNamedValueVtbl;
  2484.     interface ISWbemNamedValue
  2485.     {
  2486.         CONST_VTBL struct ISWbemNamedValueVtbl *lpVtbl;
  2487.     };
  2488.     
  2489. #ifdef COBJMACROS
  2490. #define ISWbemNamedValue_QueryInterface(This,riid,ppvObject)
  2491.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2492. #define ISWbemNamedValue_AddRef(This)
  2493.     (This)->lpVtbl -> AddRef(This)
  2494. #define ISWbemNamedValue_Release(This)
  2495.     (This)->lpVtbl -> Release(This)
  2496. #define ISWbemNamedValue_GetTypeInfoCount(This,pctinfo)
  2497.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2498. #define ISWbemNamedValue_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2499.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2500. #define ISWbemNamedValue_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2501.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2502. #define ISWbemNamedValue_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2503.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2504. #define ISWbemNamedValue_get_Value(This,varValue)
  2505.     (This)->lpVtbl -> get_Value(This,varValue)
  2506. #define ISWbemNamedValue_put_Value(This,varValue)
  2507.     (This)->lpVtbl -> put_Value(This,varValue)
  2508. #define ISWbemNamedValue_get_Name(This,strName)
  2509.     (This)->lpVtbl -> get_Name(This,strName)
  2510. #endif /* COBJMACROS */
  2511. #endif  /* C style interface */
  2512. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemNamedValue_get_Value_Proxy( 
  2513.     ISWbemNamedValue * This,
  2514.     /* [retval][out] */ VARIANT *varValue);
  2515. void __RPC_STUB ISWbemNamedValue_get_Value_Stub(
  2516.     IRpcStubBuffer *This,
  2517.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2518.     PRPC_MESSAGE _pRpcMessage,
  2519.     DWORD *_pdwStubPhase);
  2520. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemNamedValue_put_Value_Proxy( 
  2521.     ISWbemNamedValue * This,
  2522.     /* [in] */ VARIANT *varValue);
  2523. void __RPC_STUB ISWbemNamedValue_put_Value_Stub(
  2524.     IRpcStubBuffer *This,
  2525.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2526.     PRPC_MESSAGE _pRpcMessage,
  2527.     DWORD *_pdwStubPhase);
  2528. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemNamedValue_get_Name_Proxy( 
  2529.     ISWbemNamedValue * This,
  2530.     /* [retval][out] */ BSTR *strName);
  2531. void __RPC_STUB ISWbemNamedValue_get_Name_Stub(
  2532.     IRpcStubBuffer *This,
  2533.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2534.     PRPC_MESSAGE _pRpcMessage,
  2535.     DWORD *_pdwStubPhase);
  2536. #endif  /* __ISWbemNamedValue_INTERFACE_DEFINED__ */
  2537. #ifndef __ISWbemNamedValueSet_INTERFACE_DEFINED__
  2538. #define __ISWbemNamedValueSet_INTERFACE_DEFINED__
  2539. /* interface ISWbemNamedValueSet */
  2540. /* [helpstring][hidden][dual][oleautomation][uuid][object][local] */ 
  2541. EXTERN_C const IID IID_ISWbemNamedValueSet;
  2542. #if defined(__cplusplus) && !defined(CINTERFACE)
  2543.     
  2544.     MIDL_INTERFACE("CF2376EA-CE8C-11d1-8B05-00600806D9B6")
  2545.     ISWbemNamedValueSet : public IDispatch
  2546.     {
  2547.     public:
  2548.         virtual /* [restricted][propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum( 
  2549.             /* [retval][out] */ IUnknown **pUnk) = 0;
  2550.         
  2551.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Item( 
  2552.             /* [in] */ BSTR strName,
  2553.             /* [defaultvalue][in] */ long iFlags,
  2554.             /* [retval][out] */ ISWbemNamedValue **objWbemNamedValue) = 0;
  2555.         
  2556.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Count( 
  2557.             /* [retval][out] */ long *iCount) = 0;
  2558.         
  2559.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add( 
  2560.             /* [in] */ BSTR strName,
  2561.             /* [in] */ VARIANT *varValue,
  2562.             /* [defaultvalue][in] */ long iFlags,
  2563.             /* [retval][out] */ ISWbemNamedValue **objWbemNamedValue) = 0;
  2564.         
  2565.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove( 
  2566.             /* [in] */ BSTR strName,
  2567.             /* [defaultvalue][in] */ long iFlags = 0) = 0;
  2568.         
  2569.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Clone( 
  2570.             /* [retval][out] */ ISWbemNamedValueSet **objWbemNamedValueSet) = 0;
  2571.         
  2572.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteAll( void) = 0;
  2573.         
  2574.     };
  2575.     
  2576. #else  /* C style interface */
  2577.     typedef struct ISWbemNamedValueSetVtbl
  2578.     {
  2579.         BEGIN_INTERFACE
  2580.         
  2581.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2582.             ISWbemNamedValueSet * This,
  2583.             /* [in] */ REFIID riid,
  2584.             /* [iid_is][out] */ void **ppvObject);
  2585.         
  2586.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2587.             ISWbemNamedValueSet * This);
  2588.         
  2589.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2590.             ISWbemNamedValueSet * This);
  2591.         
  2592.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  2593.             ISWbemNamedValueSet * This,
  2594.             /* [out] */ UINT *pctinfo);