Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9764 lines
349 KiB

  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. MIDL_INTERFACE("76A6415C-CB41-11d1-8B02-00600806D9B6")
  702. ISWbemServices : public IDispatch
  703. {
  704. public:
  705. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Get(
  706. /* [defaultvalue][in] */ BSTR strObjectPath,
  707. /* [defaultvalue][in] */ long iFlags,
  708. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  709. /* [retval][out] */ ISWbemObject **objWbemObject) = 0;
  710. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetAsync(
  711. /* [in] */ IDispatch *objWbemSink,
  712. /* [defaultvalue][in] */ BSTR strObjectPath = L"",
  713. /* [defaultvalue][in] */ long iFlags = 0,
  714. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  715. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  716. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Delete(
  717. /* [in] */ BSTR strObjectPath,
  718. /* [defaultvalue][in] */ long iFlags = 0,
  719. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0) = 0;
  720. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteAsync(
  721. /* [in] */ IDispatch *objWbemSink,
  722. /* [in] */ BSTR strObjectPath,
  723. /* [defaultvalue][in] */ long iFlags = 0,
  724. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  725. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  726. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InstancesOf(
  727. /* [in] */ BSTR strClass,
  728. /* [defaultvalue][in] */ long iFlags,
  729. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  730. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet) = 0;
  731. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InstancesOfAsync(
  732. /* [in] */ IDispatch *objWbemSink,
  733. /* [in] */ BSTR strClass,
  734. /* [defaultvalue][in] */ long iFlags = 0,
  735. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  736. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  737. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SubclassesOf(
  738. /* [defaultvalue][in] */ BSTR strSuperclass,
  739. /* [defaultvalue][in] */ long iFlags,
  740. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  741. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet) = 0;
  742. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SubclassesOfAsync(
  743. /* [in] */ IDispatch *objWbemSink,
  744. /* [defaultvalue][in] */ BSTR strSuperclass = L"",
  745. /* [defaultvalue][in] */ long iFlags = wbemQueryFlagDeep,
  746. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  747. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  748. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExecQuery(
  749. /* [in] */ BSTR strQuery,
  750. /* [defaultvalue][in] */ BSTR strQueryLanguage,
  751. /* [defaultvalue][in] */ long iFlags,
  752. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  753. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet) = 0;
  754. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExecQueryAsync(
  755. /* [in] */ IDispatch *objWbemSink,
  756. /* [in] */ BSTR strQuery,
  757. /* [defaultvalue][in] */ BSTR strQueryLanguage = L"WQL",
  758. /* [defaultvalue][in] */ long lFlags = 0,
  759. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  760. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  761. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AssociatorsOf(
  762. /* [in] */ BSTR strObjectPath,
  763. /* [defaultvalue][in] */ BSTR strAssocClass,
  764. /* [defaultvalue][in] */ BSTR strResultClass,
  765. /* [defaultvalue][in] */ BSTR strResultRole,
  766. /* [defaultvalue][in] */ BSTR strRole,
  767. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  768. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  769. /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  770. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  771. /* [defaultvalue][in] */ long iFlags,
  772. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  773. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet) = 0;
  774. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AssociatorsOfAsync(
  775. /* [in] */ IDispatch *objWbemSink,
  776. /* [in] */ BSTR strObjectPath,
  777. /* [defaultvalue][in] */ BSTR strAssocClass = L"",
  778. /* [defaultvalue][in] */ BSTR strResultClass = L"",
  779. /* [defaultvalue][in] */ BSTR strResultRole = L"",
  780. /* [defaultvalue][in] */ BSTR strRole = L"",
  781. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly = FALSE,
  782. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly = FALSE,
  783. /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier = L"",
  784. /* [defaultvalue][in] */ BSTR strRequiredQualifier = L"",
  785. /* [defaultvalue][in] */ long iFlags = 0,
  786. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  787. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  788. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ReferencesTo(
  789. /* [in] */ BSTR strObjectPath,
  790. /* [defaultvalue][in] */ BSTR strResultClass,
  791. /* [defaultvalue][in] */ BSTR strRole,
  792. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  793. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  794. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  795. /* [defaultvalue][in] */ long iFlags,
  796. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  797. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet) = 0;
  798. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ReferencesToAsync(
  799. /* [in] */ IDispatch *objWbemSink,
  800. /* [in] */ BSTR strObjectPath,
  801. /* [defaultvalue][in] */ BSTR strResultClass = L"",
  802. /* [defaultvalue][in] */ BSTR strRole = L"",
  803. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly = FALSE,
  804. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly = FALSE,
  805. /* [defaultvalue][in] */ BSTR strRequiredQualifier = L"",
  806. /* [defaultvalue][in] */ long iFlags = 0,
  807. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  808. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  809. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExecNotificationQuery(
  810. /* [in] */ BSTR strQuery,
  811. /* [defaultvalue][in] */ BSTR strQueryLanguage,
  812. /* [defaultvalue][in] */ long iFlags,
  813. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  814. /* [retval][out] */ ISWbemEventSource **objWbemEventSource) = 0;
  815. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExecNotificationQueryAsync(
  816. /* [in] */ IDispatch *objWbemSink,
  817. /* [in] */ BSTR strQuery,
  818. /* [defaultvalue][in] */ BSTR strQueryLanguage = L"WQL",
  819. /* [defaultvalue][in] */ long iFlags = 0,
  820. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  821. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  822. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExecMethod(
  823. /* [in] */ BSTR strObjectPath,
  824. /* [in] */ BSTR strMethodName,
  825. /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  826. /* [defaultvalue][in] */ long iFlags,
  827. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  828. /* [retval][out] */ ISWbemObject **objWbemOutParameters) = 0;
  829. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExecMethodAsync(
  830. /* [in] */ IDispatch *objWbemSink,
  831. /* [in] */ BSTR strObjectPath,
  832. /* [in] */ BSTR strMethodName,
  833. /* [defaultvalue][in] */ IDispatch *objWbemInParameters = 0,
  834. /* [defaultvalue][in] */ long iFlags = 0,
  835. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  836. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  837. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Security_(
  838. /* [retval][out] */ ISWbemSecurity **objWbemSecurity) = 0;
  839. };
  840. #else /* C style interface */
  841. typedef struct ISWbemServicesVtbl
  842. {
  843. BEGIN_INTERFACE
  844. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  845. ISWbemServices * This,
  846. /* [in] */ REFIID riid,
  847. /* [iid_is][out] */ void **ppvObject);
  848. ULONG ( STDMETHODCALLTYPE *AddRef )(
  849. ISWbemServices * This);
  850. ULONG ( STDMETHODCALLTYPE *Release )(
  851. ISWbemServices * This);
  852. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  853. ISWbemServices * This,
  854. /* [out] */ UINT *pctinfo);
  855. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  856. ISWbemServices * This,
  857. /* [in] */ UINT iTInfo,
  858. /* [in] */ LCID lcid,
  859. /* [out] */ ITypeInfo **ppTInfo);
  860. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  861. ISWbemServices * This,
  862. /* [in] */ REFIID riid,
  863. /* [size_is][in] */ LPOLESTR *rgszNames,
  864. /* [in] */ UINT cNames,
  865. /* [in] */ LCID lcid,
  866. /* [size_is][out] */ DISPID *rgDispId);
  867. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  868. ISWbemServices * This,
  869. /* [in] */ DISPID dispIdMember,
  870. /* [in] */ REFIID riid,
  871. /* [in] */ LCID lcid,
  872. /* [in] */ WORD wFlags,
  873. /* [out][in] */ DISPPARAMS *pDispParams,
  874. /* [out] */ VARIANT *pVarResult,
  875. /* [out] */ EXCEPINFO *pExcepInfo,
  876. /* [out] */ UINT *puArgErr);
  877. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Get )(
  878. ISWbemServices * This,
  879. /* [defaultvalue][in] */ BSTR strObjectPath,
  880. /* [defaultvalue][in] */ long iFlags,
  881. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  882. /* [retval][out] */ ISWbemObject **objWbemObject);
  883. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetAsync )(
  884. ISWbemServices * This,
  885. /* [in] */ IDispatch *objWbemSink,
  886. /* [defaultvalue][in] */ BSTR strObjectPath,
  887. /* [defaultvalue][in] */ long iFlags,
  888. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  889. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  890. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )(
  891. ISWbemServices * This,
  892. /* [in] */ BSTR strObjectPath,
  893. /* [defaultvalue][in] */ long iFlags,
  894. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet);
  895. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteAsync )(
  896. ISWbemServices * This,
  897. /* [in] */ IDispatch *objWbemSink,
  898. /* [in] */ BSTR strObjectPath,
  899. /* [defaultvalue][in] */ long iFlags,
  900. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  901. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  902. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InstancesOf )(
  903. ISWbemServices * This,
  904. /* [in] */ BSTR strClass,
  905. /* [defaultvalue][in] */ long iFlags,
  906. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  907. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  908. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InstancesOfAsync )(
  909. ISWbemServices * This,
  910. /* [in] */ IDispatch *objWbemSink,
  911. /* [in] */ BSTR strClass,
  912. /* [defaultvalue][in] */ long iFlags,
  913. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  914. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  915. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SubclassesOf )(
  916. ISWbemServices * This,
  917. /* [defaultvalue][in] */ BSTR strSuperclass,
  918. /* [defaultvalue][in] */ long iFlags,
  919. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  920. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  921. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SubclassesOfAsync )(
  922. ISWbemServices * This,
  923. /* [in] */ IDispatch *objWbemSink,
  924. /* [defaultvalue][in] */ BSTR strSuperclass,
  925. /* [defaultvalue][in] */ long iFlags,
  926. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  927. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  928. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecQuery )(
  929. ISWbemServices * This,
  930. /* [in] */ BSTR strQuery,
  931. /* [defaultvalue][in] */ BSTR strQueryLanguage,
  932. /* [defaultvalue][in] */ long iFlags,
  933. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  934. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  935. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecQueryAsync )(
  936. ISWbemServices * This,
  937. /* [in] */ IDispatch *objWbemSink,
  938. /* [in] */ BSTR strQuery,
  939. /* [defaultvalue][in] */ BSTR strQueryLanguage,
  940. /* [defaultvalue][in] */ long lFlags,
  941. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  942. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  943. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AssociatorsOf )(
  944. ISWbemServices * This,
  945. /* [in] */ BSTR strObjectPath,
  946. /* [defaultvalue][in] */ BSTR strAssocClass,
  947. /* [defaultvalue][in] */ BSTR strResultClass,
  948. /* [defaultvalue][in] */ BSTR strResultRole,
  949. /* [defaultvalue][in] */ BSTR strRole,
  950. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  951. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  952. /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  953. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  954. /* [defaultvalue][in] */ long iFlags,
  955. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  956. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  957. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AssociatorsOfAsync )(
  958. ISWbemServices * This,
  959. /* [in] */ IDispatch *objWbemSink,
  960. /* [in] */ BSTR strObjectPath,
  961. /* [defaultvalue][in] */ BSTR strAssocClass,
  962. /* [defaultvalue][in] */ BSTR strResultClass,
  963. /* [defaultvalue][in] */ BSTR strResultRole,
  964. /* [defaultvalue][in] */ BSTR strRole,
  965. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  966. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  967. /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  968. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  969. /* [defaultvalue][in] */ long iFlags,
  970. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  971. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  972. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ReferencesTo )(
  973. ISWbemServices * This,
  974. /* [in] */ BSTR strObjectPath,
  975. /* [defaultvalue][in] */ BSTR strResultClass,
  976. /* [defaultvalue][in] */ BSTR strRole,
  977. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  978. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  979. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  980. /* [defaultvalue][in] */ long iFlags,
  981. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  982. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  983. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ReferencesToAsync )(
  984. ISWbemServices * This,
  985. /* [in] */ IDispatch *objWbemSink,
  986. /* [in] */ BSTR strObjectPath,
  987. /* [defaultvalue][in] */ BSTR strResultClass,
  988. /* [defaultvalue][in] */ BSTR strRole,
  989. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  990. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  991. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  992. /* [defaultvalue][in] */ long iFlags,
  993. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  994. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  995. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecNotificationQuery )(
  996. ISWbemServices * This,
  997. /* [in] */ BSTR strQuery,
  998. /* [defaultvalue][in] */ BSTR strQueryLanguage,
  999. /* [defaultvalue][in] */ long iFlags,
  1000. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1001. /* [retval][out] */ ISWbemEventSource **objWbemEventSource);
  1002. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecNotificationQueryAsync )(
  1003. ISWbemServices * This,
  1004. /* [in] */ IDispatch *objWbemSink,
  1005. /* [in] */ BSTR strQuery,
  1006. /* [defaultvalue][in] */ BSTR strQueryLanguage,
  1007. /* [defaultvalue][in] */ long iFlags,
  1008. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1009. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1010. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecMethod )(
  1011. ISWbemServices * This,
  1012. /* [in] */ BSTR strObjectPath,
  1013. /* [in] */ BSTR strMethodName,
  1014. /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  1015. /* [defaultvalue][in] */ long iFlags,
  1016. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1017. /* [retval][out] */ ISWbemObject **objWbemOutParameters);
  1018. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecMethodAsync )(
  1019. ISWbemServices * This,
  1020. /* [in] */ IDispatch *objWbemSink,
  1021. /* [in] */ BSTR strObjectPath,
  1022. /* [in] */ BSTR strMethodName,
  1023. /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  1024. /* [defaultvalue][in] */ long iFlags,
  1025. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1026. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1027. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Security_ )(
  1028. ISWbemServices * This,
  1029. /* [retval][out] */ ISWbemSecurity **objWbemSecurity);
  1030. END_INTERFACE
  1031. } ISWbemServicesVtbl;
  1032. interface ISWbemServices
  1033. {
  1034. CONST_VTBL struct ISWbemServicesVtbl *lpVtbl;
  1035. };
  1036. #ifdef COBJMACROS
  1037. #define ISWbemServices_QueryInterface(This,riid,ppvObject) \
  1038. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1039. #define ISWbemServices_AddRef(This) \
  1040. (This)->lpVtbl -> AddRef(This)
  1041. #define ISWbemServices_Release(This) \
  1042. (This)->lpVtbl -> Release(This)
  1043. #define ISWbemServices_GetTypeInfoCount(This,pctinfo) \
  1044. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1045. #define ISWbemServices_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1046. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1047. #define ISWbemServices_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1048. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1049. #define ISWbemServices_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1050. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1051. #define ISWbemServices_Get(This,strObjectPath,iFlags,objWbemNamedValueSet,objWbemObject) \
  1052. (This)->lpVtbl -> Get(This,strObjectPath,iFlags,objWbemNamedValueSet,objWbemObject)
  1053. #define ISWbemServices_GetAsync(This,objWbemSink,strObjectPath,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  1054. (This)->lpVtbl -> GetAsync(This,objWbemSink,strObjectPath,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1055. #define ISWbemServices_Delete(This,strObjectPath,iFlags,objWbemNamedValueSet) \
  1056. (This)->lpVtbl -> Delete(This,strObjectPath,iFlags,objWbemNamedValueSet)
  1057. #define ISWbemServices_DeleteAsync(This,objWbemSink,strObjectPath,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  1058. (This)->lpVtbl -> DeleteAsync(This,objWbemSink,strObjectPath,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1059. #define ISWbemServices_InstancesOf(This,strClass,iFlags,objWbemNamedValueSet,objWbemObjectSet) \
  1060. (This)->lpVtbl -> InstancesOf(This,strClass,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1061. #define ISWbemServices_InstancesOfAsync(This,objWbemSink,strClass,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  1062. (This)->lpVtbl -> InstancesOfAsync(This,objWbemSink,strClass,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1063. #define ISWbemServices_SubclassesOf(This,strSuperclass,iFlags,objWbemNamedValueSet,objWbemObjectSet) \
  1064. (This)->lpVtbl -> SubclassesOf(This,strSuperclass,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1065. #define ISWbemServices_SubclassesOfAsync(This,objWbemSink,strSuperclass,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  1066. (This)->lpVtbl -> SubclassesOfAsync(This,objWbemSink,strSuperclass,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1067. #define ISWbemServices_ExecQuery(This,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemObjectSet) \
  1068. (This)->lpVtbl -> ExecQuery(This,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1069. #define ISWbemServices_ExecQueryAsync(This,objWbemSink,strQuery,strQueryLanguage,lFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  1070. (This)->lpVtbl -> ExecQueryAsync(This,objWbemSink,strQuery,strQueryLanguage,lFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1071. #define ISWbemServices_AssociatorsOf(This,strObjectPath,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet) \
  1072. (This)->lpVtbl -> AssociatorsOf(This,strObjectPath,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1073. #define ISWbemServices_AssociatorsOfAsync(This,objWbemSink,strObjectPath,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  1074. (This)->lpVtbl -> AssociatorsOfAsync(This,objWbemSink,strObjectPath,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1075. #define ISWbemServices_ReferencesTo(This,strObjectPath,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet) \
  1076. (This)->lpVtbl -> ReferencesTo(This,strObjectPath,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1077. #define ISWbemServices_ReferencesToAsync(This,objWbemSink,strObjectPath,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  1078. (This)->lpVtbl -> ReferencesToAsync(This,objWbemSink,strObjectPath,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1079. #define ISWbemServices_ExecNotificationQuery(This,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemEventSource) \
  1080. (This)->lpVtbl -> ExecNotificationQuery(This,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemEventSource)
  1081. #define ISWbemServices_ExecNotificationQueryAsync(This,objWbemSink,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  1082. (This)->lpVtbl -> ExecNotificationQueryAsync(This,objWbemSink,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1083. #define ISWbemServices_ExecMethod(This,strObjectPath,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemOutParameters) \
  1084. (This)->lpVtbl -> ExecMethod(This,strObjectPath,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemOutParameters)
  1085. #define ISWbemServices_ExecMethodAsync(This,objWbemSink,strObjectPath,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  1086. (This)->lpVtbl -> ExecMethodAsync(This,objWbemSink,strObjectPath,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1087. #define ISWbemServices_get_Security_(This,objWbemSecurity) \
  1088. (This)->lpVtbl -> get_Security_(This,objWbemSecurity)
  1089. #endif /* COBJMACROS */
  1090. #endif /* C style interface */
  1091. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_Get_Proxy(
  1092. ISWbemServices * This,
  1093. /* [defaultvalue][in] */ BSTR strObjectPath,
  1094. /* [defaultvalue][in] */ long iFlags,
  1095. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1096. /* [retval][out] */ ISWbemObject **objWbemObject);
  1097. void __RPC_STUB ISWbemServices_Get_Stub(
  1098. IRpcStubBuffer *This,
  1099. IRpcChannelBuffer *_pRpcChannelBuffer,
  1100. PRPC_MESSAGE _pRpcMessage,
  1101. DWORD *_pdwStubPhase);
  1102. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_GetAsync_Proxy(
  1103. ISWbemServices * This,
  1104. /* [in] */ IDispatch *objWbemSink,
  1105. /* [defaultvalue][in] */ BSTR strObjectPath,
  1106. /* [defaultvalue][in] */ long iFlags,
  1107. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1108. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1109. void __RPC_STUB ISWbemServices_GetAsync_Stub(
  1110. IRpcStubBuffer *This,
  1111. IRpcChannelBuffer *_pRpcChannelBuffer,
  1112. PRPC_MESSAGE _pRpcMessage,
  1113. DWORD *_pdwStubPhase);
  1114. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_Delete_Proxy(
  1115. ISWbemServices * This,
  1116. /* [in] */ BSTR strObjectPath,
  1117. /* [defaultvalue][in] */ long iFlags,
  1118. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet);
  1119. void __RPC_STUB ISWbemServices_Delete_Stub(
  1120. IRpcStubBuffer *This,
  1121. IRpcChannelBuffer *_pRpcChannelBuffer,
  1122. PRPC_MESSAGE _pRpcMessage,
  1123. DWORD *_pdwStubPhase);
  1124. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_DeleteAsync_Proxy(
  1125. ISWbemServices * This,
  1126. /* [in] */ IDispatch *objWbemSink,
  1127. /* [in] */ BSTR strObjectPath,
  1128. /* [defaultvalue][in] */ long iFlags,
  1129. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1130. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1131. void __RPC_STUB ISWbemServices_DeleteAsync_Stub(
  1132. IRpcStubBuffer *This,
  1133. IRpcChannelBuffer *_pRpcChannelBuffer,
  1134. PRPC_MESSAGE _pRpcMessage,
  1135. DWORD *_pdwStubPhase);
  1136. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_InstancesOf_Proxy(
  1137. ISWbemServices * This,
  1138. /* [in] */ BSTR strClass,
  1139. /* [defaultvalue][in] */ long iFlags,
  1140. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1141. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  1142. void __RPC_STUB ISWbemServices_InstancesOf_Stub(
  1143. IRpcStubBuffer *This,
  1144. IRpcChannelBuffer *_pRpcChannelBuffer,
  1145. PRPC_MESSAGE _pRpcMessage,
  1146. DWORD *_pdwStubPhase);
  1147. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_InstancesOfAsync_Proxy(
  1148. ISWbemServices * This,
  1149. /* [in] */ IDispatch *objWbemSink,
  1150. /* [in] */ BSTR strClass,
  1151. /* [defaultvalue][in] */ long iFlags,
  1152. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1153. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1154. void __RPC_STUB ISWbemServices_InstancesOfAsync_Stub(
  1155. IRpcStubBuffer *This,
  1156. IRpcChannelBuffer *_pRpcChannelBuffer,
  1157. PRPC_MESSAGE _pRpcMessage,
  1158. DWORD *_pdwStubPhase);
  1159. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_SubclassesOf_Proxy(
  1160. ISWbemServices * This,
  1161. /* [defaultvalue][in] */ BSTR strSuperclass,
  1162. /* [defaultvalue][in] */ long iFlags,
  1163. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1164. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  1165. void __RPC_STUB ISWbemServices_SubclassesOf_Stub(
  1166. IRpcStubBuffer *This,
  1167. IRpcChannelBuffer *_pRpcChannelBuffer,
  1168. PRPC_MESSAGE _pRpcMessage,
  1169. DWORD *_pdwStubPhase);
  1170. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_SubclassesOfAsync_Proxy(
  1171. ISWbemServices * This,
  1172. /* [in] */ IDispatch *objWbemSink,
  1173. /* [defaultvalue][in] */ BSTR strSuperclass,
  1174. /* [defaultvalue][in] */ long iFlags,
  1175. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1176. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1177. void __RPC_STUB ISWbemServices_SubclassesOfAsync_Stub(
  1178. IRpcStubBuffer *This,
  1179. IRpcChannelBuffer *_pRpcChannelBuffer,
  1180. PRPC_MESSAGE _pRpcMessage,
  1181. DWORD *_pdwStubPhase);
  1182. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_ExecQuery_Proxy(
  1183. ISWbemServices * This,
  1184. /* [in] */ BSTR strQuery,
  1185. /* [defaultvalue][in] */ BSTR strQueryLanguage,
  1186. /* [defaultvalue][in] */ long iFlags,
  1187. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1188. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  1189. void __RPC_STUB ISWbemServices_ExecQuery_Stub(
  1190. IRpcStubBuffer *This,
  1191. IRpcChannelBuffer *_pRpcChannelBuffer,
  1192. PRPC_MESSAGE _pRpcMessage,
  1193. DWORD *_pdwStubPhase);
  1194. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_ExecQueryAsync_Proxy(
  1195. ISWbemServices * This,
  1196. /* [in] */ IDispatch *objWbemSink,
  1197. /* [in] */ BSTR strQuery,
  1198. /* [defaultvalue][in] */ BSTR strQueryLanguage,
  1199. /* [defaultvalue][in] */ long lFlags,
  1200. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1201. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1202. void __RPC_STUB ISWbemServices_ExecQueryAsync_Stub(
  1203. IRpcStubBuffer *This,
  1204. IRpcChannelBuffer *_pRpcChannelBuffer,
  1205. PRPC_MESSAGE _pRpcMessage,
  1206. DWORD *_pdwStubPhase);
  1207. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_AssociatorsOf_Proxy(
  1208. ISWbemServices * This,
  1209. /* [in] */ BSTR strObjectPath,
  1210. /* [defaultvalue][in] */ BSTR strAssocClass,
  1211. /* [defaultvalue][in] */ BSTR strResultClass,
  1212. /* [defaultvalue][in] */ BSTR strResultRole,
  1213. /* [defaultvalue][in] */ BSTR strRole,
  1214. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1215. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1216. /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  1217. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1218. /* [defaultvalue][in] */ long iFlags,
  1219. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1220. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  1221. void __RPC_STUB ISWbemServices_AssociatorsOf_Stub(
  1222. IRpcStubBuffer *This,
  1223. IRpcChannelBuffer *_pRpcChannelBuffer,
  1224. PRPC_MESSAGE _pRpcMessage,
  1225. DWORD *_pdwStubPhase);
  1226. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_AssociatorsOfAsync_Proxy(
  1227. ISWbemServices * This,
  1228. /* [in] */ IDispatch *objWbemSink,
  1229. /* [in] */ BSTR strObjectPath,
  1230. /* [defaultvalue][in] */ BSTR strAssocClass,
  1231. /* [defaultvalue][in] */ BSTR strResultClass,
  1232. /* [defaultvalue][in] */ BSTR strResultRole,
  1233. /* [defaultvalue][in] */ BSTR strRole,
  1234. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1235. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1236. /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  1237. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1238. /* [defaultvalue][in] */ long iFlags,
  1239. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1240. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1241. void __RPC_STUB ISWbemServices_AssociatorsOfAsync_Stub(
  1242. IRpcStubBuffer *This,
  1243. IRpcChannelBuffer *_pRpcChannelBuffer,
  1244. PRPC_MESSAGE _pRpcMessage,
  1245. DWORD *_pdwStubPhase);
  1246. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_ReferencesTo_Proxy(
  1247. ISWbemServices * This,
  1248. /* [in] */ BSTR strObjectPath,
  1249. /* [defaultvalue][in] */ BSTR strResultClass,
  1250. /* [defaultvalue][in] */ BSTR strRole,
  1251. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1252. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1253. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1254. /* [defaultvalue][in] */ long iFlags,
  1255. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1256. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  1257. void __RPC_STUB ISWbemServices_ReferencesTo_Stub(
  1258. IRpcStubBuffer *This,
  1259. IRpcChannelBuffer *_pRpcChannelBuffer,
  1260. PRPC_MESSAGE _pRpcMessage,
  1261. DWORD *_pdwStubPhase);
  1262. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_ReferencesToAsync_Proxy(
  1263. ISWbemServices * This,
  1264. /* [in] */ IDispatch *objWbemSink,
  1265. /* [in] */ BSTR strObjectPath,
  1266. /* [defaultvalue][in] */ BSTR strResultClass,
  1267. /* [defaultvalue][in] */ BSTR strRole,
  1268. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1269. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1270. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1271. /* [defaultvalue][in] */ long iFlags,
  1272. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1273. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1274. void __RPC_STUB ISWbemServices_ReferencesToAsync_Stub(
  1275. IRpcStubBuffer *This,
  1276. IRpcChannelBuffer *_pRpcChannelBuffer,
  1277. PRPC_MESSAGE _pRpcMessage,
  1278. DWORD *_pdwStubPhase);
  1279. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_ExecNotificationQuery_Proxy(
  1280. ISWbemServices * This,
  1281. /* [in] */ BSTR strQuery,
  1282. /* [defaultvalue][in] */ BSTR strQueryLanguage,
  1283. /* [defaultvalue][in] */ long iFlags,
  1284. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1285. /* [retval][out] */ ISWbemEventSource **objWbemEventSource);
  1286. void __RPC_STUB ISWbemServices_ExecNotificationQuery_Stub(
  1287. IRpcStubBuffer *This,
  1288. IRpcChannelBuffer *_pRpcChannelBuffer,
  1289. PRPC_MESSAGE _pRpcMessage,
  1290. DWORD *_pdwStubPhase);
  1291. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_ExecNotificationQueryAsync_Proxy(
  1292. ISWbemServices * This,
  1293. /* [in] */ IDispatch *objWbemSink,
  1294. /* [in] */ BSTR strQuery,
  1295. /* [defaultvalue][in] */ BSTR strQueryLanguage,
  1296. /* [defaultvalue][in] */ long iFlags,
  1297. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1298. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1299. void __RPC_STUB ISWbemServices_ExecNotificationQueryAsync_Stub(
  1300. IRpcStubBuffer *This,
  1301. IRpcChannelBuffer *_pRpcChannelBuffer,
  1302. PRPC_MESSAGE _pRpcMessage,
  1303. DWORD *_pdwStubPhase);
  1304. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_ExecMethod_Proxy(
  1305. ISWbemServices * This,
  1306. /* [in] */ BSTR strObjectPath,
  1307. /* [in] */ BSTR strMethodName,
  1308. /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  1309. /* [defaultvalue][in] */ long iFlags,
  1310. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1311. /* [retval][out] */ ISWbemObject **objWbemOutParameters);
  1312. void __RPC_STUB ISWbemServices_ExecMethod_Stub(
  1313. IRpcStubBuffer *This,
  1314. IRpcChannelBuffer *_pRpcChannelBuffer,
  1315. PRPC_MESSAGE _pRpcMessage,
  1316. DWORD *_pdwStubPhase);
  1317. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_ExecMethodAsync_Proxy(
  1318. ISWbemServices * This,
  1319. /* [in] */ IDispatch *objWbemSink,
  1320. /* [in] */ BSTR strObjectPath,
  1321. /* [in] */ BSTR strMethodName,
  1322. /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  1323. /* [defaultvalue][in] */ long iFlags,
  1324. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1325. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1326. void __RPC_STUB ISWbemServices_ExecMethodAsync_Stub(
  1327. IRpcStubBuffer *This,
  1328. IRpcChannelBuffer *_pRpcChannelBuffer,
  1329. PRPC_MESSAGE _pRpcMessage,
  1330. DWORD *_pdwStubPhase);
  1331. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemServices_get_Security__Proxy(
  1332. ISWbemServices * This,
  1333. /* [retval][out] */ ISWbemSecurity **objWbemSecurity);
  1334. void __RPC_STUB ISWbemServices_get_Security__Stub(
  1335. IRpcStubBuffer *This,
  1336. IRpcChannelBuffer *_pRpcChannelBuffer,
  1337. PRPC_MESSAGE _pRpcMessage,
  1338. DWORD *_pdwStubPhase);
  1339. #endif /* __ISWbemServices_INTERFACE_DEFINED__ */
  1340. #ifndef __ISWbemLocator_INTERFACE_DEFINED__
  1341. #define __ISWbemLocator_INTERFACE_DEFINED__
  1342. /* interface ISWbemLocator */
  1343. /* [helpstring][unique][oleautomation][hidden][dual][uuid][local][object] */
  1344. EXTERN_C const IID IID_ISWbemLocator;
  1345. #if defined(__cplusplus) && !defined(CINTERFACE)
  1346. MIDL_INTERFACE("76A6415B-CB41-11d1-8B02-00600806D9B6")
  1347. ISWbemLocator : public IDispatch
  1348. {
  1349. public:
  1350. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ConnectServer(
  1351. /* [defaultvalue][in] */ BSTR strServer,
  1352. /* [defaultvalue][in] */ BSTR strNamespace,
  1353. /* [defaultvalue][in] */ BSTR strUser,
  1354. /* [defaultvalue][in] */ BSTR strPassword,
  1355. /* [defaultvalue][in] */ BSTR strLocale,
  1356. /* [defaultvalue][in] */ BSTR strAuthority,
  1357. /* [defaultvalue][in] */ long iSecurityFlags,
  1358. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1359. /* [retval][out] */ ISWbemServices **objWbemServices) = 0;
  1360. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Security_(
  1361. /* [retval][out] */ ISWbemSecurity **objWbemSecurity) = 0;
  1362. };
  1363. #else /* C style interface */
  1364. typedef struct ISWbemLocatorVtbl
  1365. {
  1366. BEGIN_INTERFACE
  1367. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1368. ISWbemLocator * This,
  1369. /* [in] */ REFIID riid,
  1370. /* [iid_is][out] */ void **ppvObject);
  1371. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1372. ISWbemLocator * This);
  1373. ULONG ( STDMETHODCALLTYPE *Release )(
  1374. ISWbemLocator * This);
  1375. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1376. ISWbemLocator * This,
  1377. /* [out] */ UINT *pctinfo);
  1378. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1379. ISWbemLocator * This,
  1380. /* [in] */ UINT iTInfo,
  1381. /* [in] */ LCID lcid,
  1382. /* [out] */ ITypeInfo **ppTInfo);
  1383. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1384. ISWbemLocator * This,
  1385. /* [in] */ REFIID riid,
  1386. /* [size_is][in] */ LPOLESTR *rgszNames,
  1387. /* [in] */ UINT cNames,
  1388. /* [in] */ LCID lcid,
  1389. /* [size_is][out] */ DISPID *rgDispId);
  1390. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1391. ISWbemLocator * This,
  1392. /* [in] */ DISPID dispIdMember,
  1393. /* [in] */ REFIID riid,
  1394. /* [in] */ LCID lcid,
  1395. /* [in] */ WORD wFlags,
  1396. /* [out][in] */ DISPPARAMS *pDispParams,
  1397. /* [out] */ VARIANT *pVarResult,
  1398. /* [out] */ EXCEPINFO *pExcepInfo,
  1399. /* [out] */ UINT *puArgErr);
  1400. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ConnectServer )(
  1401. ISWbemLocator * This,
  1402. /* [defaultvalue][in] */ BSTR strServer,
  1403. /* [defaultvalue][in] */ BSTR strNamespace,
  1404. /* [defaultvalue][in] */ BSTR strUser,
  1405. /* [defaultvalue][in] */ BSTR strPassword,
  1406. /* [defaultvalue][in] */ BSTR strLocale,
  1407. /* [defaultvalue][in] */ BSTR strAuthority,
  1408. /* [defaultvalue][in] */ long iSecurityFlags,
  1409. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1410. /* [retval][out] */ ISWbemServices **objWbemServices);
  1411. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Security_ )(
  1412. ISWbemLocator * This,
  1413. /* [retval][out] */ ISWbemSecurity **objWbemSecurity);
  1414. END_INTERFACE
  1415. } ISWbemLocatorVtbl;
  1416. interface ISWbemLocator
  1417. {
  1418. CONST_VTBL struct ISWbemLocatorVtbl *lpVtbl;
  1419. };
  1420. #ifdef COBJMACROS
  1421. #define ISWbemLocator_QueryInterface(This,riid,ppvObject) \
  1422. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1423. #define ISWbemLocator_AddRef(This) \
  1424. (This)->lpVtbl -> AddRef(This)
  1425. #define ISWbemLocator_Release(This) \
  1426. (This)->lpVtbl -> Release(This)
  1427. #define ISWbemLocator_GetTypeInfoCount(This,pctinfo) \
  1428. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1429. #define ISWbemLocator_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1430. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1431. #define ISWbemLocator_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1432. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1433. #define ISWbemLocator_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1434. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1435. #define ISWbemLocator_ConnectServer(This,strServer,strNamespace,strUser,strPassword,strLocale,strAuthority,iSecurityFlags,objWbemNamedValueSet,objWbemServices) \
  1436. (This)->lpVtbl -> ConnectServer(This,strServer,strNamespace,strUser,strPassword,strLocale,strAuthority,iSecurityFlags,objWbemNamedValueSet,objWbemServices)
  1437. #define ISWbemLocator_get_Security_(This,objWbemSecurity) \
  1438. (This)->lpVtbl -> get_Security_(This,objWbemSecurity)
  1439. #endif /* COBJMACROS */
  1440. #endif /* C style interface */
  1441. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemLocator_ConnectServer_Proxy(
  1442. ISWbemLocator * This,
  1443. /* [defaultvalue][in] */ BSTR strServer,
  1444. /* [defaultvalue][in] */ BSTR strNamespace,
  1445. /* [defaultvalue][in] */ BSTR strUser,
  1446. /* [defaultvalue][in] */ BSTR strPassword,
  1447. /* [defaultvalue][in] */ BSTR strLocale,
  1448. /* [defaultvalue][in] */ BSTR strAuthority,
  1449. /* [defaultvalue][in] */ long iSecurityFlags,
  1450. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1451. /* [retval][out] */ ISWbemServices **objWbemServices);
  1452. void __RPC_STUB ISWbemLocator_ConnectServer_Stub(
  1453. IRpcStubBuffer *This,
  1454. IRpcChannelBuffer *_pRpcChannelBuffer,
  1455. PRPC_MESSAGE _pRpcMessage,
  1456. DWORD *_pdwStubPhase);
  1457. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemLocator_get_Security__Proxy(
  1458. ISWbemLocator * This,
  1459. /* [retval][out] */ ISWbemSecurity **objWbemSecurity);
  1460. void __RPC_STUB ISWbemLocator_get_Security__Stub(
  1461. IRpcStubBuffer *This,
  1462. IRpcChannelBuffer *_pRpcChannelBuffer,
  1463. PRPC_MESSAGE _pRpcMessage,
  1464. DWORD *_pdwStubPhase);
  1465. #endif /* __ISWbemLocator_INTERFACE_DEFINED__ */
  1466. #ifndef __ISWbemObject_INTERFACE_DEFINED__
  1467. #define __ISWbemObject_INTERFACE_DEFINED__
  1468. /* interface ISWbemObject */
  1469. /* [helpstring][hidden][oleautomation][dual][uuid][object][local] */
  1470. #define WBEMS_DISPID_DERIVATION ( 23 )
  1471. EXTERN_C const IID IID_ISWbemObject;
  1472. #if defined(__cplusplus) && !defined(CINTERFACE)
  1473. MIDL_INTERFACE("76A6415A-CB41-11d1-8B02-00600806D9B6")
  1474. ISWbemObject : public IDispatch
  1475. {
  1476. public:
  1477. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Put_(
  1478. /* [defaultvalue][in] */ long iFlags,
  1479. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1480. /* [retval][out] */ ISWbemObjectPath **objWbemObjectPath) = 0;
  1481. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PutAsync_(
  1482. /* [in] */ IDispatch *objWbemSink,
  1483. /* [defaultvalue][in] */ long iFlags = wbemChangeFlagCreateOrUpdate,
  1484. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  1485. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  1486. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Delete_(
  1487. /* [defaultvalue][in] */ long iFlags = 0,
  1488. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0) = 0;
  1489. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteAsync_(
  1490. /* [in] */ IDispatch *objWbemSink,
  1491. /* [defaultvalue][in] */ long iFlags = 0,
  1492. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  1493. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  1494. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Instances_(
  1495. /* [defaultvalue][in] */ long iFlags,
  1496. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1497. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet) = 0;
  1498. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InstancesAsync_(
  1499. /* [in] */ IDispatch *objWbemSink,
  1500. /* [defaultvalue][in] */ long iFlags = 0,
  1501. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  1502. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  1503. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Subclasses_(
  1504. /* [defaultvalue][in] */ long iFlags,
  1505. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1506. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet) = 0;
  1507. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SubclassesAsync_(
  1508. /* [in] */ IDispatch *objWbemSink,
  1509. /* [defaultvalue][in] */ long iFlags = wbemQueryFlagDeep,
  1510. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  1511. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  1512. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Associators_(
  1513. /* [defaultvalue][in] */ BSTR strAssocClass,
  1514. /* [defaultvalue][in] */ BSTR strResultClass,
  1515. /* [defaultvalue][in] */ BSTR strResultRole,
  1516. /* [defaultvalue][in] */ BSTR strRole,
  1517. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1518. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1519. /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  1520. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1521. /* [defaultvalue][in] */ long iFlags,
  1522. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1523. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet) = 0;
  1524. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AssociatorsAsync_(
  1525. /* [in] */ IDispatch *objWbemSink,
  1526. /* [defaultvalue][in] */ BSTR strAssocClass = L"",
  1527. /* [defaultvalue][in] */ BSTR strResultClass = L"",
  1528. /* [defaultvalue][in] */ BSTR strResultRole = L"",
  1529. /* [defaultvalue][in] */ BSTR strRole = L"",
  1530. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly = FALSE,
  1531. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly = FALSE,
  1532. /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier = L"",
  1533. /* [defaultvalue][in] */ BSTR strRequiredQualifier = L"",
  1534. /* [defaultvalue][in] */ long iFlags = 0,
  1535. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  1536. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  1537. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE References_(
  1538. /* [defaultvalue][in] */ BSTR strResultClass,
  1539. /* [defaultvalue][in] */ BSTR strRole,
  1540. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1541. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1542. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1543. /* [defaultvalue][in] */ long iFlags,
  1544. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1545. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet) = 0;
  1546. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ReferencesAsync_(
  1547. /* [in] */ IDispatch *objWbemSink,
  1548. /* [defaultvalue][in] */ BSTR strResultClass = L"",
  1549. /* [defaultvalue][in] */ BSTR strRole = L"",
  1550. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly = FALSE,
  1551. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly = FALSE,
  1552. /* [defaultvalue][in] */ BSTR strRequiredQualifier = L"",
  1553. /* [defaultvalue][in] */ long iFlags = 0,
  1554. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  1555. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  1556. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExecMethod_(
  1557. /* [in] */ BSTR strMethodName,
  1558. /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  1559. /* [defaultvalue][in] */ long iFlags,
  1560. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1561. /* [retval][out] */ ISWbemObject **objWbemOutParameters) = 0;
  1562. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExecMethodAsync_(
  1563. /* [in] */ IDispatch *objWbemSink,
  1564. /* [in] */ BSTR strMethodName,
  1565. /* [defaultvalue][in] */ IDispatch *objWbemInParameters = 0,
  1566. /* [defaultvalue][in] */ long iFlags = 0,
  1567. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  1568. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  1569. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Clone_(
  1570. /* [retval][out] */ ISWbemObject **objWbemObject) = 0;
  1571. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetObjectText_(
  1572. /* [defaultvalue][in] */ long iFlags,
  1573. /* [retval][out] */ BSTR *strObjectText) = 0;
  1574. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SpawnDerivedClass_(
  1575. /* [defaultvalue][in] */ long iFlags,
  1576. /* [retval][out] */ ISWbemObject **objWbemObject) = 0;
  1577. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SpawnInstance_(
  1578. /* [defaultvalue][in] */ long iFlags,
  1579. /* [retval][out] */ ISWbemObject **objWbemObject) = 0;
  1580. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CompareTo_(
  1581. /* [in] */ IDispatch *objWbemObject,
  1582. /* [defaultvalue][in] */ long iFlags,
  1583. /* [retval][out] */ VARIANT_BOOL *bResult) = 0;
  1584. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Qualifiers_(
  1585. /* [retval][out] */ ISWbemQualifierSet **objWbemQualifierSet) = 0;
  1586. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Properties_(
  1587. /* [retval][out] */ ISWbemPropertySet **objWbemPropertySet) = 0;
  1588. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Methods_(
  1589. /* [retval][out] */ ISWbemMethodSet **objWbemMethodSet) = 0;
  1590. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Derivation_(
  1591. /* [retval][out] */ VARIANT *strClassNameArray) = 0;
  1592. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Path_(
  1593. /* [retval][out] */ ISWbemObjectPath **objWbemObjectPath) = 0;
  1594. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Security_(
  1595. /* [retval][out] */ ISWbemSecurity **objWbemSecurity) = 0;
  1596. };
  1597. #else /* C style interface */
  1598. typedef struct ISWbemObjectVtbl
  1599. {
  1600. BEGIN_INTERFACE
  1601. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1602. ISWbemObject * This,
  1603. /* [in] */ REFIID riid,
  1604. /* [iid_is][out] */ void **ppvObject);
  1605. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1606. ISWbemObject * This);
  1607. ULONG ( STDMETHODCALLTYPE *Release )(
  1608. ISWbemObject * This);
  1609. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1610. ISWbemObject * This,
  1611. /* [out] */ UINT *pctinfo);
  1612. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1613. ISWbemObject * This,
  1614. /* [in] */ UINT iTInfo,
  1615. /* [in] */ LCID lcid,
  1616. /* [out] */ ITypeInfo **ppTInfo);
  1617. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1618. ISWbemObject * This,
  1619. /* [in] */ REFIID riid,
  1620. /* [size_is][in] */ LPOLESTR *rgszNames,
  1621. /* [in] */ UINT cNames,
  1622. /* [in] */ LCID lcid,
  1623. /* [size_is][out] */ DISPID *rgDispId);
  1624. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1625. ISWbemObject * This,
  1626. /* [in] */ DISPID dispIdMember,
  1627. /* [in] */ REFIID riid,
  1628. /* [in] */ LCID lcid,
  1629. /* [in] */ WORD wFlags,
  1630. /* [out][in] */ DISPPARAMS *pDispParams,
  1631. /* [out] */ VARIANT *pVarResult,
  1632. /* [out] */ EXCEPINFO *pExcepInfo,
  1633. /* [out] */ UINT *puArgErr);
  1634. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Put_ )(
  1635. ISWbemObject * This,
  1636. /* [defaultvalue][in] */ long iFlags,
  1637. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1638. /* [retval][out] */ ISWbemObjectPath **objWbemObjectPath);
  1639. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PutAsync_ )(
  1640. ISWbemObject * This,
  1641. /* [in] */ IDispatch *objWbemSink,
  1642. /* [defaultvalue][in] */ long iFlags,
  1643. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1644. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1645. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete_ )(
  1646. ISWbemObject * This,
  1647. /* [defaultvalue][in] */ long iFlags,
  1648. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet);
  1649. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteAsync_ )(
  1650. ISWbemObject * This,
  1651. /* [in] */ IDispatch *objWbemSink,
  1652. /* [defaultvalue][in] */ long iFlags,
  1653. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1654. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1655. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Instances_ )(
  1656. ISWbemObject * This,
  1657. /* [defaultvalue][in] */ long iFlags,
  1658. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1659. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  1660. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InstancesAsync_ )(
  1661. ISWbemObject * This,
  1662. /* [in] */ IDispatch *objWbemSink,
  1663. /* [defaultvalue][in] */ long iFlags,
  1664. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1665. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1666. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Subclasses_ )(
  1667. ISWbemObject * This,
  1668. /* [defaultvalue][in] */ long iFlags,
  1669. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1670. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  1671. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SubclassesAsync_ )(
  1672. ISWbemObject * This,
  1673. /* [in] */ IDispatch *objWbemSink,
  1674. /* [defaultvalue][in] */ long iFlags,
  1675. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1676. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1677. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Associators_ )(
  1678. ISWbemObject * This,
  1679. /* [defaultvalue][in] */ BSTR strAssocClass,
  1680. /* [defaultvalue][in] */ BSTR strResultClass,
  1681. /* [defaultvalue][in] */ BSTR strResultRole,
  1682. /* [defaultvalue][in] */ BSTR strRole,
  1683. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1684. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1685. /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  1686. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1687. /* [defaultvalue][in] */ long iFlags,
  1688. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1689. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  1690. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AssociatorsAsync_ )(
  1691. ISWbemObject * This,
  1692. /* [in] */ IDispatch *objWbemSink,
  1693. /* [defaultvalue][in] */ BSTR strAssocClass,
  1694. /* [defaultvalue][in] */ BSTR strResultClass,
  1695. /* [defaultvalue][in] */ BSTR strResultRole,
  1696. /* [defaultvalue][in] */ BSTR strRole,
  1697. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1698. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1699. /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  1700. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1701. /* [defaultvalue][in] */ long iFlags,
  1702. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1703. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1704. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *References_ )(
  1705. ISWbemObject * This,
  1706. /* [defaultvalue][in] */ BSTR strResultClass,
  1707. /* [defaultvalue][in] */ BSTR strRole,
  1708. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1709. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1710. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1711. /* [defaultvalue][in] */ long iFlags,
  1712. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1713. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  1714. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ReferencesAsync_ )(
  1715. ISWbemObject * This,
  1716. /* [in] */ IDispatch *objWbemSink,
  1717. /* [defaultvalue][in] */ BSTR strResultClass,
  1718. /* [defaultvalue][in] */ BSTR strRole,
  1719. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1720. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1721. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1722. /* [defaultvalue][in] */ long iFlags,
  1723. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1724. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1725. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecMethod_ )(
  1726. ISWbemObject * This,
  1727. /* [in] */ BSTR strMethodName,
  1728. /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  1729. /* [defaultvalue][in] */ long iFlags,
  1730. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1731. /* [retval][out] */ ISWbemObject **objWbemOutParameters);
  1732. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecMethodAsync_ )(
  1733. ISWbemObject * This,
  1734. /* [in] */ IDispatch *objWbemSink,
  1735. /* [in] */ BSTR strMethodName,
  1736. /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  1737. /* [defaultvalue][in] */ long iFlags,
  1738. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1739. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1740. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clone_ )(
  1741. ISWbemObject * This,
  1742. /* [retval][out] */ ISWbemObject **objWbemObject);
  1743. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetObjectText_ )(
  1744. ISWbemObject * This,
  1745. /* [defaultvalue][in] */ long iFlags,
  1746. /* [retval][out] */ BSTR *strObjectText);
  1747. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SpawnDerivedClass_ )(
  1748. ISWbemObject * This,
  1749. /* [defaultvalue][in] */ long iFlags,
  1750. /* [retval][out] */ ISWbemObject **objWbemObject);
  1751. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SpawnInstance_ )(
  1752. ISWbemObject * This,
  1753. /* [defaultvalue][in] */ long iFlags,
  1754. /* [retval][out] */ ISWbemObject **objWbemObject);
  1755. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CompareTo_ )(
  1756. ISWbemObject * This,
  1757. /* [in] */ IDispatch *objWbemObject,
  1758. /* [defaultvalue][in] */ long iFlags,
  1759. /* [retval][out] */ VARIANT_BOOL *bResult);
  1760. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Qualifiers_ )(
  1761. ISWbemObject * This,
  1762. /* [retval][out] */ ISWbemQualifierSet **objWbemQualifierSet);
  1763. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Properties_ )(
  1764. ISWbemObject * This,
  1765. /* [retval][out] */ ISWbemPropertySet **objWbemPropertySet);
  1766. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Methods_ )(
  1767. ISWbemObject * This,
  1768. /* [retval][out] */ ISWbemMethodSet **objWbemMethodSet);
  1769. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Derivation_ )(
  1770. ISWbemObject * This,
  1771. /* [retval][out] */ VARIANT *strClassNameArray);
  1772. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Path_ )(
  1773. ISWbemObject * This,
  1774. /* [retval][out] */ ISWbemObjectPath **objWbemObjectPath);
  1775. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Security_ )(
  1776. ISWbemObject * This,
  1777. /* [retval][out] */ ISWbemSecurity **objWbemSecurity);
  1778. END_INTERFACE
  1779. } ISWbemObjectVtbl;
  1780. interface ISWbemObject
  1781. {
  1782. CONST_VTBL struct ISWbemObjectVtbl *lpVtbl;
  1783. };
  1784. #ifdef COBJMACROS
  1785. #define ISWbemObject_QueryInterface(This,riid,ppvObject) \
  1786. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1787. #define ISWbemObject_AddRef(This) \
  1788. (This)->lpVtbl -> AddRef(This)
  1789. #define ISWbemObject_Release(This) \
  1790. (This)->lpVtbl -> Release(This)
  1791. #define ISWbemObject_GetTypeInfoCount(This,pctinfo) \
  1792. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1793. #define ISWbemObject_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1794. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1795. #define ISWbemObject_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1796. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1797. #define ISWbemObject_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1798. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1799. #define ISWbemObject_Put_(This,iFlags,objWbemNamedValueSet,objWbemObjectPath) \
  1800. (This)->lpVtbl -> Put_(This,iFlags,objWbemNamedValueSet,objWbemObjectPath)
  1801. #define ISWbemObject_PutAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  1802. (This)->lpVtbl -> PutAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1803. #define ISWbemObject_Delete_(This,iFlags,objWbemNamedValueSet) \
  1804. (This)->lpVtbl -> Delete_(This,iFlags,objWbemNamedValueSet)
  1805. #define ISWbemObject_DeleteAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  1806. (This)->lpVtbl -> DeleteAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1807. #define ISWbemObject_Instances_(This,iFlags,objWbemNamedValueSet,objWbemObjectSet) \
  1808. (This)->lpVtbl -> Instances_(This,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1809. #define ISWbemObject_InstancesAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  1810. (This)->lpVtbl -> InstancesAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1811. #define ISWbemObject_Subclasses_(This,iFlags,objWbemNamedValueSet,objWbemObjectSet) \
  1812. (This)->lpVtbl -> Subclasses_(This,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1813. #define ISWbemObject_SubclassesAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  1814. (This)->lpVtbl -> SubclassesAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1815. #define ISWbemObject_Associators_(This,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet) \
  1816. (This)->lpVtbl -> Associators_(This,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1817. #define ISWbemObject_AssociatorsAsync_(This,objWbemSink,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  1818. (This)->lpVtbl -> AssociatorsAsync_(This,objWbemSink,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1819. #define ISWbemObject_References_(This,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet) \
  1820. (This)->lpVtbl -> References_(This,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  1821. #define ISWbemObject_ReferencesAsync_(This,objWbemSink,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  1822. (This)->lpVtbl -> ReferencesAsync_(This,objWbemSink,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1823. #define ISWbemObject_ExecMethod_(This,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemOutParameters) \
  1824. (This)->lpVtbl -> ExecMethod_(This,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemOutParameters)
  1825. #define ISWbemObject_ExecMethodAsync_(This,objWbemSink,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  1826. (This)->lpVtbl -> ExecMethodAsync_(This,objWbemSink,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  1827. #define ISWbemObject_Clone_(This,objWbemObject) \
  1828. (This)->lpVtbl -> Clone_(This,objWbemObject)
  1829. #define ISWbemObject_GetObjectText_(This,iFlags,strObjectText) \
  1830. (This)->lpVtbl -> GetObjectText_(This,iFlags,strObjectText)
  1831. #define ISWbemObject_SpawnDerivedClass_(This,iFlags,objWbemObject) \
  1832. (This)->lpVtbl -> SpawnDerivedClass_(This,iFlags,objWbemObject)
  1833. #define ISWbemObject_SpawnInstance_(This,iFlags,objWbemObject) \
  1834. (This)->lpVtbl -> SpawnInstance_(This,iFlags,objWbemObject)
  1835. #define ISWbemObject_CompareTo_(This,objWbemObject,iFlags,bResult) \
  1836. (This)->lpVtbl -> CompareTo_(This,objWbemObject,iFlags,bResult)
  1837. #define ISWbemObject_get_Qualifiers_(This,objWbemQualifierSet) \
  1838. (This)->lpVtbl -> get_Qualifiers_(This,objWbemQualifierSet)
  1839. #define ISWbemObject_get_Properties_(This,objWbemPropertySet) \
  1840. (This)->lpVtbl -> get_Properties_(This,objWbemPropertySet)
  1841. #define ISWbemObject_get_Methods_(This,objWbemMethodSet) \
  1842. (This)->lpVtbl -> get_Methods_(This,objWbemMethodSet)
  1843. #define ISWbemObject_get_Derivation_(This,strClassNameArray) \
  1844. (This)->lpVtbl -> get_Derivation_(This,strClassNameArray)
  1845. #define ISWbemObject_get_Path_(This,objWbemObjectPath) \
  1846. (This)->lpVtbl -> get_Path_(This,objWbemObjectPath)
  1847. #define ISWbemObject_get_Security_(This,objWbemSecurity) \
  1848. (This)->lpVtbl -> get_Security_(This,objWbemSecurity)
  1849. #endif /* COBJMACROS */
  1850. #endif /* C style interface */
  1851. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_Put__Proxy(
  1852. ISWbemObject * This,
  1853. /* [defaultvalue][in] */ long iFlags,
  1854. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1855. /* [retval][out] */ ISWbemObjectPath **objWbemObjectPath);
  1856. void __RPC_STUB ISWbemObject_Put__Stub(
  1857. IRpcStubBuffer *This,
  1858. IRpcChannelBuffer *_pRpcChannelBuffer,
  1859. PRPC_MESSAGE _pRpcMessage,
  1860. DWORD *_pdwStubPhase);
  1861. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_PutAsync__Proxy(
  1862. ISWbemObject * This,
  1863. /* [in] */ IDispatch *objWbemSink,
  1864. /* [defaultvalue][in] */ long iFlags,
  1865. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1866. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1867. void __RPC_STUB ISWbemObject_PutAsync__Stub(
  1868. IRpcStubBuffer *This,
  1869. IRpcChannelBuffer *_pRpcChannelBuffer,
  1870. PRPC_MESSAGE _pRpcMessage,
  1871. DWORD *_pdwStubPhase);
  1872. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_Delete__Proxy(
  1873. ISWbemObject * This,
  1874. /* [defaultvalue][in] */ long iFlags,
  1875. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet);
  1876. void __RPC_STUB ISWbemObject_Delete__Stub(
  1877. IRpcStubBuffer *This,
  1878. IRpcChannelBuffer *_pRpcChannelBuffer,
  1879. PRPC_MESSAGE _pRpcMessage,
  1880. DWORD *_pdwStubPhase);
  1881. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_DeleteAsync__Proxy(
  1882. ISWbemObject * This,
  1883. /* [in] */ IDispatch *objWbemSink,
  1884. /* [defaultvalue][in] */ long iFlags,
  1885. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1886. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1887. void __RPC_STUB ISWbemObject_DeleteAsync__Stub(
  1888. IRpcStubBuffer *This,
  1889. IRpcChannelBuffer *_pRpcChannelBuffer,
  1890. PRPC_MESSAGE _pRpcMessage,
  1891. DWORD *_pdwStubPhase);
  1892. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_Instances__Proxy(
  1893. ISWbemObject * This,
  1894. /* [defaultvalue][in] */ long iFlags,
  1895. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1896. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  1897. void __RPC_STUB ISWbemObject_Instances__Stub(
  1898. IRpcStubBuffer *This,
  1899. IRpcChannelBuffer *_pRpcChannelBuffer,
  1900. PRPC_MESSAGE _pRpcMessage,
  1901. DWORD *_pdwStubPhase);
  1902. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_InstancesAsync__Proxy(
  1903. ISWbemObject * This,
  1904. /* [in] */ IDispatch *objWbemSink,
  1905. /* [defaultvalue][in] */ long iFlags,
  1906. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1907. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1908. void __RPC_STUB ISWbemObject_InstancesAsync__Stub(
  1909. IRpcStubBuffer *This,
  1910. IRpcChannelBuffer *_pRpcChannelBuffer,
  1911. PRPC_MESSAGE _pRpcMessage,
  1912. DWORD *_pdwStubPhase);
  1913. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_Subclasses__Proxy(
  1914. ISWbemObject * This,
  1915. /* [defaultvalue][in] */ long iFlags,
  1916. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1917. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  1918. void __RPC_STUB ISWbemObject_Subclasses__Stub(
  1919. IRpcStubBuffer *This,
  1920. IRpcChannelBuffer *_pRpcChannelBuffer,
  1921. PRPC_MESSAGE _pRpcMessage,
  1922. DWORD *_pdwStubPhase);
  1923. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_SubclassesAsync__Proxy(
  1924. ISWbemObject * This,
  1925. /* [in] */ IDispatch *objWbemSink,
  1926. /* [defaultvalue][in] */ long iFlags,
  1927. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1928. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1929. void __RPC_STUB ISWbemObject_SubclassesAsync__Stub(
  1930. IRpcStubBuffer *This,
  1931. IRpcChannelBuffer *_pRpcChannelBuffer,
  1932. PRPC_MESSAGE _pRpcMessage,
  1933. DWORD *_pdwStubPhase);
  1934. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_Associators__Proxy(
  1935. ISWbemObject * This,
  1936. /* [defaultvalue][in] */ BSTR strAssocClass,
  1937. /* [defaultvalue][in] */ BSTR strResultClass,
  1938. /* [defaultvalue][in] */ BSTR strResultRole,
  1939. /* [defaultvalue][in] */ BSTR strRole,
  1940. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1941. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1942. /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  1943. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1944. /* [defaultvalue][in] */ long iFlags,
  1945. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1946. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  1947. void __RPC_STUB ISWbemObject_Associators__Stub(
  1948. IRpcStubBuffer *This,
  1949. IRpcChannelBuffer *_pRpcChannelBuffer,
  1950. PRPC_MESSAGE _pRpcMessage,
  1951. DWORD *_pdwStubPhase);
  1952. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_AssociatorsAsync__Proxy(
  1953. ISWbemObject * This,
  1954. /* [in] */ IDispatch *objWbemSink,
  1955. /* [defaultvalue][in] */ BSTR strAssocClass,
  1956. /* [defaultvalue][in] */ BSTR strResultClass,
  1957. /* [defaultvalue][in] */ BSTR strResultRole,
  1958. /* [defaultvalue][in] */ BSTR strRole,
  1959. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1960. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1961. /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  1962. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1963. /* [defaultvalue][in] */ long iFlags,
  1964. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1965. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1966. void __RPC_STUB ISWbemObject_AssociatorsAsync__Stub(
  1967. IRpcStubBuffer *This,
  1968. IRpcChannelBuffer *_pRpcChannelBuffer,
  1969. PRPC_MESSAGE _pRpcMessage,
  1970. DWORD *_pdwStubPhase);
  1971. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_References__Proxy(
  1972. ISWbemObject * This,
  1973. /* [defaultvalue][in] */ BSTR strResultClass,
  1974. /* [defaultvalue][in] */ BSTR strRole,
  1975. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1976. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1977. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1978. /* [defaultvalue][in] */ long iFlags,
  1979. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1980. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  1981. void __RPC_STUB ISWbemObject_References__Stub(
  1982. IRpcStubBuffer *This,
  1983. IRpcChannelBuffer *_pRpcChannelBuffer,
  1984. PRPC_MESSAGE _pRpcMessage,
  1985. DWORD *_pdwStubPhase);
  1986. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_ReferencesAsync__Proxy(
  1987. ISWbemObject * This,
  1988. /* [in] */ IDispatch *objWbemSink,
  1989. /* [defaultvalue][in] */ BSTR strResultClass,
  1990. /* [defaultvalue][in] */ BSTR strRole,
  1991. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  1992. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  1993. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  1994. /* [defaultvalue][in] */ long iFlags,
  1995. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  1996. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  1997. void __RPC_STUB ISWbemObject_ReferencesAsync__Stub(
  1998. IRpcStubBuffer *This,
  1999. IRpcChannelBuffer *_pRpcChannelBuffer,
  2000. PRPC_MESSAGE _pRpcMessage,
  2001. DWORD *_pdwStubPhase);
  2002. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_ExecMethod__Proxy(
  2003. ISWbemObject * This,
  2004. /* [in] */ BSTR strMethodName,
  2005. /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  2006. /* [defaultvalue][in] */ long iFlags,
  2007. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  2008. /* [retval][out] */ ISWbemObject **objWbemOutParameters);
  2009. void __RPC_STUB ISWbemObject_ExecMethod__Stub(
  2010. IRpcStubBuffer *This,
  2011. IRpcChannelBuffer *_pRpcChannelBuffer,
  2012. PRPC_MESSAGE _pRpcMessage,
  2013. DWORD *_pdwStubPhase);
  2014. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_ExecMethodAsync__Proxy(
  2015. ISWbemObject * This,
  2016. /* [in] */ IDispatch *objWbemSink,
  2017. /* [in] */ BSTR strMethodName,
  2018. /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  2019. /* [defaultvalue][in] */ long iFlags,
  2020. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  2021. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  2022. void __RPC_STUB ISWbemObject_ExecMethodAsync__Stub(
  2023. IRpcStubBuffer *This,
  2024. IRpcChannelBuffer *_pRpcChannelBuffer,
  2025. PRPC_MESSAGE _pRpcMessage,
  2026. DWORD *_pdwStubPhase);
  2027. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_Clone__Proxy(
  2028. ISWbemObject * This,
  2029. /* [retval][out] */ ISWbemObject **objWbemObject);
  2030. void __RPC_STUB ISWbemObject_Clone__Stub(
  2031. IRpcStubBuffer *This,
  2032. IRpcChannelBuffer *_pRpcChannelBuffer,
  2033. PRPC_MESSAGE _pRpcMessage,
  2034. DWORD *_pdwStubPhase);
  2035. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_GetObjectText__Proxy(
  2036. ISWbemObject * This,
  2037. /* [defaultvalue][in] */ long iFlags,
  2038. /* [retval][out] */ BSTR *strObjectText);
  2039. void __RPC_STUB ISWbemObject_GetObjectText__Stub(
  2040. IRpcStubBuffer *This,
  2041. IRpcChannelBuffer *_pRpcChannelBuffer,
  2042. PRPC_MESSAGE _pRpcMessage,
  2043. DWORD *_pdwStubPhase);
  2044. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_SpawnDerivedClass__Proxy(
  2045. ISWbemObject * This,
  2046. /* [defaultvalue][in] */ long iFlags,
  2047. /* [retval][out] */ ISWbemObject **objWbemObject);
  2048. void __RPC_STUB ISWbemObject_SpawnDerivedClass__Stub(
  2049. IRpcStubBuffer *This,
  2050. IRpcChannelBuffer *_pRpcChannelBuffer,
  2051. PRPC_MESSAGE _pRpcMessage,
  2052. DWORD *_pdwStubPhase);
  2053. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_SpawnInstance__Proxy(
  2054. ISWbemObject * This,
  2055. /* [defaultvalue][in] */ long iFlags,
  2056. /* [retval][out] */ ISWbemObject **objWbemObject);
  2057. void __RPC_STUB ISWbemObject_SpawnInstance__Stub(
  2058. IRpcStubBuffer *This,
  2059. IRpcChannelBuffer *_pRpcChannelBuffer,
  2060. PRPC_MESSAGE _pRpcMessage,
  2061. DWORD *_pdwStubPhase);
  2062. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_CompareTo__Proxy(
  2063. ISWbemObject * This,
  2064. /* [in] */ IDispatch *objWbemObject,
  2065. /* [defaultvalue][in] */ long iFlags,
  2066. /* [retval][out] */ VARIANT_BOOL *bResult);
  2067. void __RPC_STUB ISWbemObject_CompareTo__Stub(
  2068. IRpcStubBuffer *This,
  2069. IRpcChannelBuffer *_pRpcChannelBuffer,
  2070. PRPC_MESSAGE _pRpcMessage,
  2071. DWORD *_pdwStubPhase);
  2072. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_get_Qualifiers__Proxy(
  2073. ISWbemObject * This,
  2074. /* [retval][out] */ ISWbemQualifierSet **objWbemQualifierSet);
  2075. void __RPC_STUB ISWbemObject_get_Qualifiers__Stub(
  2076. IRpcStubBuffer *This,
  2077. IRpcChannelBuffer *_pRpcChannelBuffer,
  2078. PRPC_MESSAGE _pRpcMessage,
  2079. DWORD *_pdwStubPhase);
  2080. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_get_Properties__Proxy(
  2081. ISWbemObject * This,
  2082. /* [retval][out] */ ISWbemPropertySet **objWbemPropertySet);
  2083. void __RPC_STUB ISWbemObject_get_Properties__Stub(
  2084. IRpcStubBuffer *This,
  2085. IRpcChannelBuffer *_pRpcChannelBuffer,
  2086. PRPC_MESSAGE _pRpcMessage,
  2087. DWORD *_pdwStubPhase);
  2088. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_get_Methods__Proxy(
  2089. ISWbemObject * This,
  2090. /* [retval][out] */ ISWbemMethodSet **objWbemMethodSet);
  2091. void __RPC_STUB ISWbemObject_get_Methods__Stub(
  2092. IRpcStubBuffer *This,
  2093. IRpcChannelBuffer *_pRpcChannelBuffer,
  2094. PRPC_MESSAGE _pRpcMessage,
  2095. DWORD *_pdwStubPhase);
  2096. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_get_Derivation__Proxy(
  2097. ISWbemObject * This,
  2098. /* [retval][out] */ VARIANT *strClassNameArray);
  2099. void __RPC_STUB ISWbemObject_get_Derivation__Stub(
  2100. IRpcStubBuffer *This,
  2101. IRpcChannelBuffer *_pRpcChannelBuffer,
  2102. PRPC_MESSAGE _pRpcMessage,
  2103. DWORD *_pdwStubPhase);
  2104. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_get_Path__Proxy(
  2105. ISWbemObject * This,
  2106. /* [retval][out] */ ISWbemObjectPath **objWbemObjectPath);
  2107. void __RPC_STUB ISWbemObject_get_Path__Stub(
  2108. IRpcStubBuffer *This,
  2109. IRpcChannelBuffer *_pRpcChannelBuffer,
  2110. PRPC_MESSAGE _pRpcMessage,
  2111. DWORD *_pdwStubPhase);
  2112. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObject_get_Security__Proxy(
  2113. ISWbemObject * This,
  2114. /* [retval][out] */ ISWbemSecurity **objWbemSecurity);
  2115. void __RPC_STUB ISWbemObject_get_Security__Stub(
  2116. IRpcStubBuffer *This,
  2117. IRpcChannelBuffer *_pRpcChannelBuffer,
  2118. PRPC_MESSAGE _pRpcMessage,
  2119. DWORD *_pdwStubPhase);
  2120. #endif /* __ISWbemObject_INTERFACE_DEFINED__ */
  2121. #ifndef __ISWbemObjectSet_INTERFACE_DEFINED__
  2122. #define __ISWbemObjectSet_INTERFACE_DEFINED__
  2123. /* interface ISWbemObjectSet */
  2124. /* [helpstring][nonextensible][hidden][dual][oleautomation][uuid][object][local] */
  2125. EXTERN_C const IID IID_ISWbemObjectSet;
  2126. #if defined(__cplusplus) && !defined(CINTERFACE)
  2127. MIDL_INTERFACE("76A6415F-CB41-11d1-8B02-00600806D9B6")
  2128. ISWbemObjectSet : public IDispatch
  2129. {
  2130. public:
  2131. virtual /* [restricted][propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  2132. /* [retval][out] */ IUnknown **pUnk) = 0;
  2133. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Item(
  2134. /* [in] */ BSTR strObjectPath,
  2135. /* [defaultvalue][in] */ long iFlags,
  2136. /* [retval][out] */ ISWbemObject **objWbemObject) = 0;
  2137. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Count(
  2138. /* [retval][out] */ long *iCount) = 0;
  2139. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Security_(
  2140. /* [retval][out] */ ISWbemSecurity **objWbemSecurity) = 0;
  2141. };
  2142. #else /* C style interface */
  2143. typedef struct ISWbemObjectSetVtbl
  2144. {
  2145. BEGIN_INTERFACE
  2146. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2147. ISWbemObjectSet * This,
  2148. /* [in] */ REFIID riid,
  2149. /* [iid_is][out] */ void **ppvObject);
  2150. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2151. ISWbemObjectSet * This);
  2152. ULONG ( STDMETHODCALLTYPE *Release )(
  2153. ISWbemObjectSet * This);
  2154. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2155. ISWbemObjectSet * This,
  2156. /* [out] */ UINT *pctinfo);
  2157. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2158. ISWbemObjectSet * This,
  2159. /* [in] */ UINT iTInfo,
  2160. /* [in] */ LCID lcid,
  2161. /* [out] */ ITypeInfo **ppTInfo);
  2162. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2163. ISWbemObjectSet * This,
  2164. /* [in] */ REFIID riid,
  2165. /* [size_is][in] */ LPOLESTR *rgszNames,
  2166. /* [in] */ UINT cNames,
  2167. /* [in] */ LCID lcid,
  2168. /* [size_is][out] */ DISPID *rgDispId);
  2169. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2170. ISWbemObjectSet * This,
  2171. /* [in] */ DISPID dispIdMember,
  2172. /* [in] */ REFIID riid,
  2173. /* [in] */ LCID lcid,
  2174. /* [in] */ WORD wFlags,
  2175. /* [out][in] */ DISPPARAMS *pDispParams,
  2176. /* [out] */ VARIANT *pVarResult,
  2177. /* [out] */ EXCEPINFO *pExcepInfo,
  2178. /* [out] */ UINT *puArgErr);
  2179. /* [restricted][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  2180. ISWbemObjectSet * This,
  2181. /* [retval][out] */ IUnknown **pUnk);
  2182. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Item )(
  2183. ISWbemObjectSet * This,
  2184. /* [in] */ BSTR strObjectPath,
  2185. /* [defaultvalue][in] */ long iFlags,
  2186. /* [retval][out] */ ISWbemObject **objWbemObject);
  2187. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  2188. ISWbemObjectSet * This,
  2189. /* [retval][out] */ long *iCount);
  2190. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Security_ )(
  2191. ISWbemObjectSet * This,
  2192. /* [retval][out] */ ISWbemSecurity **objWbemSecurity);
  2193. END_INTERFACE
  2194. } ISWbemObjectSetVtbl;
  2195. interface ISWbemObjectSet
  2196. {
  2197. CONST_VTBL struct ISWbemObjectSetVtbl *lpVtbl;
  2198. };
  2199. #ifdef COBJMACROS
  2200. #define ISWbemObjectSet_QueryInterface(This,riid,ppvObject) \
  2201. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2202. #define ISWbemObjectSet_AddRef(This) \
  2203. (This)->lpVtbl -> AddRef(This)
  2204. #define ISWbemObjectSet_Release(This) \
  2205. (This)->lpVtbl -> Release(This)
  2206. #define ISWbemObjectSet_GetTypeInfoCount(This,pctinfo) \
  2207. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2208. #define ISWbemObjectSet_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2209. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2210. #define ISWbemObjectSet_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2211. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2212. #define ISWbemObjectSet_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2213. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2214. #define ISWbemObjectSet_get__NewEnum(This,pUnk) \
  2215. (This)->lpVtbl -> get__NewEnum(This,pUnk)
  2216. #define ISWbemObjectSet_Item(This,strObjectPath,iFlags,objWbemObject) \
  2217. (This)->lpVtbl -> Item(This,strObjectPath,iFlags,objWbemObject)
  2218. #define ISWbemObjectSet_get_Count(This,iCount) \
  2219. (This)->lpVtbl -> get_Count(This,iCount)
  2220. #define ISWbemObjectSet_get_Security_(This,objWbemSecurity) \
  2221. (This)->lpVtbl -> get_Security_(This,objWbemSecurity)
  2222. #endif /* COBJMACROS */
  2223. #endif /* C style interface */
  2224. /* [restricted][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectSet_get__NewEnum_Proxy(
  2225. ISWbemObjectSet * This,
  2226. /* [retval][out] */ IUnknown **pUnk);
  2227. void __RPC_STUB ISWbemObjectSet_get__NewEnum_Stub(
  2228. IRpcStubBuffer *This,
  2229. IRpcChannelBuffer *_pRpcChannelBuffer,
  2230. PRPC_MESSAGE _pRpcMessage,
  2231. DWORD *_pdwStubPhase);
  2232. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectSet_Item_Proxy(
  2233. ISWbemObjectSet * This,
  2234. /* [in] */ BSTR strObjectPath,
  2235. /* [defaultvalue][in] */ long iFlags,
  2236. /* [retval][out] */ ISWbemObject **objWbemObject);
  2237. void __RPC_STUB ISWbemObjectSet_Item_Stub(
  2238. IRpcStubBuffer *This,
  2239. IRpcChannelBuffer *_pRpcChannelBuffer,
  2240. PRPC_MESSAGE _pRpcMessage,
  2241. DWORD *_pdwStubPhase);
  2242. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectSet_get_Count_Proxy(
  2243. ISWbemObjectSet * This,
  2244. /* [retval][out] */ long *iCount);
  2245. void __RPC_STUB ISWbemObjectSet_get_Count_Stub(
  2246. IRpcStubBuffer *This,
  2247. IRpcChannelBuffer *_pRpcChannelBuffer,
  2248. PRPC_MESSAGE _pRpcMessage,
  2249. DWORD *_pdwStubPhase);
  2250. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectSet_get_Security__Proxy(
  2251. ISWbemObjectSet * This,
  2252. /* [retval][out] */ ISWbemSecurity **objWbemSecurity);
  2253. void __RPC_STUB ISWbemObjectSet_get_Security__Stub(
  2254. IRpcStubBuffer *This,
  2255. IRpcChannelBuffer *_pRpcChannelBuffer,
  2256. PRPC_MESSAGE _pRpcMessage,
  2257. DWORD *_pdwStubPhase);
  2258. #endif /* __ISWbemObjectSet_INTERFACE_DEFINED__ */
  2259. #ifndef __ISWbemNamedValue_INTERFACE_DEFINED__
  2260. #define __ISWbemNamedValue_INTERFACE_DEFINED__
  2261. /* interface ISWbemNamedValue */
  2262. /* [helpstring][hidden][oleautomation][dual][uuid][object][local] */
  2263. EXTERN_C const IID IID_ISWbemNamedValue;
  2264. #if defined(__cplusplus) && !defined(CINTERFACE)
  2265. MIDL_INTERFACE("76A64164-CB41-11d1-8B02-00600806D9B6")
  2266. ISWbemNamedValue : public IDispatch
  2267. {
  2268. public:
  2269. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Value(
  2270. /* [retval][out] */ VARIANT *varValue) = 0;
  2271. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Value(
  2272. /* [in] */ VARIANT *varValue) = 0;
  2273. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name(
  2274. /* [retval][out] */ BSTR *strName) = 0;
  2275. };
  2276. #else /* C style interface */
  2277. typedef struct ISWbemNamedValueVtbl
  2278. {
  2279. BEGIN_INTERFACE
  2280. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2281. ISWbemNamedValue * This,
  2282. /* [in] */ REFIID riid,
  2283. /* [iid_is][out] */ void **ppvObject);
  2284. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2285. ISWbemNamedValue * This);
  2286. ULONG ( STDMETHODCALLTYPE *Release )(
  2287. ISWbemNamedValue * This);
  2288. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2289. ISWbemNamedValue * This,
  2290. /* [out] */ UINT *pctinfo);
  2291. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2292. ISWbemNamedValue * This,
  2293. /* [in] */ UINT iTInfo,
  2294. /* [in] */ LCID lcid,
  2295. /* [out] */ ITypeInfo **ppTInfo);
  2296. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2297. ISWbemNamedValue * This,
  2298. /* [in] */ REFIID riid,
  2299. /* [size_is][in] */ LPOLESTR *rgszNames,
  2300. /* [in] */ UINT cNames,
  2301. /* [in] */ LCID lcid,
  2302. /* [size_is][out] */ DISPID *rgDispId);
  2303. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2304. ISWbemNamedValue * This,
  2305. /* [in] */ DISPID dispIdMember,
  2306. /* [in] */ REFIID riid,
  2307. /* [in] */ LCID lcid,
  2308. /* [in] */ WORD wFlags,
  2309. /* [out][in] */ DISPPARAMS *pDispParams,
  2310. /* [out] */ VARIANT *pVarResult,
  2311. /* [out] */ EXCEPINFO *pExcepInfo,
  2312. /* [out] */ UINT *puArgErr);
  2313. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Value )(
  2314. ISWbemNamedValue * This,
  2315. /* [retval][out] */ VARIANT *varValue);
  2316. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Value )(
  2317. ISWbemNamedValue * This,
  2318. /* [in] */ VARIANT *varValue);
  2319. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  2320. ISWbemNamedValue * This,
  2321. /* [retval][out] */ BSTR *strName);
  2322. END_INTERFACE
  2323. } ISWbemNamedValueVtbl;
  2324. interface ISWbemNamedValue
  2325. {
  2326. CONST_VTBL struct ISWbemNamedValueVtbl *lpVtbl;
  2327. };
  2328. #ifdef COBJMACROS
  2329. #define ISWbemNamedValue_QueryInterface(This,riid,ppvObject) \
  2330. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2331. #define ISWbemNamedValue_AddRef(This) \
  2332. (This)->lpVtbl -> AddRef(This)
  2333. #define ISWbemNamedValue_Release(This) \
  2334. (This)->lpVtbl -> Release(This)
  2335. #define ISWbemNamedValue_GetTypeInfoCount(This,pctinfo) \
  2336. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2337. #define ISWbemNamedValue_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2338. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2339. #define ISWbemNamedValue_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2340. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2341. #define ISWbemNamedValue_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2342. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2343. #define ISWbemNamedValue_get_Value(This,varValue) \
  2344. (This)->lpVtbl -> get_Value(This,varValue)
  2345. #define ISWbemNamedValue_put_Value(This,varValue) \
  2346. (This)->lpVtbl -> put_Value(This,varValue)
  2347. #define ISWbemNamedValue_get_Name(This,strName) \
  2348. (This)->lpVtbl -> get_Name(This,strName)
  2349. #endif /* COBJMACROS */
  2350. #endif /* C style interface */
  2351. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemNamedValue_get_Value_Proxy(
  2352. ISWbemNamedValue * This,
  2353. /* [retval][out] */ VARIANT *varValue);
  2354. void __RPC_STUB ISWbemNamedValue_get_Value_Stub(
  2355. IRpcStubBuffer *This,
  2356. IRpcChannelBuffer *_pRpcChannelBuffer,
  2357. PRPC_MESSAGE _pRpcMessage,
  2358. DWORD *_pdwStubPhase);
  2359. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemNamedValue_put_Value_Proxy(
  2360. ISWbemNamedValue * This,
  2361. /* [in] */ VARIANT *varValue);
  2362. void __RPC_STUB ISWbemNamedValue_put_Value_Stub(
  2363. IRpcStubBuffer *This,
  2364. IRpcChannelBuffer *_pRpcChannelBuffer,
  2365. PRPC_MESSAGE _pRpcMessage,
  2366. DWORD *_pdwStubPhase);
  2367. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemNamedValue_get_Name_Proxy(
  2368. ISWbemNamedValue * This,
  2369. /* [retval][out] */ BSTR *strName);
  2370. void __RPC_STUB ISWbemNamedValue_get_Name_Stub(
  2371. IRpcStubBuffer *This,
  2372. IRpcChannelBuffer *_pRpcChannelBuffer,
  2373. PRPC_MESSAGE _pRpcMessage,
  2374. DWORD *_pdwStubPhase);
  2375. #endif /* __ISWbemNamedValue_INTERFACE_DEFINED__ */
  2376. #ifndef __ISWbemNamedValueSet_INTERFACE_DEFINED__
  2377. #define __ISWbemNamedValueSet_INTERFACE_DEFINED__
  2378. /* interface ISWbemNamedValueSet */
  2379. /* [helpstring][hidden][dual][oleautomation][uuid][object][local] */
  2380. EXTERN_C const IID IID_ISWbemNamedValueSet;
  2381. #if defined(__cplusplus) && !defined(CINTERFACE)
  2382. MIDL_INTERFACE("CF2376EA-CE8C-11d1-8B05-00600806D9B6")
  2383. ISWbemNamedValueSet : public IDispatch
  2384. {
  2385. public:
  2386. virtual /* [restricted][propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  2387. /* [retval][out] */ IUnknown **pUnk) = 0;
  2388. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Item(
  2389. /* [in] */ BSTR strName,
  2390. /* [defaultvalue][in] */ long iFlags,
  2391. /* [retval][out] */ ISWbemNamedValue **objWbemNamedValue) = 0;
  2392. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Count(
  2393. /* [retval][out] */ long *iCount) = 0;
  2394. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add(
  2395. /* [in] */ BSTR strName,
  2396. /* [in] */ VARIANT *varValue,
  2397. /* [defaultvalue][in] */ long iFlags,
  2398. /* [retval][out] */ ISWbemNamedValue **objWbemNamedValue) = 0;
  2399. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove(
  2400. /* [in] */ BSTR strName,
  2401. /* [defaultvalue][in] */ long iFlags = 0) = 0;
  2402. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Clone(
  2403. /* [retval][out] */ ISWbemNamedValueSet **objWbemNamedValueSet) = 0;
  2404. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteAll( void) = 0;
  2405. };
  2406. #else /* C style interface */
  2407. typedef struct ISWbemNamedValueSetVtbl
  2408. {
  2409. BEGIN_INTERFACE
  2410. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2411. ISWbemNamedValueSet * This,
  2412. /* [in] */ REFIID riid,
  2413. /* [iid_is][out] */ void **ppvObject);
  2414. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2415. ISWbemNamedValueSet * This);
  2416. ULONG ( STDMETHODCALLTYPE *Release )(
  2417. ISWbemNamedValueSet * This);
  2418. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2419. ISWbemNamedValueSet * This,
  2420. /* [out] */ UINT *pctinfo);
  2421. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2422. ISWbemNamedValueSet * This,
  2423. /* [in] */ UINT iTInfo,
  2424. /* [in] */ LCID lcid,
  2425. /* [out] */ ITypeInfo **ppTInfo);
  2426. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2427. ISWbemNamedValueSet * This,
  2428. /* [in] */ REFIID riid,
  2429. /* [size_is][in] */ LPOLESTR *rgszNames,
  2430. /* [in] */ UINT cNames,
  2431. /* [in] */ LCID lcid,
  2432. /* [size_is][out] */ DISPID *rgDispId);
  2433. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2434. ISWbemNamedValueSet * This,
  2435. /* [in] */ DISPID dispIdMember,
  2436. /* [in] */ REFIID riid,
  2437. /* [in] */ LCID lcid,
  2438. /* [in] */ WORD wFlags,
  2439. /* [out][in] */ DISPPARAMS *pDispParams,
  2440. /* [out] */ VARIANT *pVarResult,
  2441. /* [out] */ EXCEPINFO *pExcepInfo,
  2442. /* [out] */ UINT *puArgErr);
  2443. /* [restricted][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  2444. ISWbemNamedValueSet * This,
  2445. /* [retval][out] */ IUnknown **pUnk);
  2446. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Item )(
  2447. ISWbemNamedValueSet * This,
  2448. /* [in] */ BSTR strName,
  2449. /* [defaultvalue][in] */ long iFlags,
  2450. /* [retval][out] */ ISWbemNamedValue **objWbemNamedValue);
  2451. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  2452. ISWbemNamedValueSet * This,
  2453. /* [retval][out] */ long *iCount);
  2454. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )(
  2455. ISWbemNamedValueSet * This,
  2456. /* [in] */ BSTR strName,
  2457. /* [in] */ VARIANT *varValue,
  2458. /* [defaultvalue][in] */ long iFlags,
  2459. /* [retval][out] */ ISWbemNamedValue **objWbemNamedValue);
  2460. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
  2461. ISWbemNamedValueSet * This,
  2462. /* [in] */ BSTR strName,
  2463. /* [defaultvalue][in] */ long iFlags);
  2464. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clone )(
  2465. ISWbemNamedValueSet * This,
  2466. /* [retval][out] */ ISWbemNamedValueSet **objWbemNamedValueSet);
  2467. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteAll )(
  2468. ISWbemNamedValueSet * This);
  2469. END_INTERFACE
  2470. } ISWbemNamedValueSetVtbl;
  2471. interface ISWbemNamedValueSet
  2472. {
  2473. CONST_VTBL struct ISWbemNamedValueSetVtbl *lpVtbl;
  2474. };
  2475. #ifdef COBJMACROS
  2476. #define ISWbemNamedValueSet_QueryInterface(This,riid,ppvObject) \
  2477. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2478. #define ISWbemNamedValueSet_AddRef(This) \
  2479. (This)->lpVtbl -> AddRef(This)
  2480. #define ISWbemNamedValueSet_Release(This) \
  2481. (This)->lpVtbl -> Release(This)
  2482. #define ISWbemNamedValueSet_GetTypeInfoCount(This,pctinfo) \
  2483. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2484. #define ISWbemNamedValueSet_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2485. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2486. #define ISWbemNamedValueSet_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2487. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2488. #define ISWbemNamedValueSet_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2489. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2490. #define ISWbemNamedValueSet_get__NewEnum(This,pUnk) \
  2491. (This)->lpVtbl -> get__NewEnum(This,pUnk)
  2492. #define ISWbemNamedValueSet_Item(This,strName,iFlags,objWbemNamedValue) \
  2493. (This)->lpVtbl -> Item(This,strName,iFlags,objWbemNamedValue)
  2494. #define ISWbemNamedValueSet_get_Count(This,iCount) \
  2495. (This)->lpVtbl -> get_Count(This,iCount)
  2496. #define ISWbemNamedValueSet_Add(This,strName,varValue,iFlags,objWbemNamedValue) \
  2497. (This)->lpVtbl -> Add(This,strName,varValue,iFlags,objWbemNamedValue)
  2498. #define ISWbemNamedValueSet_Remove(This,strName,iFlags) \
  2499. (This)->lpVtbl -> Remove(This,strName,iFlags)
  2500. #define ISWbemNamedValueSet_Clone(This,objWbemNamedValueSet) \
  2501. (This)->lpVtbl -> Clone(This,objWbemNamedValueSet)
  2502. #define ISWbemNamedValueSet_DeleteAll(This) \
  2503. (This)->lpVtbl -> DeleteAll(This)
  2504. #endif /* COBJMACROS */
  2505. #endif /* C style interface */
  2506. /* [restricted][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemNamedValueSet_get__NewEnum_Proxy(
  2507. ISWbemNamedValueSet * This,
  2508. /* [retval][out] */ IUnknown **pUnk);
  2509. void __RPC_STUB ISWbemNamedValueSet_get__NewEnum_Stub(
  2510. IRpcStubBuffer *This,
  2511. IRpcChannelBuffer *_pRpcChannelBuffer,
  2512. PRPC_MESSAGE _pRpcMessage,
  2513. DWORD *_pdwStubPhase);
  2514. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemNamedValueSet_Item_Proxy(
  2515. ISWbemNamedValueSet * This,
  2516. /* [in] */ BSTR strName,
  2517. /* [defaultvalue][in] */ long iFlags,
  2518. /* [retval][out] */ ISWbemNamedValue **objWbemNamedValue);
  2519. void __RPC_STUB ISWbemNamedValueSet_Item_Stub(
  2520. IRpcStubBuffer *This,
  2521. IRpcChannelBuffer *_pRpcChannelBuffer,
  2522. PRPC_MESSAGE _pRpcMessage,
  2523. DWORD *_pdwStubPhase);
  2524. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemNamedValueSet_get_Count_Proxy(
  2525. ISWbemNamedValueSet * This,
  2526. /* [retval][out] */ long *iCount);
  2527. void __RPC_STUB ISWbemNamedValueSet_get_Count_Stub(
  2528. IRpcStubBuffer *This,
  2529. IRpcChannelBuffer *_pRpcChannelBuffer,
  2530. PRPC_MESSAGE _pRpcMessage,
  2531. DWORD *_pdwStubPhase);
  2532. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemNamedValueSet_Add_Proxy(
  2533. ISWbemNamedValueSet * This,
  2534. /* [in] */ BSTR strName,
  2535. /* [in] */ VARIANT *varValue,
  2536. /* [defaultvalue][in] */ long iFlags,
  2537. /* [retval][out] */ ISWbemNamedValue **objWbemNamedValue);
  2538. void __RPC_STUB ISWbemNamedValueSet_Add_Stub(
  2539. IRpcStubBuffer *This,
  2540. IRpcChannelBuffer *_pRpcChannelBuffer,
  2541. PRPC_MESSAGE _pRpcMessage,
  2542. DWORD *_pdwStubPhase);
  2543. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemNamedValueSet_Remove_Proxy(
  2544. ISWbemNamedValueSet * This,
  2545. /* [in] */ BSTR strName,
  2546. /* [defaultvalue][in] */ long iFlags);
  2547. void __RPC_STUB ISWbemNamedValueSet_Remove_Stub(
  2548. IRpcStubBuffer *This,
  2549. IRpcChannelBuffer *_pRpcChannelBuffer,
  2550. PRPC_MESSAGE _pRpcMessage,
  2551. DWORD *_pdwStubPhase);
  2552. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemNamedValueSet_Clone_Proxy(
  2553. ISWbemNamedValueSet * This,
  2554. /* [retval][out] */ ISWbemNamedValueSet **objWbemNamedValueSet);
  2555. void __RPC_STUB ISWbemNamedValueSet_Clone_Stub(
  2556. IRpcStubBuffer *This,
  2557. IRpcChannelBuffer *_pRpcChannelBuffer,
  2558. PRPC_MESSAGE _pRpcMessage,
  2559. DWORD *_pdwStubPhase);
  2560. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemNamedValueSet_DeleteAll_Proxy(
  2561. ISWbemNamedValueSet * This);
  2562. void __RPC_STUB ISWbemNamedValueSet_DeleteAll_Stub(
  2563. IRpcStubBuffer *This,
  2564. IRpcChannelBuffer *_pRpcChannelBuffer,
  2565. PRPC_MESSAGE _pRpcMessage,
  2566. DWORD *_pdwStubPhase);
  2567. #endif /* __ISWbemNamedValueSet_INTERFACE_DEFINED__ */
  2568. #ifndef __ISWbemQualifier_INTERFACE_DEFINED__
  2569. #define __ISWbemQualifier_INTERFACE_DEFINED__
  2570. /* interface ISWbemQualifier */
  2571. /* [helpstring][unique][nonextensible][hidden][oleautomation][dual][uuid][local][object] */
  2572. EXTERN_C const IID IID_ISWbemQualifier;
  2573. #if defined(__cplusplus) && !defined(CINTERFACE)
  2574. MIDL_INTERFACE("79B05932-D3B7-11d1-8B06-00600806D9B6")
  2575. ISWbemQualifier : public IDispatch
  2576. {
  2577. public:
  2578. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Value(
  2579. /* [retval][out] */ VARIANT *varValue) = 0;
  2580. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Value(
  2581. /* [in] */ VARIANT *varValue) = 0;
  2582. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name(
  2583. /* [retval][out] */ BSTR *strName) = 0;
  2584. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_IsLocal(
  2585. /* [retval][out] */ VARIANT_BOOL *bIsLocal) = 0;
  2586. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_PropagatesToSubclass(
  2587. /* [retval][out] */ VARIANT_BOOL *bPropagatesToSubclass) = 0;
  2588. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_PropagatesToSubclass(
  2589. /* [in] */ VARIANT_BOOL bPropagatesToSubclass) = 0;
  2590. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_PropagatesToInstance(
  2591. /* [retval][out] */ VARIANT_BOOL *bPropagatesToInstance) = 0;
  2592. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_PropagatesToInstance(
  2593. /* [in] */ VARIANT_BOOL bPropagatesToInstance) = 0;
  2594. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_IsOverridable(
  2595. /* [retval][out] */ VARIANT_BOOL *bIsOverridable) = 0;
  2596. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_IsOverridable(
  2597. /* [in] */ VARIANT_BOOL bIsOverridable) = 0;
  2598. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_IsAmended(
  2599. /* [retval][out] */ VARIANT_BOOL *bIsAmended) = 0;
  2600. };
  2601. #else /* C style interface */
  2602. typedef struct ISWbemQualifierVtbl
  2603. {
  2604. BEGIN_INTERFACE
  2605. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2606. ISWbemQualifier * This,
  2607. /* [in] */ REFIID riid,
  2608. /* [iid_is][out] */ void **ppvObject);
  2609. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2610. ISWbemQualifier * This);
  2611. ULONG ( STDMETHODCALLTYPE *Release )(
  2612. ISWbemQualifier * This);
  2613. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2614. ISWbemQualifier * This,
  2615. /* [out] */ UINT *pctinfo);
  2616. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2617. ISWbemQualifier * This,
  2618. /* [in] */ UINT iTInfo,
  2619. /* [in] */ LCID lcid,
  2620. /* [out] */ ITypeInfo **ppTInfo);
  2621. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2622. ISWbemQualifier * This,
  2623. /* [in] */ REFIID riid,
  2624. /* [size_is][in] */ LPOLESTR *rgszNames,
  2625. /* [in] */ UINT cNames,
  2626. /* [in] */ LCID lcid,
  2627. /* [size_is][out] */ DISPID *rgDispId);
  2628. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2629. ISWbemQualifier * This,
  2630. /* [in] */ DISPID dispIdMember,
  2631. /* [in] */ REFIID riid,
  2632. /* [in] */ LCID lcid,
  2633. /* [in] */ WORD wFlags,
  2634. /* [out][in] */ DISPPARAMS *pDispParams,
  2635. /* [out] */ VARIANT *pVarResult,
  2636. /* [out] */ EXCEPINFO *pExcepInfo,
  2637. /* [out] */ UINT *puArgErr);
  2638. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Value )(
  2639. ISWbemQualifier * This,
  2640. /* [retval][out] */ VARIANT *varValue);
  2641. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Value )(
  2642. ISWbemQualifier * This,
  2643. /* [in] */ VARIANT *varValue);
  2644. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  2645. ISWbemQualifier * This,
  2646. /* [retval][out] */ BSTR *strName);
  2647. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_IsLocal )(
  2648. ISWbemQualifier * This,
  2649. /* [retval][out] */ VARIANT_BOOL *bIsLocal);
  2650. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_PropagatesToSubclass )(
  2651. ISWbemQualifier * This,
  2652. /* [retval][out] */ VARIANT_BOOL *bPropagatesToSubclass);
  2653. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_PropagatesToSubclass )(
  2654. ISWbemQualifier * This,
  2655. /* [in] */ VARIANT_BOOL bPropagatesToSubclass);
  2656. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_PropagatesToInstance )(
  2657. ISWbemQualifier * This,
  2658. /* [retval][out] */ VARIANT_BOOL *bPropagatesToInstance);
  2659. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_PropagatesToInstance )(
  2660. ISWbemQualifier * This,
  2661. /* [in] */ VARIANT_BOOL bPropagatesToInstance);
  2662. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_IsOverridable )(
  2663. ISWbemQualifier * This,
  2664. /* [retval][out] */ VARIANT_BOOL *bIsOverridable);
  2665. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_IsOverridable )(
  2666. ISWbemQualifier * This,
  2667. /* [in] */ VARIANT_BOOL bIsOverridable);
  2668. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_IsAmended )(
  2669. ISWbemQualifier * This,
  2670. /* [retval][out] */ VARIANT_BOOL *bIsAmended);
  2671. END_INTERFACE
  2672. } ISWbemQualifierVtbl;
  2673. interface ISWbemQualifier
  2674. {
  2675. CONST_VTBL struct ISWbemQualifierVtbl *lpVtbl;
  2676. };
  2677. #ifdef COBJMACROS
  2678. #define ISWbemQualifier_QueryInterface(This,riid,ppvObject) \
  2679. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2680. #define ISWbemQualifier_AddRef(This) \
  2681. (This)->lpVtbl -> AddRef(This)
  2682. #define ISWbemQualifier_Release(This) \
  2683. (This)->lpVtbl -> Release(This)
  2684. #define ISWbemQualifier_GetTypeInfoCount(This,pctinfo) \
  2685. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2686. #define ISWbemQualifier_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2687. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2688. #define ISWbemQualifier_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2689. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2690. #define ISWbemQualifier_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2691. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2692. #define ISWbemQualifier_get_Value(This,varValue) \
  2693. (This)->lpVtbl -> get_Value(This,varValue)
  2694. #define ISWbemQualifier_put_Value(This,varValue) \
  2695. (This)->lpVtbl -> put_Value(This,varValue)
  2696. #define ISWbemQualifier_get_Name(This,strName) \
  2697. (This)->lpVtbl -> get_Name(This,strName)
  2698. #define ISWbemQualifier_get_IsLocal(This,bIsLocal) \
  2699. (This)->lpVtbl -> get_IsLocal(This,bIsLocal)
  2700. #define ISWbemQualifier_get_PropagatesToSubclass(This,bPropagatesToSubclass) \
  2701. (This)->lpVtbl -> get_PropagatesToSubclass(This,bPropagatesToSubclass)
  2702. #define ISWbemQualifier_put_PropagatesToSubclass(This,bPropagatesToSubclass) \
  2703. (This)->lpVtbl -> put_PropagatesToSubclass(This,bPropagatesToSubclass)
  2704. #define ISWbemQualifier_get_PropagatesToInstance(This,bPropagatesToInstance) \
  2705. (This)->lpVtbl -> get_PropagatesToInstance(This,bPropagatesToInstance)
  2706. #define ISWbemQualifier_put_PropagatesToInstance(This,bPropagatesToInstance) \
  2707. (This)->lpVtbl -> put_PropagatesToInstance(This,bPropagatesToInstance)
  2708. #define ISWbemQualifier_get_IsOverridable(This,bIsOverridable) \
  2709. (This)->lpVtbl -> get_IsOverridable(This,bIsOverridable)
  2710. #define ISWbemQualifier_put_IsOverridable(This,bIsOverridable) \
  2711. (This)->lpVtbl -> put_IsOverridable(This,bIsOverridable)
  2712. #define ISWbemQualifier_get_IsAmended(This,bIsAmended) \
  2713. (This)->lpVtbl -> get_IsAmended(This,bIsAmended)
  2714. #endif /* COBJMACROS */
  2715. #endif /* C style interface */
  2716. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemQualifier_get_Value_Proxy(
  2717. ISWbemQualifier * This,
  2718. /* [retval][out] */ VARIANT *varValue);
  2719. void __RPC_STUB ISWbemQualifier_get_Value_Stub(
  2720. IRpcStubBuffer *This,
  2721. IRpcChannelBuffer *_pRpcChannelBuffer,
  2722. PRPC_MESSAGE _pRpcMessage,
  2723. DWORD *_pdwStubPhase);
  2724. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemQualifier_put_Value_Proxy(
  2725. ISWbemQualifier * This,
  2726. /* [in] */ VARIANT *varValue);
  2727. void __RPC_STUB ISWbemQualifier_put_Value_Stub(
  2728. IRpcStubBuffer *This,
  2729. IRpcChannelBuffer *_pRpcChannelBuffer,
  2730. PRPC_MESSAGE _pRpcMessage,
  2731. DWORD *_pdwStubPhase);
  2732. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemQualifier_get_Name_Proxy(
  2733. ISWbemQualifier * This,
  2734. /* [retval][out] */ BSTR *strName);
  2735. void __RPC_STUB ISWbemQualifier_get_Name_Stub(
  2736. IRpcStubBuffer *This,
  2737. IRpcChannelBuffer *_pRpcChannelBuffer,
  2738. PRPC_MESSAGE _pRpcMessage,
  2739. DWORD *_pdwStubPhase);
  2740. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemQualifier_get_IsLocal_Proxy(
  2741. ISWbemQualifier * This,
  2742. /* [retval][out] */ VARIANT_BOOL *bIsLocal);
  2743. void __RPC_STUB ISWbemQualifier_get_IsLocal_Stub(
  2744. IRpcStubBuffer *This,
  2745. IRpcChannelBuffer *_pRpcChannelBuffer,
  2746. PRPC_MESSAGE _pRpcMessage,
  2747. DWORD *_pdwStubPhase);
  2748. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemQualifier_get_PropagatesToSubclass_Proxy(
  2749. ISWbemQualifier * This,
  2750. /* [retval][out] */ VARIANT_BOOL *bPropagatesToSubclass);
  2751. void __RPC_STUB ISWbemQualifier_get_PropagatesToSubclass_Stub(
  2752. IRpcStubBuffer *This,
  2753. IRpcChannelBuffer *_pRpcChannelBuffer,
  2754. PRPC_MESSAGE _pRpcMessage,
  2755. DWORD *_pdwStubPhase);
  2756. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemQualifier_put_PropagatesToSubclass_Proxy(
  2757. ISWbemQualifier * This,
  2758. /* [in] */ VARIANT_BOOL bPropagatesToSubclass);
  2759. void __RPC_STUB ISWbemQualifier_put_PropagatesToSubclass_Stub(
  2760. IRpcStubBuffer *This,
  2761. IRpcChannelBuffer *_pRpcChannelBuffer,
  2762. PRPC_MESSAGE _pRpcMessage,
  2763. DWORD *_pdwStubPhase);
  2764. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemQualifier_get_PropagatesToInstance_Proxy(
  2765. ISWbemQualifier * This,
  2766. /* [retval][out] */ VARIANT_BOOL *bPropagatesToInstance);
  2767. void __RPC_STUB ISWbemQualifier_get_PropagatesToInstance_Stub(
  2768. IRpcStubBuffer *This,
  2769. IRpcChannelBuffer *_pRpcChannelBuffer,
  2770. PRPC_MESSAGE _pRpcMessage,
  2771. DWORD *_pdwStubPhase);
  2772. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemQualifier_put_PropagatesToInstance_Proxy(
  2773. ISWbemQualifier * This,
  2774. /* [in] */ VARIANT_BOOL bPropagatesToInstance);
  2775. void __RPC_STUB ISWbemQualifier_put_PropagatesToInstance_Stub(
  2776. IRpcStubBuffer *This,
  2777. IRpcChannelBuffer *_pRpcChannelBuffer,
  2778. PRPC_MESSAGE _pRpcMessage,
  2779. DWORD *_pdwStubPhase);
  2780. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemQualifier_get_IsOverridable_Proxy(
  2781. ISWbemQualifier * This,
  2782. /* [retval][out] */ VARIANT_BOOL *bIsOverridable);
  2783. void __RPC_STUB ISWbemQualifier_get_IsOverridable_Stub(
  2784. IRpcStubBuffer *This,
  2785. IRpcChannelBuffer *_pRpcChannelBuffer,
  2786. PRPC_MESSAGE _pRpcMessage,
  2787. DWORD *_pdwStubPhase);
  2788. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemQualifier_put_IsOverridable_Proxy(
  2789. ISWbemQualifier * This,
  2790. /* [in] */ VARIANT_BOOL bIsOverridable);
  2791. void __RPC_STUB ISWbemQualifier_put_IsOverridable_Stub(
  2792. IRpcStubBuffer *This,
  2793. IRpcChannelBuffer *_pRpcChannelBuffer,
  2794. PRPC_MESSAGE _pRpcMessage,
  2795. DWORD *_pdwStubPhase);
  2796. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemQualifier_get_IsAmended_Proxy(
  2797. ISWbemQualifier * This,
  2798. /* [retval][out] */ VARIANT_BOOL *bIsAmended);
  2799. void __RPC_STUB ISWbemQualifier_get_IsAmended_Stub(
  2800. IRpcStubBuffer *This,
  2801. IRpcChannelBuffer *_pRpcChannelBuffer,
  2802. PRPC_MESSAGE _pRpcMessage,
  2803. DWORD *_pdwStubPhase);
  2804. #endif /* __ISWbemQualifier_INTERFACE_DEFINED__ */
  2805. #ifndef __ISWbemQualifierSet_INTERFACE_DEFINED__
  2806. #define __ISWbemQualifierSet_INTERFACE_DEFINED__
  2807. /* interface ISWbemQualifierSet */
  2808. /* [helpstring][nonextensible][hidden][dual][oleautomation][uuid][local][object] */
  2809. EXTERN_C const IID IID_ISWbemQualifierSet;
  2810. #if defined(__cplusplus) && !defined(CINTERFACE)
  2811. MIDL_INTERFACE("9B16ED16-D3DF-11d1-8B08-00600806D9B6")
  2812. ISWbemQualifierSet : public IDispatch
  2813. {
  2814. public:
  2815. virtual /* [restricted][propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  2816. /* [retval][out] */ IUnknown **pUnk) = 0;
  2817. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Item(
  2818. /* [in] */ BSTR name,
  2819. /* [defaultvalue][in] */ long iFlags,
  2820. /* [retval][out] */ ISWbemQualifier **objWbemQualifier) = 0;
  2821. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Count(
  2822. /* [retval][out] */ long *iCount) = 0;
  2823. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add(
  2824. /* [in] */ BSTR strName,
  2825. /* [in] */ VARIANT *varVal,
  2826. /* [defaultvalue][in] */ VARIANT_BOOL bPropagatesToSubclass,
  2827. /* [defaultvalue][in] */ VARIANT_BOOL bPropagatesToInstance,
  2828. /* [defaultvalue][in] */ VARIANT_BOOL bIsOverridable,
  2829. /* [defaultvalue][in] */ long iFlags,
  2830. /* [retval][out] */ ISWbemQualifier **objWbemQualifier) = 0;
  2831. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove(
  2832. /* [in] */ BSTR strName,
  2833. /* [defaultvalue][in] */ long iFlags = 0) = 0;
  2834. };
  2835. #else /* C style interface */
  2836. typedef struct ISWbemQualifierSetVtbl
  2837. {
  2838. BEGIN_INTERFACE
  2839. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2840. ISWbemQualifierSet * This,
  2841. /* [in] */ REFIID riid,
  2842. /* [iid_is][out] */ void **ppvObject);
  2843. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2844. ISWbemQualifierSet * This);
  2845. ULONG ( STDMETHODCALLTYPE *Release )(
  2846. ISWbemQualifierSet * This);
  2847. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2848. ISWbemQualifierSet * This,
  2849. /* [out] */ UINT *pctinfo);
  2850. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2851. ISWbemQualifierSet * This,
  2852. /* [in] */ UINT iTInfo,
  2853. /* [in] */ LCID lcid,
  2854. /* [out] */ ITypeInfo **ppTInfo);
  2855. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2856. ISWbemQualifierSet * This,
  2857. /* [in] */ REFIID riid,
  2858. /* [size_is][in] */ LPOLESTR *rgszNames,
  2859. /* [in] */ UINT cNames,
  2860. /* [in] */ LCID lcid,
  2861. /* [size_is][out] */ DISPID *rgDispId);
  2862. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2863. ISWbemQualifierSet * This,
  2864. /* [in] */ DISPID dispIdMember,
  2865. /* [in] */ REFIID riid,
  2866. /* [in] */ LCID lcid,
  2867. /* [in] */ WORD wFlags,
  2868. /* [out][in] */ DISPPARAMS *pDispParams,
  2869. /* [out] */ VARIANT *pVarResult,
  2870. /* [out] */ EXCEPINFO *pExcepInfo,
  2871. /* [out] */ UINT *puArgErr);
  2872. /* [restricted][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  2873. ISWbemQualifierSet * This,
  2874. /* [retval][out] */ IUnknown **pUnk);
  2875. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Item )(
  2876. ISWbemQualifierSet * This,
  2877. /* [in] */ BSTR name,
  2878. /* [defaultvalue][in] */ long iFlags,
  2879. /* [retval][out] */ ISWbemQualifier **objWbemQualifier);
  2880. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  2881. ISWbemQualifierSet * This,
  2882. /* [retval][out] */ long *iCount);
  2883. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )(
  2884. ISWbemQualifierSet * This,
  2885. /* [in] */ BSTR strName,
  2886. /* [in] */ VARIANT *varVal,
  2887. /* [defaultvalue][in] */ VARIANT_BOOL bPropagatesToSubclass,
  2888. /* [defaultvalue][in] */ VARIANT_BOOL bPropagatesToInstance,
  2889. /* [defaultvalue][in] */ VARIANT_BOOL bIsOverridable,
  2890. /* [defaultvalue][in] */ long iFlags,
  2891. /* [retval][out] */ ISWbemQualifier **objWbemQualifier);
  2892. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
  2893. ISWbemQualifierSet * This,
  2894. /* [in] */ BSTR strName,
  2895. /* [defaultvalue][in] */ long iFlags);
  2896. END_INTERFACE
  2897. } ISWbemQualifierSetVtbl;
  2898. interface ISWbemQualifierSet
  2899. {
  2900. CONST_VTBL struct ISWbemQualifierSetVtbl *lpVtbl;
  2901. };
  2902. #ifdef COBJMACROS
  2903. #define ISWbemQualifierSet_QueryInterface(This,riid,ppvObject) \
  2904. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2905. #define ISWbemQualifierSet_AddRef(This) \
  2906. (This)->lpVtbl -> AddRef(This)
  2907. #define ISWbemQualifierSet_Release(This) \
  2908. (This)->lpVtbl -> Release(This)
  2909. #define ISWbemQualifierSet_GetTypeInfoCount(This,pctinfo) \
  2910. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2911. #define ISWbemQualifierSet_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2912. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2913. #define ISWbemQualifierSet_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2914. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2915. #define ISWbemQualifierSet_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2916. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2917. #define ISWbemQualifierSet_get__NewEnum(This,pUnk) \
  2918. (This)->lpVtbl -> get__NewEnum(This,pUnk)
  2919. #define ISWbemQualifierSet_Item(This,name,iFlags,objWbemQualifier) \
  2920. (This)->lpVtbl -> Item(This,name,iFlags,objWbemQualifier)
  2921. #define ISWbemQualifierSet_get_Count(This,iCount) \
  2922. (This)->lpVtbl -> get_Count(This,iCount)
  2923. #define ISWbemQualifierSet_Add(This,strName,varVal,bPropagatesToSubclass,bPropagatesToInstance,bIsOverridable,iFlags,objWbemQualifier) \
  2924. (This)->lpVtbl -> Add(This,strName,varVal,bPropagatesToSubclass,bPropagatesToInstance,bIsOverridable,iFlags,objWbemQualifier)
  2925. #define ISWbemQualifierSet_Remove(This,strName,iFlags) \
  2926. (This)->lpVtbl -> Remove(This,strName,iFlags)
  2927. #endif /* COBJMACROS */
  2928. #endif /* C style interface */
  2929. /* [restricted][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemQualifierSet_get__NewEnum_Proxy(
  2930. ISWbemQualifierSet * This,
  2931. /* [retval][out] */ IUnknown **pUnk);
  2932. void __RPC_STUB ISWbemQualifierSet_get__NewEnum_Stub(
  2933. IRpcStubBuffer *This,
  2934. IRpcChannelBuffer *_pRpcChannelBuffer,
  2935. PRPC_MESSAGE _pRpcMessage,
  2936. DWORD *_pdwStubPhase);
  2937. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemQualifierSet_Item_Proxy(
  2938. ISWbemQualifierSet * This,
  2939. /* [in] */ BSTR name,
  2940. /* [defaultvalue][in] */ long iFlags,
  2941. /* [retval][out] */ ISWbemQualifier **objWbemQualifier);
  2942. void __RPC_STUB ISWbemQualifierSet_Item_Stub(
  2943. IRpcStubBuffer *This,
  2944. IRpcChannelBuffer *_pRpcChannelBuffer,
  2945. PRPC_MESSAGE _pRpcMessage,
  2946. DWORD *_pdwStubPhase);
  2947. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemQualifierSet_get_Count_Proxy(
  2948. ISWbemQualifierSet * This,
  2949. /* [retval][out] */ long *iCount);
  2950. void __RPC_STUB ISWbemQualifierSet_get_Count_Stub(
  2951. IRpcStubBuffer *This,
  2952. IRpcChannelBuffer *_pRpcChannelBuffer,
  2953. PRPC_MESSAGE _pRpcMessage,
  2954. DWORD *_pdwStubPhase);
  2955. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemQualifierSet_Add_Proxy(
  2956. ISWbemQualifierSet * This,
  2957. /* [in] */ BSTR strName,
  2958. /* [in] */ VARIANT *varVal,
  2959. /* [defaultvalue][in] */ VARIANT_BOOL bPropagatesToSubclass,
  2960. /* [defaultvalue][in] */ VARIANT_BOOL bPropagatesToInstance,
  2961. /* [defaultvalue][in] */ VARIANT_BOOL bIsOverridable,
  2962. /* [defaultvalue][in] */ long iFlags,
  2963. /* [retval][out] */ ISWbemQualifier **objWbemQualifier);
  2964. void __RPC_STUB ISWbemQualifierSet_Add_Stub(
  2965. IRpcStubBuffer *This,
  2966. IRpcChannelBuffer *_pRpcChannelBuffer,
  2967. PRPC_MESSAGE _pRpcMessage,
  2968. DWORD *_pdwStubPhase);
  2969. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemQualifierSet_Remove_Proxy(
  2970. ISWbemQualifierSet * This,
  2971. /* [in] */ BSTR strName,
  2972. /* [defaultvalue][in] */ long iFlags);
  2973. void __RPC_STUB ISWbemQualifierSet_Remove_Stub(
  2974. IRpcStubBuffer *This,
  2975. IRpcChannelBuffer *_pRpcChannelBuffer,
  2976. PRPC_MESSAGE _pRpcMessage,
  2977. DWORD *_pdwStubPhase);
  2978. #endif /* __ISWbemQualifierSet_INTERFACE_DEFINED__ */
  2979. #ifndef __ISWbemProperty_INTERFACE_DEFINED__
  2980. #define __ISWbemProperty_INTERFACE_DEFINED__
  2981. /* interface ISWbemProperty */
  2982. /* [helpstring][unique][hidden][oleautomation][dual][uuid][local][object] */
  2983. EXTERN_C const IID IID_ISWbemProperty;
  2984. #if defined(__cplusplus) && !defined(CINTERFACE)
  2985. MIDL_INTERFACE("1A388F98-D4BA-11d1-8B09-00600806D9B6")
  2986. ISWbemProperty : public IDispatch
  2987. {
  2988. public:
  2989. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Value(
  2990. /* [retval][out] */ VARIANT *varValue) = 0;
  2991. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Value(
  2992. /* [in] */ VARIANT *varValue) = 0;
  2993. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name(
  2994. /* [retval][out] */ BSTR *strName) = 0;
  2995. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_IsLocal(
  2996. /* [retval][out] */ VARIANT_BOOL *bIsLocal) = 0;
  2997. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Origin(
  2998. /* [retval][out] */ BSTR *strOrigin) = 0;
  2999. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_CIMType(
  3000. /* [retval][out] */ WbemCimtypeEnum *iCimType) = 0;
  3001. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Qualifiers_(
  3002. /* [retval][out] */ ISWbemQualifierSet **objWbemQualifierSet) = 0;
  3003. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_IsArray(
  3004. /* [retval][out] */ VARIANT_BOOL *bIsArray) = 0;
  3005. };
  3006. #else /* C style interface */
  3007. typedef struct ISWbemPropertyVtbl
  3008. {
  3009. BEGIN_INTERFACE
  3010. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3011. ISWbemProperty * This,
  3012. /* [in] */ REFIID riid,
  3013. /* [iid_is][out] */ void **ppvObject);
  3014. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3015. ISWbemProperty * This);
  3016. ULONG ( STDMETHODCALLTYPE *Release )(
  3017. ISWbemProperty * This);
  3018. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3019. ISWbemProperty * This,
  3020. /* [out] */ UINT *pctinfo);
  3021. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3022. ISWbemProperty * This,
  3023. /* [in] */ UINT iTInfo,
  3024. /* [in] */ LCID lcid,
  3025. /* [out] */ ITypeInfo **ppTInfo);
  3026. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3027. ISWbemProperty * This,
  3028. /* [in] */ REFIID riid,
  3029. /* [size_is][in] */ LPOLESTR *rgszNames,
  3030. /* [in] */ UINT cNames,
  3031. /* [in] */ LCID lcid,
  3032. /* [size_is][out] */ DISPID *rgDispId);
  3033. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3034. ISWbemProperty * This,
  3035. /* [in] */ DISPID dispIdMember,
  3036. /* [in] */ REFIID riid,
  3037. /* [in] */ LCID lcid,
  3038. /* [in] */ WORD wFlags,
  3039. /* [out][in] */ DISPPARAMS *pDispParams,
  3040. /* [out] */ VARIANT *pVarResult,
  3041. /* [out] */ EXCEPINFO *pExcepInfo,
  3042. /* [out] */ UINT *puArgErr);
  3043. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Value )(
  3044. ISWbemProperty * This,
  3045. /* [retval][out] */ VARIANT *varValue);
  3046. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Value )(
  3047. ISWbemProperty * This,
  3048. /* [in] */ VARIANT *varValue);
  3049. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  3050. ISWbemProperty * This,
  3051. /* [retval][out] */ BSTR *strName);
  3052. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_IsLocal )(
  3053. ISWbemProperty * This,
  3054. /* [retval][out] */ VARIANT_BOOL *bIsLocal);
  3055. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Origin )(
  3056. ISWbemProperty * This,
  3057. /* [retval][out] */ BSTR *strOrigin);
  3058. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CIMType )(
  3059. ISWbemProperty * This,
  3060. /* [retval][out] */ WbemCimtypeEnum *iCimType);
  3061. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Qualifiers_ )(
  3062. ISWbemProperty * This,
  3063. /* [retval][out] */ ISWbemQualifierSet **objWbemQualifierSet);
  3064. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_IsArray )(
  3065. ISWbemProperty * This,
  3066. /* [retval][out] */ VARIANT_BOOL *bIsArray);
  3067. END_INTERFACE
  3068. } ISWbemPropertyVtbl;
  3069. interface ISWbemProperty
  3070. {
  3071. CONST_VTBL struct ISWbemPropertyVtbl *lpVtbl;
  3072. };
  3073. #ifdef COBJMACROS
  3074. #define ISWbemProperty_QueryInterface(This,riid,ppvObject) \
  3075. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3076. #define ISWbemProperty_AddRef(This) \
  3077. (This)->lpVtbl -> AddRef(This)
  3078. #define ISWbemProperty_Release(This) \
  3079. (This)->lpVtbl -> Release(This)
  3080. #define ISWbemProperty_GetTypeInfoCount(This,pctinfo) \
  3081. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3082. #define ISWbemProperty_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3083. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3084. #define ISWbemProperty_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3085. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3086. #define ISWbemProperty_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3087. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3088. #define ISWbemProperty_get_Value(This,varValue) \
  3089. (This)->lpVtbl -> get_Value(This,varValue)
  3090. #define ISWbemProperty_put_Value(This,varValue) \
  3091. (This)->lpVtbl -> put_Value(This,varValue)
  3092. #define ISWbemProperty_get_Name(This,strName) \
  3093. (This)->lpVtbl -> get_Name(This,strName)
  3094. #define ISWbemProperty_get_IsLocal(This,bIsLocal) \
  3095. (This)->lpVtbl -> get_IsLocal(This,bIsLocal)
  3096. #define ISWbemProperty_get_Origin(This,strOrigin) \
  3097. (This)->lpVtbl -> get_Origin(This,strOrigin)
  3098. #define ISWbemProperty_get_CIMType(This,iCimType) \
  3099. (This)->lpVtbl -> get_CIMType(This,iCimType)
  3100. #define ISWbemProperty_get_Qualifiers_(This,objWbemQualifierSet) \
  3101. (This)->lpVtbl -> get_Qualifiers_(This,objWbemQualifierSet)
  3102. #define ISWbemProperty_get_IsArray(This,bIsArray) \
  3103. (This)->lpVtbl -> get_IsArray(This,bIsArray)
  3104. #endif /* COBJMACROS */
  3105. #endif /* C style interface */
  3106. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemProperty_get_Value_Proxy(
  3107. ISWbemProperty * This,
  3108. /* [retval][out] */ VARIANT *varValue);
  3109. void __RPC_STUB ISWbemProperty_get_Value_Stub(
  3110. IRpcStubBuffer *This,
  3111. IRpcChannelBuffer *_pRpcChannelBuffer,
  3112. PRPC_MESSAGE _pRpcMessage,
  3113. DWORD *_pdwStubPhase);
  3114. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemProperty_put_Value_Proxy(
  3115. ISWbemProperty * This,
  3116. /* [in] */ VARIANT *varValue);
  3117. void __RPC_STUB ISWbemProperty_put_Value_Stub(
  3118. IRpcStubBuffer *This,
  3119. IRpcChannelBuffer *_pRpcChannelBuffer,
  3120. PRPC_MESSAGE _pRpcMessage,
  3121. DWORD *_pdwStubPhase);
  3122. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemProperty_get_Name_Proxy(
  3123. ISWbemProperty * This,
  3124. /* [retval][out] */ BSTR *strName);
  3125. void __RPC_STUB ISWbemProperty_get_Name_Stub(
  3126. IRpcStubBuffer *This,
  3127. IRpcChannelBuffer *_pRpcChannelBuffer,
  3128. PRPC_MESSAGE _pRpcMessage,
  3129. DWORD *_pdwStubPhase);
  3130. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemProperty_get_IsLocal_Proxy(
  3131. ISWbemProperty * This,
  3132. /* [retval][out] */ VARIANT_BOOL *bIsLocal);
  3133. void __RPC_STUB ISWbemProperty_get_IsLocal_Stub(
  3134. IRpcStubBuffer *This,
  3135. IRpcChannelBuffer *_pRpcChannelBuffer,
  3136. PRPC_MESSAGE _pRpcMessage,
  3137. DWORD *_pdwStubPhase);
  3138. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemProperty_get_Origin_Proxy(
  3139. ISWbemProperty * This,
  3140. /* [retval][out] */ BSTR *strOrigin);
  3141. void __RPC_STUB ISWbemProperty_get_Origin_Stub(
  3142. IRpcStubBuffer *This,
  3143. IRpcChannelBuffer *_pRpcChannelBuffer,
  3144. PRPC_MESSAGE _pRpcMessage,
  3145. DWORD *_pdwStubPhase);
  3146. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemProperty_get_CIMType_Proxy(
  3147. ISWbemProperty * This,
  3148. /* [retval][out] */ WbemCimtypeEnum *iCimType);
  3149. void __RPC_STUB ISWbemProperty_get_CIMType_Stub(
  3150. IRpcStubBuffer *This,
  3151. IRpcChannelBuffer *_pRpcChannelBuffer,
  3152. PRPC_MESSAGE _pRpcMessage,
  3153. DWORD *_pdwStubPhase);
  3154. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemProperty_get_Qualifiers__Proxy(
  3155. ISWbemProperty * This,
  3156. /* [retval][out] */ ISWbemQualifierSet **objWbemQualifierSet);
  3157. void __RPC_STUB ISWbemProperty_get_Qualifiers__Stub(
  3158. IRpcStubBuffer *This,
  3159. IRpcChannelBuffer *_pRpcChannelBuffer,
  3160. PRPC_MESSAGE _pRpcMessage,
  3161. DWORD *_pdwStubPhase);
  3162. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemProperty_get_IsArray_Proxy(
  3163. ISWbemProperty * This,
  3164. /* [retval][out] */ VARIANT_BOOL *bIsArray);
  3165. void __RPC_STUB ISWbemProperty_get_IsArray_Stub(
  3166. IRpcStubBuffer *This,
  3167. IRpcChannelBuffer *_pRpcChannelBuffer,
  3168. PRPC_MESSAGE _pRpcMessage,
  3169. DWORD *_pdwStubPhase);
  3170. #endif /* __ISWbemProperty_INTERFACE_DEFINED__ */
  3171. #ifndef __ISWbemPropertySet_INTERFACE_DEFINED__
  3172. #define __ISWbemPropertySet_INTERFACE_DEFINED__
  3173. /* interface ISWbemPropertySet */
  3174. /* [helpstring][hidden][dual][oleautomation][uuid][local][object] */
  3175. EXTERN_C const IID IID_ISWbemPropertySet;
  3176. #if defined(__cplusplus) && !defined(CINTERFACE)
  3177. MIDL_INTERFACE("DEA0A7B2-D4BA-11d1-8B09-00600806D9B6")
  3178. ISWbemPropertySet : public IDispatch
  3179. {
  3180. public:
  3181. virtual /* [restricted][propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  3182. /* [retval][out] */ IUnknown **pUnk) = 0;
  3183. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Item(
  3184. /* [in] */ BSTR strName,
  3185. /* [defaultvalue][in] */ long iFlags,
  3186. /* [retval][out] */ ISWbemProperty **objWbemProperty) = 0;
  3187. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Count(
  3188. /* [retval][out] */ long *iCount) = 0;
  3189. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add(
  3190. /* [in] */ BSTR strName,
  3191. /* [in] */ WbemCimtypeEnum iCIMType,
  3192. /* [defaultvalue][in] */ VARIANT_BOOL bIsArray,
  3193. /* [defaultvalue][in] */ long iFlags,
  3194. /* [retval][out] */ ISWbemProperty **objWbemProperty) = 0;
  3195. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove(
  3196. /* [in] */ BSTR strName,
  3197. /* [defaultvalue][in] */ long iFlags = 0) = 0;
  3198. };
  3199. #else /* C style interface */
  3200. typedef struct ISWbemPropertySetVtbl
  3201. {
  3202. BEGIN_INTERFACE
  3203. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3204. ISWbemPropertySet * This,
  3205. /* [in] */ REFIID riid,
  3206. /* [iid_is][out] */ void **ppvObject);
  3207. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3208. ISWbemPropertySet * This);
  3209. ULONG ( STDMETHODCALLTYPE *Release )(
  3210. ISWbemPropertySet * This);
  3211. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3212. ISWbemPropertySet * This,
  3213. /* [out] */ UINT *pctinfo);
  3214. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3215. ISWbemPropertySet * This,
  3216. /* [in] */ UINT iTInfo,
  3217. /* [in] */ LCID lcid,
  3218. /* [out] */ ITypeInfo **ppTInfo);
  3219. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3220. ISWbemPropertySet * This,
  3221. /* [in] */ REFIID riid,
  3222. /* [size_is][in] */ LPOLESTR *rgszNames,
  3223. /* [in] */ UINT cNames,
  3224. /* [in] */ LCID lcid,
  3225. /* [size_is][out] */ DISPID *rgDispId);
  3226. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3227. ISWbemPropertySet * This,
  3228. /* [in] */ DISPID dispIdMember,
  3229. /* [in] */ REFIID riid,
  3230. /* [in] */ LCID lcid,
  3231. /* [in] */ WORD wFlags,
  3232. /* [out][in] */ DISPPARAMS *pDispParams,
  3233. /* [out] */ VARIANT *pVarResult,
  3234. /* [out] */ EXCEPINFO *pExcepInfo,
  3235. /* [out] */ UINT *puArgErr);
  3236. /* [restricted][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  3237. ISWbemPropertySet * This,
  3238. /* [retval][out] */ IUnknown **pUnk);
  3239. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Item )(
  3240. ISWbemPropertySet * This,
  3241. /* [in] */ BSTR strName,
  3242. /* [defaultvalue][in] */ long iFlags,
  3243. /* [retval][out] */ ISWbemProperty **objWbemProperty);
  3244. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  3245. ISWbemPropertySet * This,
  3246. /* [retval][out] */ long *iCount);
  3247. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )(
  3248. ISWbemPropertySet * This,
  3249. /* [in] */ BSTR strName,
  3250. /* [in] */ WbemCimtypeEnum iCIMType,
  3251. /* [defaultvalue][in] */ VARIANT_BOOL bIsArray,
  3252. /* [defaultvalue][in] */ long iFlags,
  3253. /* [retval][out] */ ISWbemProperty **objWbemProperty);
  3254. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
  3255. ISWbemPropertySet * This,
  3256. /* [in] */ BSTR strName,
  3257. /* [defaultvalue][in] */ long iFlags);
  3258. END_INTERFACE
  3259. } ISWbemPropertySetVtbl;
  3260. interface ISWbemPropertySet
  3261. {
  3262. CONST_VTBL struct ISWbemPropertySetVtbl *lpVtbl;
  3263. };
  3264. #ifdef COBJMACROS
  3265. #define ISWbemPropertySet_QueryInterface(This,riid,ppvObject) \
  3266. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3267. #define ISWbemPropertySet_AddRef(This) \
  3268. (This)->lpVtbl -> AddRef(This)
  3269. #define ISWbemPropertySet_Release(This) \
  3270. (This)->lpVtbl -> Release(This)
  3271. #define ISWbemPropertySet_GetTypeInfoCount(This,pctinfo) \
  3272. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3273. #define ISWbemPropertySet_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3274. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3275. #define ISWbemPropertySet_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3276. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3277. #define ISWbemPropertySet_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3278. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3279. #define ISWbemPropertySet_get__NewEnum(This,pUnk) \
  3280. (This)->lpVtbl -> get__NewEnum(This,pUnk)
  3281. #define ISWbemPropertySet_Item(This,strName,iFlags,objWbemProperty) \
  3282. (This)->lpVtbl -> Item(This,strName,iFlags,objWbemProperty)
  3283. #define ISWbemPropertySet_get_Count(This,iCount) \
  3284. (This)->lpVtbl -> get_Count(This,iCount)
  3285. #define ISWbemPropertySet_Add(This,strName,iCIMType,bIsArray,iFlags,objWbemProperty) \
  3286. (This)->lpVtbl -> Add(This,strName,iCIMType,bIsArray,iFlags,objWbemProperty)
  3287. #define ISWbemPropertySet_Remove(This,strName,iFlags) \
  3288. (This)->lpVtbl -> Remove(This,strName,iFlags)
  3289. #endif /* COBJMACROS */
  3290. #endif /* C style interface */
  3291. /* [restricted][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemPropertySet_get__NewEnum_Proxy(
  3292. ISWbemPropertySet * This,
  3293. /* [retval][out] */ IUnknown **pUnk);
  3294. void __RPC_STUB ISWbemPropertySet_get__NewEnum_Stub(
  3295. IRpcStubBuffer *This,
  3296. IRpcChannelBuffer *_pRpcChannelBuffer,
  3297. PRPC_MESSAGE _pRpcMessage,
  3298. DWORD *_pdwStubPhase);
  3299. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemPropertySet_Item_Proxy(
  3300. ISWbemPropertySet * This,
  3301. /* [in] */ BSTR strName,
  3302. /* [defaultvalue][in] */ long iFlags,
  3303. /* [retval][out] */ ISWbemProperty **objWbemProperty);
  3304. void __RPC_STUB ISWbemPropertySet_Item_Stub(
  3305. IRpcStubBuffer *This,
  3306. IRpcChannelBuffer *_pRpcChannelBuffer,
  3307. PRPC_MESSAGE _pRpcMessage,
  3308. DWORD *_pdwStubPhase);
  3309. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemPropertySet_get_Count_Proxy(
  3310. ISWbemPropertySet * This,
  3311. /* [retval][out] */ long *iCount);
  3312. void __RPC_STUB ISWbemPropertySet_get_Count_Stub(
  3313. IRpcStubBuffer *This,
  3314. IRpcChannelBuffer *_pRpcChannelBuffer,
  3315. PRPC_MESSAGE _pRpcMessage,
  3316. DWORD *_pdwStubPhase);
  3317. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemPropertySet_Add_Proxy(
  3318. ISWbemPropertySet * This,
  3319. /* [in] */ BSTR strName,
  3320. /* [in] */ WbemCimtypeEnum iCIMType,
  3321. /* [defaultvalue][in] */ VARIANT_BOOL bIsArray,
  3322. /* [defaultvalue][in] */ long iFlags,
  3323. /* [retval][out] */ ISWbemProperty **objWbemProperty);
  3324. void __RPC_STUB ISWbemPropertySet_Add_Stub(
  3325. IRpcStubBuffer *This,
  3326. IRpcChannelBuffer *_pRpcChannelBuffer,
  3327. PRPC_MESSAGE _pRpcMessage,
  3328. DWORD *_pdwStubPhase);
  3329. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemPropertySet_Remove_Proxy(
  3330. ISWbemPropertySet * This,
  3331. /* [in] */ BSTR strName,
  3332. /* [defaultvalue][in] */ long iFlags);
  3333. void __RPC_STUB ISWbemPropertySet_Remove_Stub(
  3334. IRpcStubBuffer *This,
  3335. IRpcChannelBuffer *_pRpcChannelBuffer,
  3336. PRPC_MESSAGE _pRpcMessage,
  3337. DWORD *_pdwStubPhase);
  3338. #endif /* __ISWbemPropertySet_INTERFACE_DEFINED__ */
  3339. #ifndef __ISWbemMethod_INTERFACE_DEFINED__
  3340. #define __ISWbemMethod_INTERFACE_DEFINED__
  3341. /* interface ISWbemMethod */
  3342. /* [helpstring][hidden][nonextensible][unique][oleautomation][dual][uuid][local][object] */
  3343. EXTERN_C const IID IID_ISWbemMethod;
  3344. #if defined(__cplusplus) && !defined(CINTERFACE)
  3345. MIDL_INTERFACE("422E8E90-D955-11d1-8B09-00600806D9B6")
  3346. ISWbemMethod : public IDispatch
  3347. {
  3348. public:
  3349. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name(
  3350. /* [retval][out] */ BSTR *strName) = 0;
  3351. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Origin(
  3352. /* [retval][out] */ BSTR *strOrigin) = 0;
  3353. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_InParameters(
  3354. /* [retval][out] */ ISWbemObject **objWbemInParameters) = 0;
  3355. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_OutParameters(
  3356. /* [retval][out] */ ISWbemObject **objWbemOutParameters) = 0;
  3357. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Qualifiers_(
  3358. /* [retval][out] */ ISWbemQualifierSet **objWbemQualifierSet) = 0;
  3359. };
  3360. #else /* C style interface */
  3361. typedef struct ISWbemMethodVtbl
  3362. {
  3363. BEGIN_INTERFACE
  3364. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3365. ISWbemMethod * This,
  3366. /* [in] */ REFIID riid,
  3367. /* [iid_is][out] */ void **ppvObject);
  3368. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3369. ISWbemMethod * This);
  3370. ULONG ( STDMETHODCALLTYPE *Release )(
  3371. ISWbemMethod * This);
  3372. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3373. ISWbemMethod * This,
  3374. /* [out] */ UINT *pctinfo);
  3375. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3376. ISWbemMethod * This,
  3377. /* [in] */ UINT iTInfo,
  3378. /* [in] */ LCID lcid,
  3379. /* [out] */ ITypeInfo **ppTInfo);
  3380. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3381. ISWbemMethod * This,
  3382. /* [in] */ REFIID riid,
  3383. /* [size_is][in] */ LPOLESTR *rgszNames,
  3384. /* [in] */ UINT cNames,
  3385. /* [in] */ LCID lcid,
  3386. /* [size_is][out] */ DISPID *rgDispId);
  3387. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3388. ISWbemMethod * This,
  3389. /* [in] */ DISPID dispIdMember,
  3390. /* [in] */ REFIID riid,
  3391. /* [in] */ LCID lcid,
  3392. /* [in] */ WORD wFlags,
  3393. /* [out][in] */ DISPPARAMS *pDispParams,
  3394. /* [out] */ VARIANT *pVarResult,
  3395. /* [out] */ EXCEPINFO *pExcepInfo,
  3396. /* [out] */ UINT *puArgErr);
  3397. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  3398. ISWbemMethod * This,
  3399. /* [retval][out] */ BSTR *strName);
  3400. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Origin )(
  3401. ISWbemMethod * This,
  3402. /* [retval][out] */ BSTR *strOrigin);
  3403. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_InParameters )(
  3404. ISWbemMethod * This,
  3405. /* [retval][out] */ ISWbemObject **objWbemInParameters);
  3406. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_OutParameters )(
  3407. ISWbemMethod * This,
  3408. /* [retval][out] */ ISWbemObject **objWbemOutParameters);
  3409. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Qualifiers_ )(
  3410. ISWbemMethod * This,
  3411. /* [retval][out] */ ISWbemQualifierSet **objWbemQualifierSet);
  3412. END_INTERFACE
  3413. } ISWbemMethodVtbl;
  3414. interface ISWbemMethod
  3415. {
  3416. CONST_VTBL struct ISWbemMethodVtbl *lpVtbl;
  3417. };
  3418. #ifdef COBJMACROS
  3419. #define ISWbemMethod_QueryInterface(This,riid,ppvObject) \
  3420. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3421. #define ISWbemMethod_AddRef(This) \
  3422. (This)->lpVtbl -> AddRef(This)
  3423. #define ISWbemMethod_Release(This) \
  3424. (This)->lpVtbl -> Release(This)
  3425. #define ISWbemMethod_GetTypeInfoCount(This,pctinfo) \
  3426. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3427. #define ISWbemMethod_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3428. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3429. #define ISWbemMethod_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3430. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3431. #define ISWbemMethod_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3432. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3433. #define ISWbemMethod_get_Name(This,strName) \
  3434. (This)->lpVtbl -> get_Name(This,strName)
  3435. #define ISWbemMethod_get_Origin(This,strOrigin) \
  3436. (This)->lpVtbl -> get_Origin(This,strOrigin)
  3437. #define ISWbemMethod_get_InParameters(This,objWbemInParameters) \
  3438. (This)->lpVtbl -> get_InParameters(This,objWbemInParameters)
  3439. #define ISWbemMethod_get_OutParameters(This,objWbemOutParameters) \
  3440. (This)->lpVtbl -> get_OutParameters(This,objWbemOutParameters)
  3441. #define ISWbemMethod_get_Qualifiers_(This,objWbemQualifierSet) \
  3442. (This)->lpVtbl -> get_Qualifiers_(This,objWbemQualifierSet)
  3443. #endif /* COBJMACROS */
  3444. #endif /* C style interface */
  3445. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemMethod_get_Name_Proxy(
  3446. ISWbemMethod * This,
  3447. /* [retval][out] */ BSTR *strName);
  3448. void __RPC_STUB ISWbemMethod_get_Name_Stub(
  3449. IRpcStubBuffer *This,
  3450. IRpcChannelBuffer *_pRpcChannelBuffer,
  3451. PRPC_MESSAGE _pRpcMessage,
  3452. DWORD *_pdwStubPhase);
  3453. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemMethod_get_Origin_Proxy(
  3454. ISWbemMethod * This,
  3455. /* [retval][out] */ BSTR *strOrigin);
  3456. void __RPC_STUB ISWbemMethod_get_Origin_Stub(
  3457. IRpcStubBuffer *This,
  3458. IRpcChannelBuffer *_pRpcChannelBuffer,
  3459. PRPC_MESSAGE _pRpcMessage,
  3460. DWORD *_pdwStubPhase);
  3461. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemMethod_get_InParameters_Proxy(
  3462. ISWbemMethod * This,
  3463. /* [retval][out] */ ISWbemObject **objWbemInParameters);
  3464. void __RPC_STUB ISWbemMethod_get_InParameters_Stub(
  3465. IRpcStubBuffer *This,
  3466. IRpcChannelBuffer *_pRpcChannelBuffer,
  3467. PRPC_MESSAGE _pRpcMessage,
  3468. DWORD *_pdwStubPhase);
  3469. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemMethod_get_OutParameters_Proxy(
  3470. ISWbemMethod * This,
  3471. /* [retval][out] */ ISWbemObject **objWbemOutParameters);
  3472. void __RPC_STUB ISWbemMethod_get_OutParameters_Stub(
  3473. IRpcStubBuffer *This,
  3474. IRpcChannelBuffer *_pRpcChannelBuffer,
  3475. PRPC_MESSAGE _pRpcMessage,
  3476. DWORD *_pdwStubPhase);
  3477. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemMethod_get_Qualifiers__Proxy(
  3478. ISWbemMethod * This,
  3479. /* [retval][out] */ ISWbemQualifierSet **objWbemQualifierSet);
  3480. void __RPC_STUB ISWbemMethod_get_Qualifiers__Stub(
  3481. IRpcStubBuffer *This,
  3482. IRpcChannelBuffer *_pRpcChannelBuffer,
  3483. PRPC_MESSAGE _pRpcMessage,
  3484. DWORD *_pdwStubPhase);
  3485. #endif /* __ISWbemMethod_INTERFACE_DEFINED__ */
  3486. #ifndef __ISWbemMethodSet_INTERFACE_DEFINED__
  3487. #define __ISWbemMethodSet_INTERFACE_DEFINED__
  3488. /* interface ISWbemMethodSet */
  3489. /* [helpstring][hidden][nonextensible][dual][oleautomation][uuid][object][local] */
  3490. EXTERN_C const IID IID_ISWbemMethodSet;
  3491. #if defined(__cplusplus) && !defined(CINTERFACE)
  3492. MIDL_INTERFACE("C93BA292-D955-11d1-8B09-00600806D9B6")
  3493. ISWbemMethodSet : public IDispatch
  3494. {
  3495. public:
  3496. virtual /* [restricted][propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  3497. /* [retval][out] */ IUnknown **pUnk) = 0;
  3498. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Item(
  3499. /* [in] */ BSTR strName,
  3500. /* [defaultvalue][in] */ long iFlags,
  3501. /* [retval][out] */ ISWbemMethod **objWbemMethod) = 0;
  3502. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Count(
  3503. /* [retval][out] */ long *iCount) = 0;
  3504. };
  3505. #else /* C style interface */
  3506. typedef struct ISWbemMethodSetVtbl
  3507. {
  3508. BEGIN_INTERFACE
  3509. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3510. ISWbemMethodSet * This,
  3511. /* [in] */ REFIID riid,
  3512. /* [iid_is][out] */ void **ppvObject);
  3513. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3514. ISWbemMethodSet * This);
  3515. ULONG ( STDMETHODCALLTYPE *Release )(
  3516. ISWbemMethodSet * This);
  3517. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3518. ISWbemMethodSet * This,
  3519. /* [out] */ UINT *pctinfo);
  3520. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3521. ISWbemMethodSet * This,
  3522. /* [in] */ UINT iTInfo,
  3523. /* [in] */ LCID lcid,
  3524. /* [out] */ ITypeInfo **ppTInfo);
  3525. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3526. ISWbemMethodSet * This,
  3527. /* [in] */ REFIID riid,
  3528. /* [size_is][in] */ LPOLESTR *rgszNames,
  3529. /* [in] */ UINT cNames,
  3530. /* [in] */ LCID lcid,
  3531. /* [size_is][out] */ DISPID *rgDispId);
  3532. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3533. ISWbemMethodSet * This,
  3534. /* [in] */ DISPID dispIdMember,
  3535. /* [in] */ REFIID riid,
  3536. /* [in] */ LCID lcid,
  3537. /* [in] */ WORD wFlags,
  3538. /* [out][in] */ DISPPARAMS *pDispParams,
  3539. /* [out] */ VARIANT *pVarResult,
  3540. /* [out] */ EXCEPINFO *pExcepInfo,
  3541. /* [out] */ UINT *puArgErr);
  3542. /* [restricted][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  3543. ISWbemMethodSet * This,
  3544. /* [retval][out] */ IUnknown **pUnk);
  3545. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Item )(
  3546. ISWbemMethodSet * This,
  3547. /* [in] */ BSTR strName,
  3548. /* [defaultvalue][in] */ long iFlags,
  3549. /* [retval][out] */ ISWbemMethod **objWbemMethod);
  3550. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  3551. ISWbemMethodSet * This,
  3552. /* [retval][out] */ long *iCount);
  3553. END_INTERFACE
  3554. } ISWbemMethodSetVtbl;
  3555. interface ISWbemMethodSet
  3556. {
  3557. CONST_VTBL struct ISWbemMethodSetVtbl *lpVtbl;
  3558. };
  3559. #ifdef COBJMACROS
  3560. #define ISWbemMethodSet_QueryInterface(This,riid,ppvObject) \
  3561. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3562. #define ISWbemMethodSet_AddRef(This) \
  3563. (This)->lpVtbl -> AddRef(This)
  3564. #define ISWbemMethodSet_Release(This) \
  3565. (This)->lpVtbl -> Release(This)
  3566. #define ISWbemMethodSet_GetTypeInfoCount(This,pctinfo) \
  3567. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3568. #define ISWbemMethodSet_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3569. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3570. #define ISWbemMethodSet_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3571. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3572. #define ISWbemMethodSet_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3573. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3574. #define ISWbemMethodSet_get__NewEnum(This,pUnk) \
  3575. (This)->lpVtbl -> get__NewEnum(This,pUnk)
  3576. #define ISWbemMethodSet_Item(This,strName,iFlags,objWbemMethod) \
  3577. (This)->lpVtbl -> Item(This,strName,iFlags,objWbemMethod)
  3578. #define ISWbemMethodSet_get_Count(This,iCount) \
  3579. (This)->lpVtbl -> get_Count(This,iCount)
  3580. #endif /* COBJMACROS */
  3581. #endif /* C style interface */
  3582. /* [restricted][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemMethodSet_get__NewEnum_Proxy(
  3583. ISWbemMethodSet * This,
  3584. /* [retval][out] */ IUnknown **pUnk);
  3585. void __RPC_STUB ISWbemMethodSet_get__NewEnum_Stub(
  3586. IRpcStubBuffer *This,
  3587. IRpcChannelBuffer *_pRpcChannelBuffer,
  3588. PRPC_MESSAGE _pRpcMessage,
  3589. DWORD *_pdwStubPhase);
  3590. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemMethodSet_Item_Proxy(
  3591. ISWbemMethodSet * This,
  3592. /* [in] */ BSTR strName,
  3593. /* [defaultvalue][in] */ long iFlags,
  3594. /* [retval][out] */ ISWbemMethod **objWbemMethod);
  3595. void __RPC_STUB ISWbemMethodSet_Item_Stub(
  3596. IRpcStubBuffer *This,
  3597. IRpcChannelBuffer *_pRpcChannelBuffer,
  3598. PRPC_MESSAGE _pRpcMessage,
  3599. DWORD *_pdwStubPhase);
  3600. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemMethodSet_get_Count_Proxy(
  3601. ISWbemMethodSet * This,
  3602. /* [retval][out] */ long *iCount);
  3603. void __RPC_STUB ISWbemMethodSet_get_Count_Stub(
  3604. IRpcStubBuffer *This,
  3605. IRpcChannelBuffer *_pRpcChannelBuffer,
  3606. PRPC_MESSAGE _pRpcMessage,
  3607. DWORD *_pdwStubPhase);
  3608. #endif /* __ISWbemMethodSet_INTERFACE_DEFINED__ */
  3609. #ifndef __ISWbemEventSource_INTERFACE_DEFINED__
  3610. #define __ISWbemEventSource_INTERFACE_DEFINED__
  3611. /* interface ISWbemEventSource */
  3612. /* [helpstring][hidden][nonextensible][dual][oleautomation][uuid][local][object] */
  3613. EXTERN_C const IID IID_ISWbemEventSource;
  3614. #if defined(__cplusplus) && !defined(CINTERFACE)
  3615. MIDL_INTERFACE("27D54D92-0EBE-11d2-8B22-00600806D9B6")
  3616. ISWbemEventSource : public IDispatch
  3617. {
  3618. public:
  3619. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE NextEvent(
  3620. /* [defaultvalue][in] */ long iTimeoutMs,
  3621. /* [retval][out] */ ISWbemObject **objWbemObject) = 0;
  3622. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Security_(
  3623. /* [retval][out] */ ISWbemSecurity **objWbemSecurity) = 0;
  3624. };
  3625. #else /* C style interface */
  3626. typedef struct ISWbemEventSourceVtbl
  3627. {
  3628. BEGIN_INTERFACE
  3629. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3630. ISWbemEventSource * This,
  3631. /* [in] */ REFIID riid,
  3632. /* [iid_is][out] */ void **ppvObject);
  3633. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3634. ISWbemEventSource * This);
  3635. ULONG ( STDMETHODCALLTYPE *Release )(
  3636. ISWbemEventSource * This);
  3637. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3638. ISWbemEventSource * This,
  3639. /* [out] */ UINT *pctinfo);
  3640. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3641. ISWbemEventSource * This,
  3642. /* [in] */ UINT iTInfo,
  3643. /* [in] */ LCID lcid,
  3644. /* [out] */ ITypeInfo **ppTInfo);
  3645. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3646. ISWbemEventSource * This,
  3647. /* [in] */ REFIID riid,
  3648. /* [size_is][in] */ LPOLESTR *rgszNames,
  3649. /* [in] */ UINT cNames,
  3650. /* [in] */ LCID lcid,
  3651. /* [size_is][out] */ DISPID *rgDispId);
  3652. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3653. ISWbemEventSource * This,
  3654. /* [in] */ DISPID dispIdMember,
  3655. /* [in] */ REFIID riid,
  3656. /* [in] */ LCID lcid,
  3657. /* [in] */ WORD wFlags,
  3658. /* [out][in] */ DISPPARAMS *pDispParams,
  3659. /* [out] */ VARIANT *pVarResult,
  3660. /* [out] */ EXCEPINFO *pExcepInfo,
  3661. /* [out] */ UINT *puArgErr);
  3662. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *NextEvent )(
  3663. ISWbemEventSource * This,
  3664. /* [defaultvalue][in] */ long iTimeoutMs,
  3665. /* [retval][out] */ ISWbemObject **objWbemObject);
  3666. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Security_ )(
  3667. ISWbemEventSource * This,
  3668. /* [retval][out] */ ISWbemSecurity **objWbemSecurity);
  3669. END_INTERFACE
  3670. } ISWbemEventSourceVtbl;
  3671. interface ISWbemEventSource
  3672. {
  3673. CONST_VTBL struct ISWbemEventSourceVtbl *lpVtbl;
  3674. };
  3675. #ifdef COBJMACROS
  3676. #define ISWbemEventSource_QueryInterface(This,riid,ppvObject) \
  3677. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3678. #define ISWbemEventSource_AddRef(This) \
  3679. (This)->lpVtbl -> AddRef(This)
  3680. #define ISWbemEventSource_Release(This) \
  3681. (This)->lpVtbl -> Release(This)
  3682. #define ISWbemEventSource_GetTypeInfoCount(This,pctinfo) \
  3683. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3684. #define ISWbemEventSource_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3685. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3686. #define ISWbemEventSource_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3687. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3688. #define ISWbemEventSource_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3689. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3690. #define ISWbemEventSource_NextEvent(This,iTimeoutMs,objWbemObject) \
  3691. (This)->lpVtbl -> NextEvent(This,iTimeoutMs,objWbemObject)
  3692. #define ISWbemEventSource_get_Security_(This,objWbemSecurity) \
  3693. (This)->lpVtbl -> get_Security_(This,objWbemSecurity)
  3694. #endif /* COBJMACROS */
  3695. #endif /* C style interface */
  3696. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemEventSource_NextEvent_Proxy(
  3697. ISWbemEventSource * This,
  3698. /* [defaultvalue][in] */ long iTimeoutMs,
  3699. /* [retval][out] */ ISWbemObject **objWbemObject);
  3700. void __RPC_STUB ISWbemEventSource_NextEvent_Stub(
  3701. IRpcStubBuffer *This,
  3702. IRpcChannelBuffer *_pRpcChannelBuffer,
  3703. PRPC_MESSAGE _pRpcMessage,
  3704. DWORD *_pdwStubPhase);
  3705. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemEventSource_get_Security__Proxy(
  3706. ISWbemEventSource * This,
  3707. /* [retval][out] */ ISWbemSecurity **objWbemSecurity);
  3708. void __RPC_STUB ISWbemEventSource_get_Security__Stub(
  3709. IRpcStubBuffer *This,
  3710. IRpcChannelBuffer *_pRpcChannelBuffer,
  3711. PRPC_MESSAGE _pRpcMessage,
  3712. DWORD *_pdwStubPhase);
  3713. #endif /* __ISWbemEventSource_INTERFACE_DEFINED__ */
  3714. #ifndef __ISWbemObjectPath_INTERFACE_DEFINED__
  3715. #define __ISWbemObjectPath_INTERFACE_DEFINED__
  3716. /* interface ISWbemObjectPath */
  3717. /* [helpstring][unique][hidden][oleautomation][dual][uuid][local][object] */
  3718. EXTERN_C const IID IID_ISWbemObjectPath;
  3719. #if defined(__cplusplus) && !defined(CINTERFACE)
  3720. MIDL_INTERFACE("5791BC27-CE9C-11d1-97BF-0000F81E849C")
  3721. ISWbemObjectPath : public IDispatch
  3722. {
  3723. public:
  3724. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Path(
  3725. /* [retval][out] */ BSTR *strPath) = 0;
  3726. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Path(
  3727. /* [in] */ BSTR strPath) = 0;
  3728. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_RelPath(
  3729. /* [retval][out] */ BSTR *strRelPath) = 0;
  3730. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_RelPath(
  3731. /* [in] */ BSTR strRelPath) = 0;
  3732. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Server(
  3733. /* [retval][out] */ BSTR *strServer) = 0;
  3734. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Server(
  3735. /* [in] */ BSTR strServer) = 0;
  3736. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Namespace(
  3737. /* [retval][out] */ BSTR *strNamespace) = 0;
  3738. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Namespace(
  3739. /* [in] */ BSTR strNamespace) = 0;
  3740. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_ParentNamespace(
  3741. /* [retval][out] */ BSTR *strParentNamespace) = 0;
  3742. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_DisplayName(
  3743. /* [retval][out] */ BSTR *strDisplayName) = 0;
  3744. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_DisplayName(
  3745. /* [in] */ BSTR strDisplayName) = 0;
  3746. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Class(
  3747. /* [retval][out] */ BSTR *strClass) = 0;
  3748. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Class(
  3749. /* [in] */ BSTR strClass) = 0;
  3750. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_IsClass(
  3751. /* [retval][out] */ VARIANT_BOOL *bIsClass) = 0;
  3752. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetAsClass( void) = 0;
  3753. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_IsSingleton(
  3754. /* [retval][out] */ VARIANT_BOOL *bIsSingleton) = 0;
  3755. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetAsSingleton( void) = 0;
  3756. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Keys(
  3757. /* [retval][out] */ ISWbemNamedValueSet **objWbemNamedValueSet) = 0;
  3758. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Security_(
  3759. /* [retval][out] */ ISWbemSecurity **objWbemSecurity) = 0;
  3760. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Locale(
  3761. /* [retval][out] */ BSTR *strLocale) = 0;
  3762. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Locale(
  3763. /* [in] */ BSTR strLocale) = 0;
  3764. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Authority(
  3765. /* [retval][out] */ BSTR *strAuthority) = 0;
  3766. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Authority(
  3767. /* [in] */ BSTR strAuthority) = 0;
  3768. };
  3769. #else /* C style interface */
  3770. typedef struct ISWbemObjectPathVtbl
  3771. {
  3772. BEGIN_INTERFACE
  3773. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3774. ISWbemObjectPath * This,
  3775. /* [in] */ REFIID riid,
  3776. /* [iid_is][out] */ void **ppvObject);
  3777. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3778. ISWbemObjectPath * This);
  3779. ULONG ( STDMETHODCALLTYPE *Release )(
  3780. ISWbemObjectPath * This);
  3781. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3782. ISWbemObjectPath * This,
  3783. /* [out] */ UINT *pctinfo);
  3784. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3785. ISWbemObjectPath * This,
  3786. /* [in] */ UINT iTInfo,
  3787. /* [in] */ LCID lcid,
  3788. /* [out] */ ITypeInfo **ppTInfo);
  3789. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3790. ISWbemObjectPath * This,
  3791. /* [in] */ REFIID riid,
  3792. /* [size_is][in] */ LPOLESTR *rgszNames,
  3793. /* [in] */ UINT cNames,
  3794. /* [in] */ LCID lcid,
  3795. /* [size_is][out] */ DISPID *rgDispId);
  3796. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3797. ISWbemObjectPath * This,
  3798. /* [in] */ DISPID dispIdMember,
  3799. /* [in] */ REFIID riid,
  3800. /* [in] */ LCID lcid,
  3801. /* [in] */ WORD wFlags,
  3802. /* [out][in] */ DISPPARAMS *pDispParams,
  3803. /* [out] */ VARIANT *pVarResult,
  3804. /* [out] */ EXCEPINFO *pExcepInfo,
  3805. /* [out] */ UINT *puArgErr);
  3806. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Path )(
  3807. ISWbemObjectPath * This,
  3808. /* [retval][out] */ BSTR *strPath);
  3809. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Path )(
  3810. ISWbemObjectPath * This,
  3811. /* [in] */ BSTR strPath);
  3812. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_RelPath )(
  3813. ISWbemObjectPath * This,
  3814. /* [retval][out] */ BSTR *strRelPath);
  3815. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_RelPath )(
  3816. ISWbemObjectPath * This,
  3817. /* [in] */ BSTR strRelPath);
  3818. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Server )(
  3819. ISWbemObjectPath * This,
  3820. /* [retval][out] */ BSTR *strServer);
  3821. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Server )(
  3822. ISWbemObjectPath * This,
  3823. /* [in] */ BSTR strServer);
  3824. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Namespace )(
  3825. ISWbemObjectPath * This,
  3826. /* [retval][out] */ BSTR *strNamespace);
  3827. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Namespace )(
  3828. ISWbemObjectPath * This,
  3829. /* [in] */ BSTR strNamespace);
  3830. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ParentNamespace )(
  3831. ISWbemObjectPath * This,
  3832. /* [retval][out] */ BSTR *strParentNamespace);
  3833. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_DisplayName )(
  3834. ISWbemObjectPath * This,
  3835. /* [retval][out] */ BSTR *strDisplayName);
  3836. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_DisplayName )(
  3837. ISWbemObjectPath * This,
  3838. /* [in] */ BSTR strDisplayName);
  3839. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Class )(
  3840. ISWbemObjectPath * This,
  3841. /* [retval][out] */ BSTR *strClass);
  3842. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Class )(
  3843. ISWbemObjectPath * This,
  3844. /* [in] */ BSTR strClass);
  3845. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_IsClass )(
  3846. ISWbemObjectPath * This,
  3847. /* [retval][out] */ VARIANT_BOOL *bIsClass);
  3848. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetAsClass )(
  3849. ISWbemObjectPath * This);
  3850. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_IsSingleton )(
  3851. ISWbemObjectPath * This,
  3852. /* [retval][out] */ VARIANT_BOOL *bIsSingleton);
  3853. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetAsSingleton )(
  3854. ISWbemObjectPath * This);
  3855. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Keys )(
  3856. ISWbemObjectPath * This,
  3857. /* [retval][out] */ ISWbemNamedValueSet **objWbemNamedValueSet);
  3858. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Security_ )(
  3859. ISWbemObjectPath * This,
  3860. /* [retval][out] */ ISWbemSecurity **objWbemSecurity);
  3861. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Locale )(
  3862. ISWbemObjectPath * This,
  3863. /* [retval][out] */ BSTR *strLocale);
  3864. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Locale )(
  3865. ISWbemObjectPath * This,
  3866. /* [in] */ BSTR strLocale);
  3867. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Authority )(
  3868. ISWbemObjectPath * This,
  3869. /* [retval][out] */ BSTR *strAuthority);
  3870. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Authority )(
  3871. ISWbemObjectPath * This,
  3872. /* [in] */ BSTR strAuthority);
  3873. END_INTERFACE
  3874. } ISWbemObjectPathVtbl;
  3875. interface ISWbemObjectPath
  3876. {
  3877. CONST_VTBL struct ISWbemObjectPathVtbl *lpVtbl;
  3878. };
  3879. #ifdef COBJMACROS
  3880. #define ISWbemObjectPath_QueryInterface(This,riid,ppvObject) \
  3881. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3882. #define ISWbemObjectPath_AddRef(This) \
  3883. (This)->lpVtbl -> AddRef(This)
  3884. #define ISWbemObjectPath_Release(This) \
  3885. (This)->lpVtbl -> Release(This)
  3886. #define ISWbemObjectPath_GetTypeInfoCount(This,pctinfo) \
  3887. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3888. #define ISWbemObjectPath_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3889. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3890. #define ISWbemObjectPath_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3891. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3892. #define ISWbemObjectPath_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3893. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3894. #define ISWbemObjectPath_get_Path(This,strPath) \
  3895. (This)->lpVtbl -> get_Path(This,strPath)
  3896. #define ISWbemObjectPath_put_Path(This,strPath) \
  3897. (This)->lpVtbl -> put_Path(This,strPath)
  3898. #define ISWbemObjectPath_get_RelPath(This,strRelPath) \
  3899. (This)->lpVtbl -> get_RelPath(This,strRelPath)
  3900. #define ISWbemObjectPath_put_RelPath(This,strRelPath) \
  3901. (This)->lpVtbl -> put_RelPath(This,strRelPath)
  3902. #define ISWbemObjectPath_get_Server(This,strServer) \
  3903. (This)->lpVtbl -> get_Server(This,strServer)
  3904. #define ISWbemObjectPath_put_Server(This,strServer) \
  3905. (This)->lpVtbl -> put_Server(This,strServer)
  3906. #define ISWbemObjectPath_get_Namespace(This,strNamespace) \
  3907. (This)->lpVtbl -> get_Namespace(This,strNamespace)
  3908. #define ISWbemObjectPath_put_Namespace(This,strNamespace) \
  3909. (This)->lpVtbl -> put_Namespace(This,strNamespace)
  3910. #define ISWbemObjectPath_get_ParentNamespace(This,strParentNamespace) \
  3911. (This)->lpVtbl -> get_ParentNamespace(This,strParentNamespace)
  3912. #define ISWbemObjectPath_get_DisplayName(This,strDisplayName) \
  3913. (This)->lpVtbl -> get_DisplayName(This,strDisplayName)
  3914. #define ISWbemObjectPath_put_DisplayName(This,strDisplayName) \
  3915. (This)->lpVtbl -> put_DisplayName(This,strDisplayName)
  3916. #define ISWbemObjectPath_get_Class(This,strClass) \
  3917. (This)->lpVtbl -> get_Class(This,strClass)
  3918. #define ISWbemObjectPath_put_Class(This,strClass) \
  3919. (This)->lpVtbl -> put_Class(This,strClass)
  3920. #define ISWbemObjectPath_get_IsClass(This,bIsClass) \
  3921. (This)->lpVtbl -> get_IsClass(This,bIsClass)
  3922. #define ISWbemObjectPath_SetAsClass(This) \
  3923. (This)->lpVtbl -> SetAsClass(This)
  3924. #define ISWbemObjectPath_get_IsSingleton(This,bIsSingleton) \
  3925. (This)->lpVtbl -> get_IsSingleton(This,bIsSingleton)
  3926. #define ISWbemObjectPath_SetAsSingleton(This) \
  3927. (This)->lpVtbl -> SetAsSingleton(This)
  3928. #define ISWbemObjectPath_get_Keys(This,objWbemNamedValueSet) \
  3929. (This)->lpVtbl -> get_Keys(This,objWbemNamedValueSet)
  3930. #define ISWbemObjectPath_get_Security_(This,objWbemSecurity) \
  3931. (This)->lpVtbl -> get_Security_(This,objWbemSecurity)
  3932. #define ISWbemObjectPath_get_Locale(This,strLocale) \
  3933. (This)->lpVtbl -> get_Locale(This,strLocale)
  3934. #define ISWbemObjectPath_put_Locale(This,strLocale) \
  3935. (This)->lpVtbl -> put_Locale(This,strLocale)
  3936. #define ISWbemObjectPath_get_Authority(This,strAuthority) \
  3937. (This)->lpVtbl -> get_Authority(This,strAuthority)
  3938. #define ISWbemObjectPath_put_Authority(This,strAuthority) \
  3939. (This)->lpVtbl -> put_Authority(This,strAuthority)
  3940. #endif /* COBJMACROS */
  3941. #endif /* C style interface */
  3942. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectPath_get_Path_Proxy(
  3943. ISWbemObjectPath * This,
  3944. /* [retval][out] */ BSTR *strPath);
  3945. void __RPC_STUB ISWbemObjectPath_get_Path_Stub(
  3946. IRpcStubBuffer *This,
  3947. IRpcChannelBuffer *_pRpcChannelBuffer,
  3948. PRPC_MESSAGE _pRpcMessage,
  3949. DWORD *_pdwStubPhase);
  3950. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectPath_put_Path_Proxy(
  3951. ISWbemObjectPath * This,
  3952. /* [in] */ BSTR strPath);
  3953. void __RPC_STUB ISWbemObjectPath_put_Path_Stub(
  3954. IRpcStubBuffer *This,
  3955. IRpcChannelBuffer *_pRpcChannelBuffer,
  3956. PRPC_MESSAGE _pRpcMessage,
  3957. DWORD *_pdwStubPhase);
  3958. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectPath_get_RelPath_Proxy(
  3959. ISWbemObjectPath * This,
  3960. /* [retval][out] */ BSTR *strRelPath);
  3961. void __RPC_STUB ISWbemObjectPath_get_RelPath_Stub(
  3962. IRpcStubBuffer *This,
  3963. IRpcChannelBuffer *_pRpcChannelBuffer,
  3964. PRPC_MESSAGE _pRpcMessage,
  3965. DWORD *_pdwStubPhase);
  3966. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectPath_put_RelPath_Proxy(
  3967. ISWbemObjectPath * This,
  3968. /* [in] */ BSTR strRelPath);
  3969. void __RPC_STUB ISWbemObjectPath_put_RelPath_Stub(
  3970. IRpcStubBuffer *This,
  3971. IRpcChannelBuffer *_pRpcChannelBuffer,
  3972. PRPC_MESSAGE _pRpcMessage,
  3973. DWORD *_pdwStubPhase);
  3974. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectPath_get_Server_Proxy(
  3975. ISWbemObjectPath * This,
  3976. /* [retval][out] */ BSTR *strServer);
  3977. void __RPC_STUB ISWbemObjectPath_get_Server_Stub(
  3978. IRpcStubBuffer *This,
  3979. IRpcChannelBuffer *_pRpcChannelBuffer,
  3980. PRPC_MESSAGE _pRpcMessage,
  3981. DWORD *_pdwStubPhase);
  3982. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectPath_put_Server_Proxy(
  3983. ISWbemObjectPath * This,
  3984. /* [in] */ BSTR strServer);
  3985. void __RPC_STUB ISWbemObjectPath_put_Server_Stub(
  3986. IRpcStubBuffer *This,
  3987. IRpcChannelBuffer *_pRpcChannelBuffer,
  3988. PRPC_MESSAGE _pRpcMessage,
  3989. DWORD *_pdwStubPhase);
  3990. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectPath_get_Namespace_Proxy(
  3991. ISWbemObjectPath * This,
  3992. /* [retval][out] */ BSTR *strNamespace);
  3993. void __RPC_STUB ISWbemObjectPath_get_Namespace_Stub(
  3994. IRpcStubBuffer *This,
  3995. IRpcChannelBuffer *_pRpcChannelBuffer,
  3996. PRPC_MESSAGE _pRpcMessage,
  3997. DWORD *_pdwStubPhase);
  3998. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectPath_put_Namespace_Proxy(
  3999. ISWbemObjectPath * This,
  4000. /* [in] */ BSTR strNamespace);
  4001. void __RPC_STUB ISWbemObjectPath_put_Namespace_Stub(
  4002. IRpcStubBuffer *This,
  4003. IRpcChannelBuffer *_pRpcChannelBuffer,
  4004. PRPC_MESSAGE _pRpcMessage,
  4005. DWORD *_pdwStubPhase);
  4006. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectPath_get_ParentNamespace_Proxy(
  4007. ISWbemObjectPath * This,
  4008. /* [retval][out] */ BSTR *strParentNamespace);
  4009. void __RPC_STUB ISWbemObjectPath_get_ParentNamespace_Stub(
  4010. IRpcStubBuffer *This,
  4011. IRpcChannelBuffer *_pRpcChannelBuffer,
  4012. PRPC_MESSAGE _pRpcMessage,
  4013. DWORD *_pdwStubPhase);
  4014. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectPath_get_DisplayName_Proxy(
  4015. ISWbemObjectPath * This,
  4016. /* [retval][out] */ BSTR *strDisplayName);
  4017. void __RPC_STUB ISWbemObjectPath_get_DisplayName_Stub(
  4018. IRpcStubBuffer *This,
  4019. IRpcChannelBuffer *_pRpcChannelBuffer,
  4020. PRPC_MESSAGE _pRpcMessage,
  4021. DWORD *_pdwStubPhase);
  4022. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectPath_put_DisplayName_Proxy(
  4023. ISWbemObjectPath * This,
  4024. /* [in] */ BSTR strDisplayName);
  4025. void __RPC_STUB ISWbemObjectPath_put_DisplayName_Stub(
  4026. IRpcStubBuffer *This,
  4027. IRpcChannelBuffer *_pRpcChannelBuffer,
  4028. PRPC_MESSAGE _pRpcMessage,
  4029. DWORD *_pdwStubPhase);
  4030. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectPath_get_Class_Proxy(
  4031. ISWbemObjectPath * This,
  4032. /* [retval][out] */ BSTR *strClass);
  4033. void __RPC_STUB ISWbemObjectPath_get_Class_Stub(
  4034. IRpcStubBuffer *This,
  4035. IRpcChannelBuffer *_pRpcChannelBuffer,
  4036. PRPC_MESSAGE _pRpcMessage,
  4037. DWORD *_pdwStubPhase);
  4038. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectPath_put_Class_Proxy(
  4039. ISWbemObjectPath * This,
  4040. /* [in] */ BSTR strClass);
  4041. void __RPC_STUB ISWbemObjectPath_put_Class_Stub(
  4042. IRpcStubBuffer *This,
  4043. IRpcChannelBuffer *_pRpcChannelBuffer,
  4044. PRPC_MESSAGE _pRpcMessage,
  4045. DWORD *_pdwStubPhase);
  4046. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectPath_get_IsClass_Proxy(
  4047. ISWbemObjectPath * This,
  4048. /* [retval][out] */ VARIANT_BOOL *bIsClass);
  4049. void __RPC_STUB ISWbemObjectPath_get_IsClass_Stub(
  4050. IRpcStubBuffer *This,
  4051. IRpcChannelBuffer *_pRpcChannelBuffer,
  4052. PRPC_MESSAGE _pRpcMessage,
  4053. DWORD *_pdwStubPhase);
  4054. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectPath_SetAsClass_Proxy(
  4055. ISWbemObjectPath * This);
  4056. void __RPC_STUB ISWbemObjectPath_SetAsClass_Stub(
  4057. IRpcStubBuffer *This,
  4058. IRpcChannelBuffer *_pRpcChannelBuffer,
  4059. PRPC_MESSAGE _pRpcMessage,
  4060. DWORD *_pdwStubPhase);
  4061. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectPath_get_IsSingleton_Proxy(
  4062. ISWbemObjectPath * This,
  4063. /* [retval][out] */ VARIANT_BOOL *bIsSingleton);
  4064. void __RPC_STUB ISWbemObjectPath_get_IsSingleton_Stub(
  4065. IRpcStubBuffer *This,
  4066. IRpcChannelBuffer *_pRpcChannelBuffer,
  4067. PRPC_MESSAGE _pRpcMessage,
  4068. DWORD *_pdwStubPhase);
  4069. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectPath_SetAsSingleton_Proxy(
  4070. ISWbemObjectPath * This);
  4071. void __RPC_STUB ISWbemObjectPath_SetAsSingleton_Stub(
  4072. IRpcStubBuffer *This,
  4073. IRpcChannelBuffer *_pRpcChannelBuffer,
  4074. PRPC_MESSAGE _pRpcMessage,
  4075. DWORD *_pdwStubPhase);
  4076. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectPath_get_Keys_Proxy(
  4077. ISWbemObjectPath * This,
  4078. /* [retval][out] */ ISWbemNamedValueSet **objWbemNamedValueSet);
  4079. void __RPC_STUB ISWbemObjectPath_get_Keys_Stub(
  4080. IRpcStubBuffer *This,
  4081. IRpcChannelBuffer *_pRpcChannelBuffer,
  4082. PRPC_MESSAGE _pRpcMessage,
  4083. DWORD *_pdwStubPhase);
  4084. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectPath_get_Security__Proxy(
  4085. ISWbemObjectPath * This,
  4086. /* [retval][out] */ ISWbemSecurity **objWbemSecurity);
  4087. void __RPC_STUB ISWbemObjectPath_get_Security__Stub(
  4088. IRpcStubBuffer *This,
  4089. IRpcChannelBuffer *_pRpcChannelBuffer,
  4090. PRPC_MESSAGE _pRpcMessage,
  4091. DWORD *_pdwStubPhase);
  4092. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectPath_get_Locale_Proxy(
  4093. ISWbemObjectPath * This,
  4094. /* [retval][out] */ BSTR *strLocale);
  4095. void __RPC_STUB ISWbemObjectPath_get_Locale_Stub(
  4096. IRpcStubBuffer *This,
  4097. IRpcChannelBuffer *_pRpcChannelBuffer,
  4098. PRPC_MESSAGE _pRpcMessage,
  4099. DWORD *_pdwStubPhase);
  4100. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectPath_put_Locale_Proxy(
  4101. ISWbemObjectPath * This,
  4102. /* [in] */ BSTR strLocale);
  4103. void __RPC_STUB ISWbemObjectPath_put_Locale_Stub(
  4104. IRpcStubBuffer *This,
  4105. IRpcChannelBuffer *_pRpcChannelBuffer,
  4106. PRPC_MESSAGE _pRpcMessage,
  4107. DWORD *_pdwStubPhase);
  4108. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectPath_get_Authority_Proxy(
  4109. ISWbemObjectPath * This,
  4110. /* [retval][out] */ BSTR *strAuthority);
  4111. void __RPC_STUB ISWbemObjectPath_get_Authority_Stub(
  4112. IRpcStubBuffer *This,
  4113. IRpcChannelBuffer *_pRpcChannelBuffer,
  4114. PRPC_MESSAGE _pRpcMessage,
  4115. DWORD *_pdwStubPhase);
  4116. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectPath_put_Authority_Proxy(
  4117. ISWbemObjectPath * This,
  4118. /* [in] */ BSTR strAuthority);
  4119. void __RPC_STUB ISWbemObjectPath_put_Authority_Stub(
  4120. IRpcStubBuffer *This,
  4121. IRpcChannelBuffer *_pRpcChannelBuffer,
  4122. PRPC_MESSAGE _pRpcMessage,
  4123. DWORD *_pdwStubPhase);
  4124. #endif /* __ISWbemObjectPath_INTERFACE_DEFINED__ */
  4125. #ifndef __ISWbemLastError_INTERFACE_DEFINED__
  4126. #define __ISWbemLastError_INTERFACE_DEFINED__
  4127. /* interface ISWbemLastError */
  4128. /* [helpstring][hidden][oleautomation][dual][uuid][object][local] */
  4129. EXTERN_C const IID IID_ISWbemLastError;
  4130. #if defined(__cplusplus) && !defined(CINTERFACE)
  4131. MIDL_INTERFACE("D962DB84-D4BB-11d1-8B09-00600806D9B6")
  4132. ISWbemLastError : public ISWbemObject
  4133. {
  4134. public:
  4135. };
  4136. #else /* C style interface */
  4137. typedef struct ISWbemLastErrorVtbl
  4138. {
  4139. BEGIN_INTERFACE
  4140. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4141. ISWbemLastError * This,
  4142. /* [in] */ REFIID riid,
  4143. /* [iid_is][out] */ void **ppvObject);
  4144. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4145. ISWbemLastError * This);
  4146. ULONG ( STDMETHODCALLTYPE *Release )(
  4147. ISWbemLastError * This);
  4148. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  4149. ISWbemLastError * This,
  4150. /* [out] */ UINT *pctinfo);
  4151. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  4152. ISWbemLastError * This,
  4153. /* [in] */ UINT iTInfo,
  4154. /* [in] */ LCID lcid,
  4155. /* [out] */ ITypeInfo **ppTInfo);
  4156. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  4157. ISWbemLastError * This,
  4158. /* [in] */ REFIID riid,
  4159. /* [size_is][in] */ LPOLESTR *rgszNames,
  4160. /* [in] */ UINT cNames,
  4161. /* [in] */ LCID lcid,
  4162. /* [size_is][out] */ DISPID *rgDispId);
  4163. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  4164. ISWbemLastError * This,
  4165. /* [in] */ DISPID dispIdMember,
  4166. /* [in] */ REFIID riid,
  4167. /* [in] */ LCID lcid,
  4168. /* [in] */ WORD wFlags,
  4169. /* [out][in] */ DISPPARAMS *pDispParams,
  4170. /* [out] */ VARIANT *pVarResult,
  4171. /* [out] */ EXCEPINFO *pExcepInfo,
  4172. /* [out] */ UINT *puArgErr);
  4173. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Put_ )(
  4174. ISWbemLastError * This,
  4175. /* [defaultvalue][in] */ long iFlags,
  4176. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  4177. /* [retval][out] */ ISWbemObjectPath **objWbemObjectPath);
  4178. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PutAsync_ )(
  4179. ISWbemLastError * This,
  4180. /* [in] */ IDispatch *objWbemSink,
  4181. /* [defaultvalue][in] */ long iFlags,
  4182. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  4183. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  4184. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete_ )(
  4185. ISWbemLastError * This,
  4186. /* [defaultvalue][in] */ long iFlags,
  4187. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet);
  4188. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteAsync_ )(
  4189. ISWbemLastError * This,
  4190. /* [in] */ IDispatch *objWbemSink,
  4191. /* [defaultvalue][in] */ long iFlags,
  4192. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  4193. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  4194. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Instances_ )(
  4195. ISWbemLastError * This,
  4196. /* [defaultvalue][in] */ long iFlags,
  4197. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  4198. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  4199. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InstancesAsync_ )(
  4200. ISWbemLastError * This,
  4201. /* [in] */ IDispatch *objWbemSink,
  4202. /* [defaultvalue][in] */ long iFlags,
  4203. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  4204. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  4205. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Subclasses_ )(
  4206. ISWbemLastError * This,
  4207. /* [defaultvalue][in] */ long iFlags,
  4208. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  4209. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  4210. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SubclassesAsync_ )(
  4211. ISWbemLastError * This,
  4212. /* [in] */ IDispatch *objWbemSink,
  4213. /* [defaultvalue][in] */ long iFlags,
  4214. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  4215. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  4216. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Associators_ )(
  4217. ISWbemLastError * This,
  4218. /* [defaultvalue][in] */ BSTR strAssocClass,
  4219. /* [defaultvalue][in] */ BSTR strResultClass,
  4220. /* [defaultvalue][in] */ BSTR strResultRole,
  4221. /* [defaultvalue][in] */ BSTR strRole,
  4222. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  4223. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  4224. /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  4225. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  4226. /* [defaultvalue][in] */ long iFlags,
  4227. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  4228. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  4229. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AssociatorsAsync_ )(
  4230. ISWbemLastError * This,
  4231. /* [in] */ IDispatch *objWbemSink,
  4232. /* [defaultvalue][in] */ BSTR strAssocClass,
  4233. /* [defaultvalue][in] */ BSTR strResultClass,
  4234. /* [defaultvalue][in] */ BSTR strResultRole,
  4235. /* [defaultvalue][in] */ BSTR strRole,
  4236. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  4237. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  4238. /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  4239. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  4240. /* [defaultvalue][in] */ long iFlags,
  4241. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  4242. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  4243. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *References_ )(
  4244. ISWbemLastError * This,
  4245. /* [defaultvalue][in] */ BSTR strResultClass,
  4246. /* [defaultvalue][in] */ BSTR strRole,
  4247. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  4248. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  4249. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  4250. /* [defaultvalue][in] */ long iFlags,
  4251. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  4252. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  4253. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ReferencesAsync_ )(
  4254. ISWbemLastError * This,
  4255. /* [in] */ IDispatch *objWbemSink,
  4256. /* [defaultvalue][in] */ BSTR strResultClass,
  4257. /* [defaultvalue][in] */ BSTR strRole,
  4258. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  4259. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  4260. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  4261. /* [defaultvalue][in] */ long iFlags,
  4262. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  4263. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  4264. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecMethod_ )(
  4265. ISWbemLastError * This,
  4266. /* [in] */ BSTR strMethodName,
  4267. /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  4268. /* [defaultvalue][in] */ long iFlags,
  4269. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  4270. /* [retval][out] */ ISWbemObject **objWbemOutParameters);
  4271. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecMethodAsync_ )(
  4272. ISWbemLastError * This,
  4273. /* [in] */ IDispatch *objWbemSink,
  4274. /* [in] */ BSTR strMethodName,
  4275. /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  4276. /* [defaultvalue][in] */ long iFlags,
  4277. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  4278. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  4279. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clone_ )(
  4280. ISWbemLastError * This,
  4281. /* [retval][out] */ ISWbemObject **objWbemObject);
  4282. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetObjectText_ )(
  4283. ISWbemLastError * This,
  4284. /* [defaultvalue][in] */ long iFlags,
  4285. /* [retval][out] */ BSTR *strObjectText);
  4286. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SpawnDerivedClass_ )(
  4287. ISWbemLastError * This,
  4288. /* [defaultvalue][in] */ long iFlags,
  4289. /* [retval][out] */ ISWbemObject **objWbemObject);
  4290. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SpawnInstance_ )(
  4291. ISWbemLastError * This,
  4292. /* [defaultvalue][in] */ long iFlags,
  4293. /* [retval][out] */ ISWbemObject **objWbemObject);
  4294. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CompareTo_ )(
  4295. ISWbemLastError * This,
  4296. /* [in] */ IDispatch *objWbemObject,
  4297. /* [defaultvalue][in] */ long iFlags,
  4298. /* [retval][out] */ VARIANT_BOOL *bResult);
  4299. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Qualifiers_ )(
  4300. ISWbemLastError * This,
  4301. /* [retval][out] */ ISWbemQualifierSet **objWbemQualifierSet);
  4302. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Properties_ )(
  4303. ISWbemLastError * This,
  4304. /* [retval][out] */ ISWbemPropertySet **objWbemPropertySet);
  4305. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Methods_ )(
  4306. ISWbemLastError * This,
  4307. /* [retval][out] */ ISWbemMethodSet **objWbemMethodSet);
  4308. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Derivation_ )(
  4309. ISWbemLastError * This,
  4310. /* [retval][out] */ VARIANT *strClassNameArray);
  4311. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Path_ )(
  4312. ISWbemLastError * This,
  4313. /* [retval][out] */ ISWbemObjectPath **objWbemObjectPath);
  4314. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Security_ )(
  4315. ISWbemLastError * This,
  4316. /* [retval][out] */ ISWbemSecurity **objWbemSecurity);
  4317. END_INTERFACE
  4318. } ISWbemLastErrorVtbl;
  4319. interface ISWbemLastError
  4320. {
  4321. CONST_VTBL struct ISWbemLastErrorVtbl *lpVtbl;
  4322. };
  4323. #ifdef COBJMACROS
  4324. #define ISWbemLastError_QueryInterface(This,riid,ppvObject) \
  4325. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4326. #define ISWbemLastError_AddRef(This) \
  4327. (This)->lpVtbl -> AddRef(This)
  4328. #define ISWbemLastError_Release(This) \
  4329. (This)->lpVtbl -> Release(This)
  4330. #define ISWbemLastError_GetTypeInfoCount(This,pctinfo) \
  4331. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4332. #define ISWbemLastError_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4333. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4334. #define ISWbemLastError_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4335. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4336. #define ISWbemLastError_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4337. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4338. #define ISWbemLastError_Put_(This,iFlags,objWbemNamedValueSet,objWbemObjectPath) \
  4339. (This)->lpVtbl -> Put_(This,iFlags,objWbemNamedValueSet,objWbemObjectPath)
  4340. #define ISWbemLastError_PutAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  4341. (This)->lpVtbl -> PutAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  4342. #define ISWbemLastError_Delete_(This,iFlags,objWbemNamedValueSet) \
  4343. (This)->lpVtbl -> Delete_(This,iFlags,objWbemNamedValueSet)
  4344. #define ISWbemLastError_DeleteAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  4345. (This)->lpVtbl -> DeleteAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  4346. #define ISWbemLastError_Instances_(This,iFlags,objWbemNamedValueSet,objWbemObjectSet) \
  4347. (This)->lpVtbl -> Instances_(This,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  4348. #define ISWbemLastError_InstancesAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  4349. (This)->lpVtbl -> InstancesAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  4350. #define ISWbemLastError_Subclasses_(This,iFlags,objWbemNamedValueSet,objWbemObjectSet) \
  4351. (This)->lpVtbl -> Subclasses_(This,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  4352. #define ISWbemLastError_SubclassesAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  4353. (This)->lpVtbl -> SubclassesAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  4354. #define ISWbemLastError_Associators_(This,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet) \
  4355. (This)->lpVtbl -> Associators_(This,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  4356. #define ISWbemLastError_AssociatorsAsync_(This,objWbemSink,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  4357. (This)->lpVtbl -> AssociatorsAsync_(This,objWbemSink,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  4358. #define ISWbemLastError_References_(This,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet) \
  4359. (This)->lpVtbl -> References_(This,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  4360. #define ISWbemLastError_ReferencesAsync_(This,objWbemSink,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  4361. (This)->lpVtbl -> ReferencesAsync_(This,objWbemSink,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  4362. #define ISWbemLastError_ExecMethod_(This,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemOutParameters) \
  4363. (This)->lpVtbl -> ExecMethod_(This,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemOutParameters)
  4364. #define ISWbemLastError_ExecMethodAsync_(This,objWbemSink,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  4365. (This)->lpVtbl -> ExecMethodAsync_(This,objWbemSink,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  4366. #define ISWbemLastError_Clone_(This,objWbemObject) \
  4367. (This)->lpVtbl -> Clone_(This,objWbemObject)
  4368. #define ISWbemLastError_GetObjectText_(This,iFlags,strObjectText) \
  4369. (This)->lpVtbl -> GetObjectText_(This,iFlags,strObjectText)
  4370. #define ISWbemLastError_SpawnDerivedClass_(This,iFlags,objWbemObject) \
  4371. (This)->lpVtbl -> SpawnDerivedClass_(This,iFlags,objWbemObject)
  4372. #define ISWbemLastError_SpawnInstance_(This,iFlags,objWbemObject) \
  4373. (This)->lpVtbl -> SpawnInstance_(This,iFlags,objWbemObject)
  4374. #define ISWbemLastError_CompareTo_(This,objWbemObject,iFlags,bResult) \
  4375. (This)->lpVtbl -> CompareTo_(This,objWbemObject,iFlags,bResult)
  4376. #define ISWbemLastError_get_Qualifiers_(This,objWbemQualifierSet) \
  4377. (This)->lpVtbl -> get_Qualifiers_(This,objWbemQualifierSet)
  4378. #define ISWbemLastError_get_Properties_(This,objWbemPropertySet) \
  4379. (This)->lpVtbl -> get_Properties_(This,objWbemPropertySet)
  4380. #define ISWbemLastError_get_Methods_(This,objWbemMethodSet) \
  4381. (This)->lpVtbl -> get_Methods_(This,objWbemMethodSet)
  4382. #define ISWbemLastError_get_Derivation_(This,strClassNameArray) \
  4383. (This)->lpVtbl -> get_Derivation_(This,strClassNameArray)
  4384. #define ISWbemLastError_get_Path_(This,objWbemObjectPath) \
  4385. (This)->lpVtbl -> get_Path_(This,objWbemObjectPath)
  4386. #define ISWbemLastError_get_Security_(This,objWbemSecurity) \
  4387. (This)->lpVtbl -> get_Security_(This,objWbemSecurity)
  4388. #endif /* COBJMACROS */
  4389. #endif /* C style interface */
  4390. #endif /* __ISWbemLastError_INTERFACE_DEFINED__ */
  4391. #ifndef __ISWbemSinkEvents_DISPINTERFACE_DEFINED__
  4392. #define __ISWbemSinkEvents_DISPINTERFACE_DEFINED__
  4393. /* dispinterface ISWbemSinkEvents */
  4394. /* [hidden][nonextensible][helpstring][uuid] */
  4395. EXTERN_C const IID DIID_ISWbemSinkEvents;
  4396. #if defined(__cplusplus) && !defined(CINTERFACE)
  4397. MIDL_INTERFACE("75718CA0-F029-11d1-A1AC-00C04FB6C223")
  4398. ISWbemSinkEvents : public IDispatch
  4399. {
  4400. };
  4401. #else /* C style interface */
  4402. typedef struct ISWbemSinkEventsVtbl
  4403. {
  4404. BEGIN_INTERFACE
  4405. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4406. ISWbemSinkEvents * This,
  4407. /* [in] */ REFIID riid,
  4408. /* [iid_is][out] */ void **ppvObject);
  4409. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4410. ISWbemSinkEvents * This);
  4411. ULONG ( STDMETHODCALLTYPE *Release )(
  4412. ISWbemSinkEvents * This);
  4413. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  4414. ISWbemSinkEvents * This,
  4415. /* [out] */ UINT *pctinfo);
  4416. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  4417. ISWbemSinkEvents * This,
  4418. /* [in] */ UINT iTInfo,
  4419. /* [in] */ LCID lcid,
  4420. /* [out] */ ITypeInfo **ppTInfo);
  4421. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  4422. ISWbemSinkEvents * This,
  4423. /* [in] */ REFIID riid,
  4424. /* [size_is][in] */ LPOLESTR *rgszNames,
  4425. /* [in] */ UINT cNames,
  4426. /* [in] */ LCID lcid,
  4427. /* [size_is][out] */ DISPID *rgDispId);
  4428. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  4429. ISWbemSinkEvents * This,
  4430. /* [in] */ DISPID dispIdMember,
  4431. /* [in] */ REFIID riid,
  4432. /* [in] */ LCID lcid,
  4433. /* [in] */ WORD wFlags,
  4434. /* [out][in] */ DISPPARAMS *pDispParams,
  4435. /* [out] */ VARIANT *pVarResult,
  4436. /* [out] */ EXCEPINFO *pExcepInfo,
  4437. /* [out] */ UINT *puArgErr);
  4438. END_INTERFACE
  4439. } ISWbemSinkEventsVtbl;
  4440. interface ISWbemSinkEvents
  4441. {
  4442. CONST_VTBL struct ISWbemSinkEventsVtbl *lpVtbl;
  4443. };
  4444. #ifdef COBJMACROS
  4445. #define ISWbemSinkEvents_QueryInterface(This,riid,ppvObject) \
  4446. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4447. #define ISWbemSinkEvents_AddRef(This) \
  4448. (This)->lpVtbl -> AddRef(This)
  4449. #define ISWbemSinkEvents_Release(This) \
  4450. (This)->lpVtbl -> Release(This)
  4451. #define ISWbemSinkEvents_GetTypeInfoCount(This,pctinfo) \
  4452. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4453. #define ISWbemSinkEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4454. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4455. #define ISWbemSinkEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4456. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4457. #define ISWbemSinkEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4458. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4459. #endif /* COBJMACROS */
  4460. #endif /* C style interface */
  4461. #endif /* __ISWbemSinkEvents_DISPINTERFACE_DEFINED__ */
  4462. #ifndef __ISWbemSink_INTERFACE_DEFINED__
  4463. #define __ISWbemSink_INTERFACE_DEFINED__
  4464. /* interface ISWbemSink */
  4465. /* [helpstring][nonextensible][hidden][dual][oleautomation][uuid][object] */
  4466. EXTERN_C const IID IID_ISWbemSink;
  4467. #if defined(__cplusplus) && !defined(CINTERFACE)
  4468. MIDL_INTERFACE("75718C9F-F029-11d1-A1AC-00C04FB6C223")
  4469. ISWbemSink : public IDispatch
  4470. {
  4471. public:
  4472. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Cancel( void) = 0;
  4473. };
  4474. #else /* C style interface */
  4475. typedef struct ISWbemSinkVtbl
  4476. {
  4477. BEGIN_INTERFACE
  4478. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4479. ISWbemSink * This,
  4480. /* [in] */ REFIID riid,
  4481. /* [iid_is][out] */ void **ppvObject);
  4482. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4483. ISWbemSink * This);
  4484. ULONG ( STDMETHODCALLTYPE *Release )(
  4485. ISWbemSink * This);
  4486. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  4487. ISWbemSink * This,
  4488. /* [out] */ UINT *pctinfo);
  4489. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  4490. ISWbemSink * This,
  4491. /* [in] */ UINT iTInfo,
  4492. /* [in] */ LCID lcid,
  4493. /* [out] */ ITypeInfo **ppTInfo);
  4494. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  4495. ISWbemSink * This,
  4496. /* [in] */ REFIID riid,
  4497. /* [size_is][in] */ LPOLESTR *rgszNames,
  4498. /* [in] */ UINT cNames,
  4499. /* [in] */ LCID lcid,
  4500. /* [size_is][out] */ DISPID *rgDispId);
  4501. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  4502. ISWbemSink * This,
  4503. /* [in] */ DISPID dispIdMember,
  4504. /* [in] */ REFIID riid,
  4505. /* [in] */ LCID lcid,
  4506. /* [in] */ WORD wFlags,
  4507. /* [out][in] */ DISPPARAMS *pDispParams,
  4508. /* [out] */ VARIANT *pVarResult,
  4509. /* [out] */ EXCEPINFO *pExcepInfo,
  4510. /* [out] */ UINT *puArgErr);
  4511. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Cancel )(
  4512. ISWbemSink * This);
  4513. END_INTERFACE
  4514. } ISWbemSinkVtbl;
  4515. interface ISWbemSink
  4516. {
  4517. CONST_VTBL struct ISWbemSinkVtbl *lpVtbl;
  4518. };
  4519. #ifdef COBJMACROS
  4520. #define ISWbemSink_QueryInterface(This,riid,ppvObject) \
  4521. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4522. #define ISWbemSink_AddRef(This) \
  4523. (This)->lpVtbl -> AddRef(This)
  4524. #define ISWbemSink_Release(This) \
  4525. (This)->lpVtbl -> Release(This)
  4526. #define ISWbemSink_GetTypeInfoCount(This,pctinfo) \
  4527. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4528. #define ISWbemSink_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4529. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4530. #define ISWbemSink_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4531. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4532. #define ISWbemSink_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4533. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4534. #define ISWbemSink_Cancel(This) \
  4535. (This)->lpVtbl -> Cancel(This)
  4536. #endif /* COBJMACROS */
  4537. #endif /* C style interface */
  4538. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemSink_Cancel_Proxy(
  4539. ISWbemSink * This);
  4540. void __RPC_STUB ISWbemSink_Cancel_Stub(
  4541. IRpcStubBuffer *This,
  4542. IRpcChannelBuffer *_pRpcChannelBuffer,
  4543. PRPC_MESSAGE _pRpcMessage,
  4544. DWORD *_pdwStubPhase);
  4545. #endif /* __ISWbemSink_INTERFACE_DEFINED__ */
  4546. #ifndef __ISWbemSecurity_INTERFACE_DEFINED__
  4547. #define __ISWbemSecurity_INTERFACE_DEFINED__
  4548. /* interface ISWbemSecurity */
  4549. /* [helpstring][hidden][nonextensible][dual][oleautomation][uuid][local][object] */
  4550. EXTERN_C const IID IID_ISWbemSecurity;
  4551. #if defined(__cplusplus) && !defined(CINTERFACE)
  4552. MIDL_INTERFACE("B54D66E6-2287-11d2-8B33-00600806D9B6")
  4553. ISWbemSecurity : public IDispatch
  4554. {
  4555. public:
  4556. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_ImpersonationLevel(
  4557. /* [retval][out] */ WbemImpersonationLevelEnum *iImpersonationLevel) = 0;
  4558. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_ImpersonationLevel(
  4559. /* [in] */ WbemImpersonationLevelEnum iImpersonationLevel) = 0;
  4560. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_AuthenticationLevel(
  4561. /* [retval][out] */ WbemAuthenticationLevelEnum *iAuthenticationLevel) = 0;
  4562. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_AuthenticationLevel(
  4563. /* [in] */ WbemAuthenticationLevelEnum iAuthenticationLevel) = 0;
  4564. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Privileges(
  4565. /* [retval][out] */ ISWbemPrivilegeSet **objWbemPrivilegeSet) = 0;
  4566. };
  4567. #else /* C style interface */
  4568. typedef struct ISWbemSecurityVtbl
  4569. {
  4570. BEGIN_INTERFACE
  4571. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4572. ISWbemSecurity * This,
  4573. /* [in] */ REFIID riid,
  4574. /* [iid_is][out] */ void **ppvObject);
  4575. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4576. ISWbemSecurity * This);
  4577. ULONG ( STDMETHODCALLTYPE *Release )(
  4578. ISWbemSecurity * This);
  4579. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  4580. ISWbemSecurity * This,
  4581. /* [out] */ UINT *pctinfo);
  4582. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  4583. ISWbemSecurity * This,
  4584. /* [in] */ UINT iTInfo,
  4585. /* [in] */ LCID lcid,
  4586. /* [out] */ ITypeInfo **ppTInfo);
  4587. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  4588. ISWbemSecurity * This,
  4589. /* [in] */ REFIID riid,
  4590. /* [size_is][in] */ LPOLESTR *rgszNames,
  4591. /* [in] */ UINT cNames,
  4592. /* [in] */ LCID lcid,
  4593. /* [size_is][out] */ DISPID *rgDispId);
  4594. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  4595. ISWbemSecurity * This,
  4596. /* [in] */ DISPID dispIdMember,
  4597. /* [in] */ REFIID riid,
  4598. /* [in] */ LCID lcid,
  4599. /* [in] */ WORD wFlags,
  4600. /* [out][in] */ DISPPARAMS *pDispParams,
  4601. /* [out] */ VARIANT *pVarResult,
  4602. /* [out] */ EXCEPINFO *pExcepInfo,
  4603. /* [out] */ UINT *puArgErr);
  4604. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ImpersonationLevel )(
  4605. ISWbemSecurity * This,
  4606. /* [retval][out] */ WbemImpersonationLevelEnum *iImpersonationLevel);
  4607. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ImpersonationLevel )(
  4608. ISWbemSecurity * This,
  4609. /* [in] */ WbemImpersonationLevelEnum iImpersonationLevel);
  4610. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AuthenticationLevel )(
  4611. ISWbemSecurity * This,
  4612. /* [retval][out] */ WbemAuthenticationLevelEnum *iAuthenticationLevel);
  4613. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AuthenticationLevel )(
  4614. ISWbemSecurity * This,
  4615. /* [in] */ WbemAuthenticationLevelEnum iAuthenticationLevel);
  4616. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Privileges )(
  4617. ISWbemSecurity * This,
  4618. /* [retval][out] */ ISWbemPrivilegeSet **objWbemPrivilegeSet);
  4619. END_INTERFACE
  4620. } ISWbemSecurityVtbl;
  4621. interface ISWbemSecurity
  4622. {
  4623. CONST_VTBL struct ISWbemSecurityVtbl *lpVtbl;
  4624. };
  4625. #ifdef COBJMACROS
  4626. #define ISWbemSecurity_QueryInterface(This,riid,ppvObject) \
  4627. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4628. #define ISWbemSecurity_AddRef(This) \
  4629. (This)->lpVtbl -> AddRef(This)
  4630. #define ISWbemSecurity_Release(This) \
  4631. (This)->lpVtbl -> Release(This)
  4632. #define ISWbemSecurity_GetTypeInfoCount(This,pctinfo) \
  4633. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4634. #define ISWbemSecurity_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4635. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4636. #define ISWbemSecurity_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4637. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4638. #define ISWbemSecurity_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4639. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4640. #define ISWbemSecurity_get_ImpersonationLevel(This,iImpersonationLevel) \
  4641. (This)->lpVtbl -> get_ImpersonationLevel(This,iImpersonationLevel)
  4642. #define ISWbemSecurity_put_ImpersonationLevel(This,iImpersonationLevel) \
  4643. (This)->lpVtbl -> put_ImpersonationLevel(This,iImpersonationLevel)
  4644. #define ISWbemSecurity_get_AuthenticationLevel(This,iAuthenticationLevel) \
  4645. (This)->lpVtbl -> get_AuthenticationLevel(This,iAuthenticationLevel)
  4646. #define ISWbemSecurity_put_AuthenticationLevel(This,iAuthenticationLevel) \
  4647. (This)->lpVtbl -> put_AuthenticationLevel(This,iAuthenticationLevel)
  4648. #define ISWbemSecurity_get_Privileges(This,objWbemPrivilegeSet) \
  4649. (This)->lpVtbl -> get_Privileges(This,objWbemPrivilegeSet)
  4650. #endif /* COBJMACROS */
  4651. #endif /* C style interface */
  4652. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemSecurity_get_ImpersonationLevel_Proxy(
  4653. ISWbemSecurity * This,
  4654. /* [retval][out] */ WbemImpersonationLevelEnum *iImpersonationLevel);
  4655. void __RPC_STUB ISWbemSecurity_get_ImpersonationLevel_Stub(
  4656. IRpcStubBuffer *This,
  4657. IRpcChannelBuffer *_pRpcChannelBuffer,
  4658. PRPC_MESSAGE _pRpcMessage,
  4659. DWORD *_pdwStubPhase);
  4660. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemSecurity_put_ImpersonationLevel_Proxy(
  4661. ISWbemSecurity * This,
  4662. /* [in] */ WbemImpersonationLevelEnum iImpersonationLevel);
  4663. void __RPC_STUB ISWbemSecurity_put_ImpersonationLevel_Stub(
  4664. IRpcStubBuffer *This,
  4665. IRpcChannelBuffer *_pRpcChannelBuffer,
  4666. PRPC_MESSAGE _pRpcMessage,
  4667. DWORD *_pdwStubPhase);
  4668. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemSecurity_get_AuthenticationLevel_Proxy(
  4669. ISWbemSecurity * This,
  4670. /* [retval][out] */ WbemAuthenticationLevelEnum *iAuthenticationLevel);
  4671. void __RPC_STUB ISWbemSecurity_get_AuthenticationLevel_Stub(
  4672. IRpcStubBuffer *This,
  4673. IRpcChannelBuffer *_pRpcChannelBuffer,
  4674. PRPC_MESSAGE _pRpcMessage,
  4675. DWORD *_pdwStubPhase);
  4676. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemSecurity_put_AuthenticationLevel_Proxy(
  4677. ISWbemSecurity * This,
  4678. /* [in] */ WbemAuthenticationLevelEnum iAuthenticationLevel);
  4679. void __RPC_STUB ISWbemSecurity_put_AuthenticationLevel_Stub(
  4680. IRpcStubBuffer *This,
  4681. IRpcChannelBuffer *_pRpcChannelBuffer,
  4682. PRPC_MESSAGE _pRpcMessage,
  4683. DWORD *_pdwStubPhase);
  4684. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemSecurity_get_Privileges_Proxy(
  4685. ISWbemSecurity * This,
  4686. /* [retval][out] */ ISWbemPrivilegeSet **objWbemPrivilegeSet);
  4687. void __RPC_STUB ISWbemSecurity_get_Privileges_Stub(
  4688. IRpcStubBuffer *This,
  4689. IRpcChannelBuffer *_pRpcChannelBuffer,
  4690. PRPC_MESSAGE _pRpcMessage,
  4691. DWORD *_pdwStubPhase);
  4692. #endif /* __ISWbemSecurity_INTERFACE_DEFINED__ */
  4693. #ifndef __ISWbemPrivilege_INTERFACE_DEFINED__
  4694. #define __ISWbemPrivilege_INTERFACE_DEFINED__
  4695. /* interface ISWbemPrivilege */
  4696. /* [helpstring][hidden][nonextensible][dual][oleautomation][uuid][local][object] */
  4697. EXTERN_C const IID IID_ISWbemPrivilege;
  4698. #if defined(__cplusplus) && !defined(CINTERFACE)
  4699. MIDL_INTERFACE("26EE67BD-5804-11d2-8B4A-00600806D9B6")
  4700. ISWbemPrivilege : public IDispatch
  4701. {
  4702. public:
  4703. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_IsEnabled(
  4704. /* [retval][out] */ VARIANT_BOOL *bIsEnabled) = 0;
  4705. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_IsEnabled(
  4706. /* [in] */ VARIANT_BOOL bIsEnabled) = 0;
  4707. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name(
  4708. /* [retval][out] */ BSTR *strDisplayName) = 0;
  4709. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_DisplayName(
  4710. /* [retval][out] */ BSTR *strDisplayName) = 0;
  4711. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Identifier(
  4712. /* [retval][out] */ WbemPrivilegeEnum *iPrivilege) = 0;
  4713. };
  4714. #else /* C style interface */
  4715. typedef struct ISWbemPrivilegeVtbl
  4716. {
  4717. BEGIN_INTERFACE
  4718. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4719. ISWbemPrivilege * This,
  4720. /* [in] */ REFIID riid,
  4721. /* [iid_is][out] */ void **ppvObject);
  4722. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4723. ISWbemPrivilege * This);
  4724. ULONG ( STDMETHODCALLTYPE *Release )(
  4725. ISWbemPrivilege * This);
  4726. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  4727. ISWbemPrivilege * This,
  4728. /* [out] */ UINT *pctinfo);
  4729. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  4730. ISWbemPrivilege * This,
  4731. /* [in] */ UINT iTInfo,
  4732. /* [in] */ LCID lcid,
  4733. /* [out] */ ITypeInfo **ppTInfo);
  4734. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  4735. ISWbemPrivilege * This,
  4736. /* [in] */ REFIID riid,
  4737. /* [size_is][in] */ LPOLESTR *rgszNames,
  4738. /* [in] */ UINT cNames,
  4739. /* [in] */ LCID lcid,
  4740. /* [size_is][out] */ DISPID *rgDispId);
  4741. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  4742. ISWbemPrivilege * This,
  4743. /* [in] */ DISPID dispIdMember,
  4744. /* [in] */ REFIID riid,
  4745. /* [in] */ LCID lcid,
  4746. /* [in] */ WORD wFlags,
  4747. /* [out][in] */ DISPPARAMS *pDispParams,
  4748. /* [out] */ VARIANT *pVarResult,
  4749. /* [out] */ EXCEPINFO *pExcepInfo,
  4750. /* [out] */ UINT *puArgErr);
  4751. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_IsEnabled )(
  4752. ISWbemPrivilege * This,
  4753. /* [retval][out] */ VARIANT_BOOL *bIsEnabled);
  4754. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_IsEnabled )(
  4755. ISWbemPrivilege * This,
  4756. /* [in] */ VARIANT_BOOL bIsEnabled);
  4757. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  4758. ISWbemPrivilege * This,
  4759. /* [retval][out] */ BSTR *strDisplayName);
  4760. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_DisplayName )(
  4761. ISWbemPrivilege * This,
  4762. /* [retval][out] */ BSTR *strDisplayName);
  4763. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Identifier )(
  4764. ISWbemPrivilege * This,
  4765. /* [retval][out] */ WbemPrivilegeEnum *iPrivilege);
  4766. END_INTERFACE
  4767. } ISWbemPrivilegeVtbl;
  4768. interface ISWbemPrivilege
  4769. {
  4770. CONST_VTBL struct ISWbemPrivilegeVtbl *lpVtbl;
  4771. };
  4772. #ifdef COBJMACROS
  4773. #define ISWbemPrivilege_QueryInterface(This,riid,ppvObject) \
  4774. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4775. #define ISWbemPrivilege_AddRef(This) \
  4776. (This)->lpVtbl -> AddRef(This)
  4777. #define ISWbemPrivilege_Release(This) \
  4778. (This)->lpVtbl -> Release(This)
  4779. #define ISWbemPrivilege_GetTypeInfoCount(This,pctinfo) \
  4780. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4781. #define ISWbemPrivilege_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4782. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4783. #define ISWbemPrivilege_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4784. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4785. #define ISWbemPrivilege_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4786. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4787. #define ISWbemPrivilege_get_IsEnabled(This,bIsEnabled) \
  4788. (This)->lpVtbl -> get_IsEnabled(This,bIsEnabled)
  4789. #define ISWbemPrivilege_put_IsEnabled(This,bIsEnabled) \
  4790. (This)->lpVtbl -> put_IsEnabled(This,bIsEnabled)
  4791. #define ISWbemPrivilege_get_Name(This,strDisplayName) \
  4792. (This)->lpVtbl -> get_Name(This,strDisplayName)
  4793. #define ISWbemPrivilege_get_DisplayName(This,strDisplayName) \
  4794. (This)->lpVtbl -> get_DisplayName(This,strDisplayName)
  4795. #define ISWbemPrivilege_get_Identifier(This,iPrivilege) \
  4796. (This)->lpVtbl -> get_Identifier(This,iPrivilege)
  4797. #endif /* COBJMACROS */
  4798. #endif /* C style interface */
  4799. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemPrivilege_get_IsEnabled_Proxy(
  4800. ISWbemPrivilege * This,
  4801. /* [retval][out] */ VARIANT_BOOL *bIsEnabled);
  4802. void __RPC_STUB ISWbemPrivilege_get_IsEnabled_Stub(
  4803. IRpcStubBuffer *This,
  4804. IRpcChannelBuffer *_pRpcChannelBuffer,
  4805. PRPC_MESSAGE _pRpcMessage,
  4806. DWORD *_pdwStubPhase);
  4807. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemPrivilege_put_IsEnabled_Proxy(
  4808. ISWbemPrivilege * This,
  4809. /* [in] */ VARIANT_BOOL bIsEnabled);
  4810. void __RPC_STUB ISWbemPrivilege_put_IsEnabled_Stub(
  4811. IRpcStubBuffer *This,
  4812. IRpcChannelBuffer *_pRpcChannelBuffer,
  4813. PRPC_MESSAGE _pRpcMessage,
  4814. DWORD *_pdwStubPhase);
  4815. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemPrivilege_get_Name_Proxy(
  4816. ISWbemPrivilege * This,
  4817. /* [retval][out] */ BSTR *strDisplayName);
  4818. void __RPC_STUB ISWbemPrivilege_get_Name_Stub(
  4819. IRpcStubBuffer *This,
  4820. IRpcChannelBuffer *_pRpcChannelBuffer,
  4821. PRPC_MESSAGE _pRpcMessage,
  4822. DWORD *_pdwStubPhase);
  4823. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemPrivilege_get_DisplayName_Proxy(
  4824. ISWbemPrivilege * This,
  4825. /* [retval][out] */ BSTR *strDisplayName);
  4826. void __RPC_STUB ISWbemPrivilege_get_DisplayName_Stub(
  4827. IRpcStubBuffer *This,
  4828. IRpcChannelBuffer *_pRpcChannelBuffer,
  4829. PRPC_MESSAGE _pRpcMessage,
  4830. DWORD *_pdwStubPhase);
  4831. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemPrivilege_get_Identifier_Proxy(
  4832. ISWbemPrivilege * This,
  4833. /* [retval][out] */ WbemPrivilegeEnum *iPrivilege);
  4834. void __RPC_STUB ISWbemPrivilege_get_Identifier_Stub(
  4835. IRpcStubBuffer *This,
  4836. IRpcChannelBuffer *_pRpcChannelBuffer,
  4837. PRPC_MESSAGE _pRpcMessage,
  4838. DWORD *_pdwStubPhase);
  4839. #endif /* __ISWbemPrivilege_INTERFACE_DEFINED__ */
  4840. #ifndef __ISWbemPrivilegeSet_INTERFACE_DEFINED__
  4841. #define __ISWbemPrivilegeSet_INTERFACE_DEFINED__
  4842. /* interface ISWbemPrivilegeSet */
  4843. /* [helpstring][nonextensible][hidden][dual][oleautomation][uuid][local][object] */
  4844. EXTERN_C const IID IID_ISWbemPrivilegeSet;
  4845. #if defined(__cplusplus) && !defined(CINTERFACE)
  4846. MIDL_INTERFACE("26EE67BF-5804-11d2-8B4A-00600806D9B6")
  4847. ISWbemPrivilegeSet : public IDispatch
  4848. {
  4849. public:
  4850. virtual /* [restricted][propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  4851. /* [retval][out] */ IUnknown **pUnk) = 0;
  4852. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Item(
  4853. /* [in] */ WbemPrivilegeEnum iPrivilege,
  4854. /* [retval][out] */ ISWbemPrivilege **objWbemPrivilege) = 0;
  4855. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Count(
  4856. /* [retval][out] */ long *iCount) = 0;
  4857. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add(
  4858. /* [in] */ WbemPrivilegeEnum iPrivilege,
  4859. /* [defaultvalue][in] */ VARIANT_BOOL bIsEnabled,
  4860. /* [retval][out] */ ISWbemPrivilege **objWbemPrivilege) = 0;
  4861. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove(
  4862. /* [in] */ WbemPrivilegeEnum iPrivilege) = 0;
  4863. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteAll( void) = 0;
  4864. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddAsString(
  4865. /* [in] */ BSTR strPrivilege,
  4866. /* [defaultvalue][in] */ VARIANT_BOOL bIsEnabled,
  4867. /* [retval][out] */ ISWbemPrivilege **objWbemPrivilege) = 0;
  4868. };
  4869. #else /* C style interface */
  4870. typedef struct ISWbemPrivilegeSetVtbl
  4871. {
  4872. BEGIN_INTERFACE
  4873. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4874. ISWbemPrivilegeSet * This,
  4875. /* [in] */ REFIID riid,
  4876. /* [iid_is][out] */ void **ppvObject);
  4877. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4878. ISWbemPrivilegeSet * This);
  4879. ULONG ( STDMETHODCALLTYPE *Release )(
  4880. ISWbemPrivilegeSet * This);
  4881. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  4882. ISWbemPrivilegeSet * This,
  4883. /* [out] */ UINT *pctinfo);
  4884. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  4885. ISWbemPrivilegeSet * This,
  4886. /* [in] */ UINT iTInfo,
  4887. /* [in] */ LCID lcid,
  4888. /* [out] */ ITypeInfo **ppTInfo);
  4889. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  4890. ISWbemPrivilegeSet * This,
  4891. /* [in] */ REFIID riid,
  4892. /* [size_is][in] */ LPOLESTR *rgszNames,
  4893. /* [in] */ UINT cNames,
  4894. /* [in] */ LCID lcid,
  4895. /* [size_is][out] */ DISPID *rgDispId);
  4896. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  4897. ISWbemPrivilegeSet * This,
  4898. /* [in] */ DISPID dispIdMember,
  4899. /* [in] */ REFIID riid,
  4900. /* [in] */ LCID lcid,
  4901. /* [in] */ WORD wFlags,
  4902. /* [out][in] */ DISPPARAMS *pDispParams,
  4903. /* [out] */ VARIANT *pVarResult,
  4904. /* [out] */ EXCEPINFO *pExcepInfo,
  4905. /* [out] */ UINT *puArgErr);
  4906. /* [restricted][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  4907. ISWbemPrivilegeSet * This,
  4908. /* [retval][out] */ IUnknown **pUnk);
  4909. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Item )(
  4910. ISWbemPrivilegeSet * This,
  4911. /* [in] */ WbemPrivilegeEnum iPrivilege,
  4912. /* [retval][out] */ ISWbemPrivilege **objWbemPrivilege);
  4913. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  4914. ISWbemPrivilegeSet * This,
  4915. /* [retval][out] */ long *iCount);
  4916. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )(
  4917. ISWbemPrivilegeSet * This,
  4918. /* [in] */ WbemPrivilegeEnum iPrivilege,
  4919. /* [defaultvalue][in] */ VARIANT_BOOL bIsEnabled,
  4920. /* [retval][out] */ ISWbemPrivilege **objWbemPrivilege);
  4921. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
  4922. ISWbemPrivilegeSet * This,
  4923. /* [in] */ WbemPrivilegeEnum iPrivilege);
  4924. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteAll )(
  4925. ISWbemPrivilegeSet * This);
  4926. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddAsString )(
  4927. ISWbemPrivilegeSet * This,
  4928. /* [in] */ BSTR strPrivilege,
  4929. /* [defaultvalue][in] */ VARIANT_BOOL bIsEnabled,
  4930. /* [retval][out] */ ISWbemPrivilege **objWbemPrivilege);
  4931. END_INTERFACE
  4932. } ISWbemPrivilegeSetVtbl;
  4933. interface ISWbemPrivilegeSet
  4934. {
  4935. CONST_VTBL struct ISWbemPrivilegeSetVtbl *lpVtbl;
  4936. };
  4937. #ifdef COBJMACROS
  4938. #define ISWbemPrivilegeSet_QueryInterface(This,riid,ppvObject) \
  4939. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4940. #define ISWbemPrivilegeSet_AddRef(This) \
  4941. (This)->lpVtbl -> AddRef(This)
  4942. #define ISWbemPrivilegeSet_Release(This) \
  4943. (This)->lpVtbl -> Release(This)
  4944. #define ISWbemPrivilegeSet_GetTypeInfoCount(This,pctinfo) \
  4945. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4946. #define ISWbemPrivilegeSet_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4947. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4948. #define ISWbemPrivilegeSet_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4949. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4950. #define ISWbemPrivilegeSet_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4951. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4952. #define ISWbemPrivilegeSet_get__NewEnum(This,pUnk) \
  4953. (This)->lpVtbl -> get__NewEnum(This,pUnk)
  4954. #define ISWbemPrivilegeSet_Item(This,iPrivilege,objWbemPrivilege) \
  4955. (This)->lpVtbl -> Item(This,iPrivilege,objWbemPrivilege)
  4956. #define ISWbemPrivilegeSet_get_Count(This,iCount) \
  4957. (This)->lpVtbl -> get_Count(This,iCount)
  4958. #define ISWbemPrivilegeSet_Add(This,iPrivilege,bIsEnabled,objWbemPrivilege) \
  4959. (This)->lpVtbl -> Add(This,iPrivilege,bIsEnabled,objWbemPrivilege)
  4960. #define ISWbemPrivilegeSet_Remove(This,iPrivilege) \
  4961. (This)->lpVtbl -> Remove(This,iPrivilege)
  4962. #define ISWbemPrivilegeSet_DeleteAll(This) \
  4963. (This)->lpVtbl -> DeleteAll(This)
  4964. #define ISWbemPrivilegeSet_AddAsString(This,strPrivilege,bIsEnabled,objWbemPrivilege) \
  4965. (This)->lpVtbl -> AddAsString(This,strPrivilege,bIsEnabled,objWbemPrivilege)
  4966. #endif /* COBJMACROS */
  4967. #endif /* C style interface */
  4968. /* [restricted][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemPrivilegeSet_get__NewEnum_Proxy(
  4969. ISWbemPrivilegeSet * This,
  4970. /* [retval][out] */ IUnknown **pUnk);
  4971. void __RPC_STUB ISWbemPrivilegeSet_get__NewEnum_Stub(
  4972. IRpcStubBuffer *This,
  4973. IRpcChannelBuffer *_pRpcChannelBuffer,
  4974. PRPC_MESSAGE _pRpcMessage,
  4975. DWORD *_pdwStubPhase);
  4976. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemPrivilegeSet_Item_Proxy(
  4977. ISWbemPrivilegeSet * This,
  4978. /* [in] */ WbemPrivilegeEnum iPrivilege,
  4979. /* [retval][out] */ ISWbemPrivilege **objWbemPrivilege);
  4980. void __RPC_STUB ISWbemPrivilegeSet_Item_Stub(
  4981. IRpcStubBuffer *This,
  4982. IRpcChannelBuffer *_pRpcChannelBuffer,
  4983. PRPC_MESSAGE _pRpcMessage,
  4984. DWORD *_pdwStubPhase);
  4985. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemPrivilegeSet_get_Count_Proxy(
  4986. ISWbemPrivilegeSet * This,
  4987. /* [retval][out] */ long *iCount);
  4988. void __RPC_STUB ISWbemPrivilegeSet_get_Count_Stub(
  4989. IRpcStubBuffer *This,
  4990. IRpcChannelBuffer *_pRpcChannelBuffer,
  4991. PRPC_MESSAGE _pRpcMessage,
  4992. DWORD *_pdwStubPhase);
  4993. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemPrivilegeSet_Add_Proxy(
  4994. ISWbemPrivilegeSet * This,
  4995. /* [in] */ WbemPrivilegeEnum iPrivilege,
  4996. /* [defaultvalue][in] */ VARIANT_BOOL bIsEnabled,
  4997. /* [retval][out] */ ISWbemPrivilege **objWbemPrivilege);
  4998. void __RPC_STUB ISWbemPrivilegeSet_Add_Stub(
  4999. IRpcStubBuffer *This,
  5000. IRpcChannelBuffer *_pRpcChannelBuffer,
  5001. PRPC_MESSAGE _pRpcMessage,
  5002. DWORD *_pdwStubPhase);
  5003. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemPrivilegeSet_Remove_Proxy(
  5004. ISWbemPrivilegeSet * This,
  5005. /* [in] */ WbemPrivilegeEnum iPrivilege);
  5006. void __RPC_STUB ISWbemPrivilegeSet_Remove_Stub(
  5007. IRpcStubBuffer *This,
  5008. IRpcChannelBuffer *_pRpcChannelBuffer,
  5009. PRPC_MESSAGE _pRpcMessage,
  5010. DWORD *_pdwStubPhase);
  5011. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemPrivilegeSet_DeleteAll_Proxy(
  5012. ISWbemPrivilegeSet * This);
  5013. void __RPC_STUB ISWbemPrivilegeSet_DeleteAll_Stub(
  5014. IRpcStubBuffer *This,
  5015. IRpcChannelBuffer *_pRpcChannelBuffer,
  5016. PRPC_MESSAGE _pRpcMessage,
  5017. DWORD *_pdwStubPhase);
  5018. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemPrivilegeSet_AddAsString_Proxy(
  5019. ISWbemPrivilegeSet * This,
  5020. /* [in] */ BSTR strPrivilege,
  5021. /* [defaultvalue][in] */ VARIANT_BOOL bIsEnabled,
  5022. /* [retval][out] */ ISWbemPrivilege **objWbemPrivilege);
  5023. void __RPC_STUB ISWbemPrivilegeSet_AddAsString_Stub(
  5024. IRpcStubBuffer *This,
  5025. IRpcChannelBuffer *_pRpcChannelBuffer,
  5026. PRPC_MESSAGE _pRpcMessage,
  5027. DWORD *_pdwStubPhase);
  5028. #endif /* __ISWbemPrivilegeSet_INTERFACE_DEFINED__ */
  5029. #ifndef __ISWbemServicesEx_INTERFACE_DEFINED__
  5030. #define __ISWbemServicesEx_INTERFACE_DEFINED__
  5031. /* interface ISWbemServicesEx */
  5032. /* [helpstring][hidden][unique][nonextensible][dual][oleautomation][uuid][object][local] */
  5033. EXTERN_C const IID IID_ISWbemServicesEx;
  5034. #if defined(__cplusplus) && !defined(CINTERFACE)
  5035. MIDL_INTERFACE("D2F68443-85DC-427e-91D8-366554CC754C")
  5036. ISWbemServicesEx : public ISWbemServices
  5037. {
  5038. public:
  5039. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Put(
  5040. /* [in] */ ISWbemObjectEx *objWbemObject,
  5041. /* [defaultvalue][in] */ long iFlags,
  5042. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5043. /* [retval][out] */ ISWbemObjectPath **objWbemObjectPath) = 0;
  5044. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PutAsync(
  5045. /* [in] */ ISWbemSink *objWbemSink,
  5046. /* [in] */ ISWbemObjectEx *objWbemObject,
  5047. /* [defaultvalue][in] */ long iFlags = wbemChangeFlagCreateOrUpdate,
  5048. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0,
  5049. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext = 0) = 0;
  5050. };
  5051. #else /* C style interface */
  5052. typedef struct ISWbemServicesExVtbl
  5053. {
  5054. BEGIN_INTERFACE
  5055. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5056. ISWbemServicesEx * This,
  5057. /* [in] */ REFIID riid,
  5058. /* [iid_is][out] */ void **ppvObject);
  5059. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5060. ISWbemServicesEx * This);
  5061. ULONG ( STDMETHODCALLTYPE *Release )(
  5062. ISWbemServicesEx * This);
  5063. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  5064. ISWbemServicesEx * This,
  5065. /* [out] */ UINT *pctinfo);
  5066. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  5067. ISWbemServicesEx * This,
  5068. /* [in] */ UINT iTInfo,
  5069. /* [in] */ LCID lcid,
  5070. /* [out] */ ITypeInfo **ppTInfo);
  5071. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  5072. ISWbemServicesEx * This,
  5073. /* [in] */ REFIID riid,
  5074. /* [size_is][in] */ LPOLESTR *rgszNames,
  5075. /* [in] */ UINT cNames,
  5076. /* [in] */ LCID lcid,
  5077. /* [size_is][out] */ DISPID *rgDispId);
  5078. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  5079. ISWbemServicesEx * This,
  5080. /* [in] */ DISPID dispIdMember,
  5081. /* [in] */ REFIID riid,
  5082. /* [in] */ LCID lcid,
  5083. /* [in] */ WORD wFlags,
  5084. /* [out][in] */ DISPPARAMS *pDispParams,
  5085. /* [out] */ VARIANT *pVarResult,
  5086. /* [out] */ EXCEPINFO *pExcepInfo,
  5087. /* [out] */ UINT *puArgErr);
  5088. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Get )(
  5089. ISWbemServicesEx * This,
  5090. /* [defaultvalue][in] */ BSTR strObjectPath,
  5091. /* [defaultvalue][in] */ long iFlags,
  5092. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5093. /* [retval][out] */ ISWbemObject **objWbemObject);
  5094. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetAsync )(
  5095. ISWbemServicesEx * This,
  5096. /* [in] */ IDispatch *objWbemSink,
  5097. /* [defaultvalue][in] */ BSTR strObjectPath,
  5098. /* [defaultvalue][in] */ long iFlags,
  5099. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5100. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  5101. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )(
  5102. ISWbemServicesEx * This,
  5103. /* [in] */ BSTR strObjectPath,
  5104. /* [defaultvalue][in] */ long iFlags,
  5105. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet);
  5106. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteAsync )(
  5107. ISWbemServicesEx * This,
  5108. /* [in] */ IDispatch *objWbemSink,
  5109. /* [in] */ BSTR strObjectPath,
  5110. /* [defaultvalue][in] */ long iFlags,
  5111. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5112. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  5113. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InstancesOf )(
  5114. ISWbemServicesEx * This,
  5115. /* [in] */ BSTR strClass,
  5116. /* [defaultvalue][in] */ long iFlags,
  5117. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5118. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  5119. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InstancesOfAsync )(
  5120. ISWbemServicesEx * This,
  5121. /* [in] */ IDispatch *objWbemSink,
  5122. /* [in] */ BSTR strClass,
  5123. /* [defaultvalue][in] */ long iFlags,
  5124. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5125. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  5126. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SubclassesOf )(
  5127. ISWbemServicesEx * This,
  5128. /* [defaultvalue][in] */ BSTR strSuperclass,
  5129. /* [defaultvalue][in] */ long iFlags,
  5130. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5131. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  5132. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SubclassesOfAsync )(
  5133. ISWbemServicesEx * This,
  5134. /* [in] */ IDispatch *objWbemSink,
  5135. /* [defaultvalue][in] */ BSTR strSuperclass,
  5136. /* [defaultvalue][in] */ long iFlags,
  5137. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5138. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  5139. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecQuery )(
  5140. ISWbemServicesEx * This,
  5141. /* [in] */ BSTR strQuery,
  5142. /* [defaultvalue][in] */ BSTR strQueryLanguage,
  5143. /* [defaultvalue][in] */ long iFlags,
  5144. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5145. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  5146. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecQueryAsync )(
  5147. ISWbemServicesEx * This,
  5148. /* [in] */ IDispatch *objWbemSink,
  5149. /* [in] */ BSTR strQuery,
  5150. /* [defaultvalue][in] */ BSTR strQueryLanguage,
  5151. /* [defaultvalue][in] */ long lFlags,
  5152. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5153. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  5154. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AssociatorsOf )(
  5155. ISWbemServicesEx * This,
  5156. /* [in] */ BSTR strObjectPath,
  5157. /* [defaultvalue][in] */ BSTR strAssocClass,
  5158. /* [defaultvalue][in] */ BSTR strResultClass,
  5159. /* [defaultvalue][in] */ BSTR strResultRole,
  5160. /* [defaultvalue][in] */ BSTR strRole,
  5161. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  5162. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  5163. /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  5164. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  5165. /* [defaultvalue][in] */ long iFlags,
  5166. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5167. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  5168. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AssociatorsOfAsync )(
  5169. ISWbemServicesEx * This,
  5170. /* [in] */ IDispatch *objWbemSink,
  5171. /* [in] */ BSTR strObjectPath,
  5172. /* [defaultvalue][in] */ BSTR strAssocClass,
  5173. /* [defaultvalue][in] */ BSTR strResultClass,
  5174. /* [defaultvalue][in] */ BSTR strResultRole,
  5175. /* [defaultvalue][in] */ BSTR strRole,
  5176. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  5177. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  5178. /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  5179. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  5180. /* [defaultvalue][in] */ long iFlags,
  5181. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5182. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  5183. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ReferencesTo )(
  5184. ISWbemServicesEx * This,
  5185. /* [in] */ BSTR strObjectPath,
  5186. /* [defaultvalue][in] */ BSTR strResultClass,
  5187. /* [defaultvalue][in] */ BSTR strRole,
  5188. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  5189. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  5190. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  5191. /* [defaultvalue][in] */ long iFlags,
  5192. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5193. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  5194. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ReferencesToAsync )(
  5195. ISWbemServicesEx * This,
  5196. /* [in] */ IDispatch *objWbemSink,
  5197. /* [in] */ BSTR strObjectPath,
  5198. /* [defaultvalue][in] */ BSTR strResultClass,
  5199. /* [defaultvalue][in] */ BSTR strRole,
  5200. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  5201. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  5202. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  5203. /* [defaultvalue][in] */ long iFlags,
  5204. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5205. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  5206. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecNotificationQuery )(
  5207. ISWbemServicesEx * This,
  5208. /* [in] */ BSTR strQuery,
  5209. /* [defaultvalue][in] */ BSTR strQueryLanguage,
  5210. /* [defaultvalue][in] */ long iFlags,
  5211. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5212. /* [retval][out] */ ISWbemEventSource **objWbemEventSource);
  5213. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecNotificationQueryAsync )(
  5214. ISWbemServicesEx * This,
  5215. /* [in] */ IDispatch *objWbemSink,
  5216. /* [in] */ BSTR strQuery,
  5217. /* [defaultvalue][in] */ BSTR strQueryLanguage,
  5218. /* [defaultvalue][in] */ long iFlags,
  5219. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5220. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  5221. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecMethod )(
  5222. ISWbemServicesEx * This,
  5223. /* [in] */ BSTR strObjectPath,
  5224. /* [in] */ BSTR strMethodName,
  5225. /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  5226. /* [defaultvalue][in] */ long iFlags,
  5227. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5228. /* [retval][out] */ ISWbemObject **objWbemOutParameters);
  5229. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecMethodAsync )(
  5230. ISWbemServicesEx * This,
  5231. /* [in] */ IDispatch *objWbemSink,
  5232. /* [in] */ BSTR strObjectPath,
  5233. /* [in] */ BSTR strMethodName,
  5234. /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  5235. /* [defaultvalue][in] */ long iFlags,
  5236. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5237. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  5238. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Security_ )(
  5239. ISWbemServicesEx * This,
  5240. /* [retval][out] */ ISWbemSecurity **objWbemSecurity);
  5241. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Put )(
  5242. ISWbemServicesEx * This,
  5243. /* [in] */ ISWbemObjectEx *objWbemObject,
  5244. /* [defaultvalue][in] */ long iFlags,
  5245. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5246. /* [retval][out] */ ISWbemObjectPath **objWbemObjectPath);
  5247. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PutAsync )(
  5248. ISWbemServicesEx * This,
  5249. /* [in] */ ISWbemSink *objWbemSink,
  5250. /* [in] */ ISWbemObjectEx *objWbemObject,
  5251. /* [defaultvalue][in] */ long iFlags,
  5252. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5253. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  5254. END_INTERFACE
  5255. } ISWbemServicesExVtbl;
  5256. interface ISWbemServicesEx
  5257. {
  5258. CONST_VTBL struct ISWbemServicesExVtbl *lpVtbl;
  5259. };
  5260. #ifdef COBJMACROS
  5261. #define ISWbemServicesEx_QueryInterface(This,riid,ppvObject) \
  5262. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5263. #define ISWbemServicesEx_AddRef(This) \
  5264. (This)->lpVtbl -> AddRef(This)
  5265. #define ISWbemServicesEx_Release(This) \
  5266. (This)->lpVtbl -> Release(This)
  5267. #define ISWbemServicesEx_GetTypeInfoCount(This,pctinfo) \
  5268. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5269. #define ISWbemServicesEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5270. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5271. #define ISWbemServicesEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5272. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5273. #define ISWbemServicesEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5274. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5275. #define ISWbemServicesEx_Get(This,strObjectPath,iFlags,objWbemNamedValueSet,objWbemObject) \
  5276. (This)->lpVtbl -> Get(This,strObjectPath,iFlags,objWbemNamedValueSet,objWbemObject)
  5277. #define ISWbemServicesEx_GetAsync(This,objWbemSink,strObjectPath,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  5278. (This)->lpVtbl -> GetAsync(This,objWbemSink,strObjectPath,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  5279. #define ISWbemServicesEx_Delete(This,strObjectPath,iFlags,objWbemNamedValueSet) \
  5280. (This)->lpVtbl -> Delete(This,strObjectPath,iFlags,objWbemNamedValueSet)
  5281. #define ISWbemServicesEx_DeleteAsync(This,objWbemSink,strObjectPath,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  5282. (This)->lpVtbl -> DeleteAsync(This,objWbemSink,strObjectPath,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  5283. #define ISWbemServicesEx_InstancesOf(This,strClass,iFlags,objWbemNamedValueSet,objWbemObjectSet) \
  5284. (This)->lpVtbl -> InstancesOf(This,strClass,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  5285. #define ISWbemServicesEx_InstancesOfAsync(This,objWbemSink,strClass,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  5286. (This)->lpVtbl -> InstancesOfAsync(This,objWbemSink,strClass,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  5287. #define ISWbemServicesEx_SubclassesOf(This,strSuperclass,iFlags,objWbemNamedValueSet,objWbemObjectSet) \
  5288. (This)->lpVtbl -> SubclassesOf(This,strSuperclass,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  5289. #define ISWbemServicesEx_SubclassesOfAsync(This,objWbemSink,strSuperclass,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  5290. (This)->lpVtbl -> SubclassesOfAsync(This,objWbemSink,strSuperclass,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  5291. #define ISWbemServicesEx_ExecQuery(This,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemObjectSet) \
  5292. (This)->lpVtbl -> ExecQuery(This,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  5293. #define ISWbemServicesEx_ExecQueryAsync(This,objWbemSink,strQuery,strQueryLanguage,lFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  5294. (This)->lpVtbl -> ExecQueryAsync(This,objWbemSink,strQuery,strQueryLanguage,lFlags,objWbemNamedValueSet,objWbemAsyncContext)
  5295. #define ISWbemServicesEx_AssociatorsOf(This,strObjectPath,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet) \
  5296. (This)->lpVtbl -> AssociatorsOf(This,strObjectPath,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  5297. #define ISWbemServicesEx_AssociatorsOfAsync(This,objWbemSink,strObjectPath,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  5298. (This)->lpVtbl -> AssociatorsOfAsync(This,objWbemSink,strObjectPath,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  5299. #define ISWbemServicesEx_ReferencesTo(This,strObjectPath,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet) \
  5300. (This)->lpVtbl -> ReferencesTo(This,strObjectPath,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  5301. #define ISWbemServicesEx_ReferencesToAsync(This,objWbemSink,strObjectPath,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  5302. (This)->lpVtbl -> ReferencesToAsync(This,objWbemSink,strObjectPath,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  5303. #define ISWbemServicesEx_ExecNotificationQuery(This,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemEventSource) \
  5304. (This)->lpVtbl -> ExecNotificationQuery(This,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemEventSource)
  5305. #define ISWbemServicesEx_ExecNotificationQueryAsync(This,objWbemSink,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  5306. (This)->lpVtbl -> ExecNotificationQueryAsync(This,objWbemSink,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  5307. #define ISWbemServicesEx_ExecMethod(This,strObjectPath,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemOutParameters) \
  5308. (This)->lpVtbl -> ExecMethod(This,strObjectPath,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemOutParameters)
  5309. #define ISWbemServicesEx_ExecMethodAsync(This,objWbemSink,strObjectPath,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  5310. (This)->lpVtbl -> ExecMethodAsync(This,objWbemSink,strObjectPath,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  5311. #define ISWbemServicesEx_get_Security_(This,objWbemSecurity) \
  5312. (This)->lpVtbl -> get_Security_(This,objWbemSecurity)
  5313. #define ISWbemServicesEx_Put(This,objWbemObject,iFlags,objWbemNamedValueSet,objWbemObjectPath) \
  5314. (This)->lpVtbl -> Put(This,objWbemObject,iFlags,objWbemNamedValueSet,objWbemObjectPath)
  5315. #define ISWbemServicesEx_PutAsync(This,objWbemSink,objWbemObject,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  5316. (This)->lpVtbl -> PutAsync(This,objWbemSink,objWbemObject,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  5317. #endif /* COBJMACROS */
  5318. #endif /* C style interface */
  5319. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServicesEx_Put_Proxy(
  5320. ISWbemServicesEx * This,
  5321. /* [in] */ ISWbemObjectEx *objWbemObject,
  5322. /* [defaultvalue][in] */ long iFlags,
  5323. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5324. /* [retval][out] */ ISWbemObjectPath **objWbemObjectPath);
  5325. void __RPC_STUB ISWbemServicesEx_Put_Stub(
  5326. IRpcStubBuffer *This,
  5327. IRpcChannelBuffer *_pRpcChannelBuffer,
  5328. PRPC_MESSAGE _pRpcMessage,
  5329. DWORD *_pdwStubPhase);
  5330. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemServicesEx_PutAsync_Proxy(
  5331. ISWbemServicesEx * This,
  5332. /* [in] */ ISWbemSink *objWbemSink,
  5333. /* [in] */ ISWbemObjectEx *objWbemObject,
  5334. /* [defaultvalue][in] */ long iFlags,
  5335. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5336. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  5337. void __RPC_STUB ISWbemServicesEx_PutAsync_Stub(
  5338. IRpcStubBuffer *This,
  5339. IRpcChannelBuffer *_pRpcChannelBuffer,
  5340. PRPC_MESSAGE _pRpcMessage,
  5341. DWORD *_pdwStubPhase);
  5342. #endif /* __ISWbemServicesEx_INTERFACE_DEFINED__ */
  5343. #ifndef __ISWbemObjectEx_INTERFACE_DEFINED__
  5344. #define __ISWbemObjectEx_INTERFACE_DEFINED__
  5345. /* interface ISWbemObjectEx */
  5346. /* [helpstring][hidden][oleautomation][dual][uuid][object][local] */
  5347. EXTERN_C const IID IID_ISWbemObjectEx;
  5348. #if defined(__cplusplus) && !defined(CINTERFACE)
  5349. MIDL_INTERFACE("269AD56A-8A67-4129-BC8C-0506DCFE9880")
  5350. ISWbemObjectEx : public ISWbemObject
  5351. {
  5352. public:
  5353. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh_(
  5354. /* [defaultvalue][in] */ long iFlags = 0,
  5355. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0) = 0;
  5356. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_SystemProperties_(
  5357. /* [retval][out] */ ISWbemPropertySet **objWbemPropertySet) = 0;
  5358. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetText_(
  5359. /* [in] */ WbemObjectTextFormatEnum iObjectTextFormat,
  5360. /* [defaultvalue][in] */ long iFlags,
  5361. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5362. /* [retval][out] */ BSTR *bsText) = 0;
  5363. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetFromText_(
  5364. /* [in] */ BSTR bsText,
  5365. /* [in] */ WbemObjectTextFormatEnum iObjectTextFormat,
  5366. /* [defaultvalue][in] */ long iFlags = 0,
  5367. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet = 0) = 0;
  5368. };
  5369. #else /* C style interface */
  5370. typedef struct ISWbemObjectExVtbl
  5371. {
  5372. BEGIN_INTERFACE
  5373. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5374. ISWbemObjectEx * This,
  5375. /* [in] */ REFIID riid,
  5376. /* [iid_is][out] */ void **ppvObject);
  5377. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5378. ISWbemObjectEx * This);
  5379. ULONG ( STDMETHODCALLTYPE *Release )(
  5380. ISWbemObjectEx * This);
  5381. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  5382. ISWbemObjectEx * This,
  5383. /* [out] */ UINT *pctinfo);
  5384. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  5385. ISWbemObjectEx * This,
  5386. /* [in] */ UINT iTInfo,
  5387. /* [in] */ LCID lcid,
  5388. /* [out] */ ITypeInfo **ppTInfo);
  5389. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  5390. ISWbemObjectEx * This,
  5391. /* [in] */ REFIID riid,
  5392. /* [size_is][in] */ LPOLESTR *rgszNames,
  5393. /* [in] */ UINT cNames,
  5394. /* [in] */ LCID lcid,
  5395. /* [size_is][out] */ DISPID *rgDispId);
  5396. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  5397. ISWbemObjectEx * This,
  5398. /* [in] */ DISPID dispIdMember,
  5399. /* [in] */ REFIID riid,
  5400. /* [in] */ LCID lcid,
  5401. /* [in] */ WORD wFlags,
  5402. /* [out][in] */ DISPPARAMS *pDispParams,
  5403. /* [out] */ VARIANT *pVarResult,
  5404. /* [out] */ EXCEPINFO *pExcepInfo,
  5405. /* [out] */ UINT *puArgErr);
  5406. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Put_ )(
  5407. ISWbemObjectEx * This,
  5408. /* [defaultvalue][in] */ long iFlags,
  5409. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5410. /* [retval][out] */ ISWbemObjectPath **objWbemObjectPath);
  5411. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PutAsync_ )(
  5412. ISWbemObjectEx * This,
  5413. /* [in] */ IDispatch *objWbemSink,
  5414. /* [defaultvalue][in] */ long iFlags,
  5415. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5416. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  5417. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete_ )(
  5418. ISWbemObjectEx * This,
  5419. /* [defaultvalue][in] */ long iFlags,
  5420. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet);
  5421. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteAsync_ )(
  5422. ISWbemObjectEx * This,
  5423. /* [in] */ IDispatch *objWbemSink,
  5424. /* [defaultvalue][in] */ long iFlags,
  5425. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5426. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  5427. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Instances_ )(
  5428. ISWbemObjectEx * This,
  5429. /* [defaultvalue][in] */ long iFlags,
  5430. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5431. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  5432. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InstancesAsync_ )(
  5433. ISWbemObjectEx * This,
  5434. /* [in] */ IDispatch *objWbemSink,
  5435. /* [defaultvalue][in] */ long iFlags,
  5436. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5437. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  5438. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Subclasses_ )(
  5439. ISWbemObjectEx * This,
  5440. /* [defaultvalue][in] */ long iFlags,
  5441. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5442. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  5443. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SubclassesAsync_ )(
  5444. ISWbemObjectEx * This,
  5445. /* [in] */ IDispatch *objWbemSink,
  5446. /* [defaultvalue][in] */ long iFlags,
  5447. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5448. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  5449. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Associators_ )(
  5450. ISWbemObjectEx * This,
  5451. /* [defaultvalue][in] */ BSTR strAssocClass,
  5452. /* [defaultvalue][in] */ BSTR strResultClass,
  5453. /* [defaultvalue][in] */ BSTR strResultRole,
  5454. /* [defaultvalue][in] */ BSTR strRole,
  5455. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  5456. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  5457. /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  5458. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  5459. /* [defaultvalue][in] */ long iFlags,
  5460. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5461. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  5462. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AssociatorsAsync_ )(
  5463. ISWbemObjectEx * This,
  5464. /* [in] */ IDispatch *objWbemSink,
  5465. /* [defaultvalue][in] */ BSTR strAssocClass,
  5466. /* [defaultvalue][in] */ BSTR strResultClass,
  5467. /* [defaultvalue][in] */ BSTR strResultRole,
  5468. /* [defaultvalue][in] */ BSTR strRole,
  5469. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  5470. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  5471. /* [defaultvalue][in] */ BSTR strRequiredAssocQualifier,
  5472. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  5473. /* [defaultvalue][in] */ long iFlags,
  5474. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5475. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  5476. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *References_ )(
  5477. ISWbemObjectEx * This,
  5478. /* [defaultvalue][in] */ BSTR strResultClass,
  5479. /* [defaultvalue][in] */ BSTR strRole,
  5480. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  5481. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  5482. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  5483. /* [defaultvalue][in] */ long iFlags,
  5484. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5485. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  5486. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ReferencesAsync_ )(
  5487. ISWbemObjectEx * This,
  5488. /* [in] */ IDispatch *objWbemSink,
  5489. /* [defaultvalue][in] */ BSTR strResultClass,
  5490. /* [defaultvalue][in] */ BSTR strRole,
  5491. /* [defaultvalue][in] */ VARIANT_BOOL bClassesOnly,
  5492. /* [defaultvalue][in] */ VARIANT_BOOL bSchemaOnly,
  5493. /* [defaultvalue][in] */ BSTR strRequiredQualifier,
  5494. /* [defaultvalue][in] */ long iFlags,
  5495. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5496. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  5497. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecMethod_ )(
  5498. ISWbemObjectEx * This,
  5499. /* [in] */ BSTR strMethodName,
  5500. /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  5501. /* [defaultvalue][in] */ long iFlags,
  5502. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5503. /* [retval][out] */ ISWbemObject **objWbemOutParameters);
  5504. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecMethodAsync_ )(
  5505. ISWbemObjectEx * This,
  5506. /* [in] */ IDispatch *objWbemSink,
  5507. /* [in] */ BSTR strMethodName,
  5508. /* [defaultvalue][in] */ IDispatch *objWbemInParameters,
  5509. /* [defaultvalue][in] */ long iFlags,
  5510. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5511. /* [defaultvalue][in] */ IDispatch *objWbemAsyncContext);
  5512. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clone_ )(
  5513. ISWbemObjectEx * This,
  5514. /* [retval][out] */ ISWbemObject **objWbemObject);
  5515. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetObjectText_ )(
  5516. ISWbemObjectEx * This,
  5517. /* [defaultvalue][in] */ long iFlags,
  5518. /* [retval][out] */ BSTR *strObjectText);
  5519. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SpawnDerivedClass_ )(
  5520. ISWbemObjectEx * This,
  5521. /* [defaultvalue][in] */ long iFlags,
  5522. /* [retval][out] */ ISWbemObject **objWbemObject);
  5523. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SpawnInstance_ )(
  5524. ISWbemObjectEx * This,
  5525. /* [defaultvalue][in] */ long iFlags,
  5526. /* [retval][out] */ ISWbemObject **objWbemObject);
  5527. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CompareTo_ )(
  5528. ISWbemObjectEx * This,
  5529. /* [in] */ IDispatch *objWbemObject,
  5530. /* [defaultvalue][in] */ long iFlags,
  5531. /* [retval][out] */ VARIANT_BOOL *bResult);
  5532. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Qualifiers_ )(
  5533. ISWbemObjectEx * This,
  5534. /* [retval][out] */ ISWbemQualifierSet **objWbemQualifierSet);
  5535. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Properties_ )(
  5536. ISWbemObjectEx * This,
  5537. /* [retval][out] */ ISWbemPropertySet **objWbemPropertySet);
  5538. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Methods_ )(
  5539. ISWbemObjectEx * This,
  5540. /* [retval][out] */ ISWbemMethodSet **objWbemMethodSet);
  5541. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Derivation_ )(
  5542. ISWbemObjectEx * This,
  5543. /* [retval][out] */ VARIANT *strClassNameArray);
  5544. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Path_ )(
  5545. ISWbemObjectEx * This,
  5546. /* [retval][out] */ ISWbemObjectPath **objWbemObjectPath);
  5547. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Security_ )(
  5548. ISWbemObjectEx * This,
  5549. /* [retval][out] */ ISWbemSecurity **objWbemSecurity);
  5550. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh_ )(
  5551. ISWbemObjectEx * This,
  5552. /* [defaultvalue][in] */ long iFlags,
  5553. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet);
  5554. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_SystemProperties_ )(
  5555. ISWbemObjectEx * This,
  5556. /* [retval][out] */ ISWbemPropertySet **objWbemPropertySet);
  5557. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetText_ )(
  5558. ISWbemObjectEx * This,
  5559. /* [in] */ WbemObjectTextFormatEnum iObjectTextFormat,
  5560. /* [defaultvalue][in] */ long iFlags,
  5561. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5562. /* [retval][out] */ BSTR *bsText);
  5563. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetFromText_ )(
  5564. ISWbemObjectEx * This,
  5565. /* [in] */ BSTR bsText,
  5566. /* [in] */ WbemObjectTextFormatEnum iObjectTextFormat,
  5567. /* [defaultvalue][in] */ long iFlags,
  5568. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet);
  5569. END_INTERFACE
  5570. } ISWbemObjectExVtbl;
  5571. interface ISWbemObjectEx
  5572. {
  5573. CONST_VTBL struct ISWbemObjectExVtbl *lpVtbl;
  5574. };
  5575. #ifdef COBJMACROS
  5576. #define ISWbemObjectEx_QueryInterface(This,riid,ppvObject) \
  5577. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5578. #define ISWbemObjectEx_AddRef(This) \
  5579. (This)->lpVtbl -> AddRef(This)
  5580. #define ISWbemObjectEx_Release(This) \
  5581. (This)->lpVtbl -> Release(This)
  5582. #define ISWbemObjectEx_GetTypeInfoCount(This,pctinfo) \
  5583. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5584. #define ISWbemObjectEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5585. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5586. #define ISWbemObjectEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5587. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5588. #define ISWbemObjectEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5589. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5590. #define ISWbemObjectEx_Put_(This,iFlags,objWbemNamedValueSet,objWbemObjectPath) \
  5591. (This)->lpVtbl -> Put_(This,iFlags,objWbemNamedValueSet,objWbemObjectPath)
  5592. #define ISWbemObjectEx_PutAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  5593. (This)->lpVtbl -> PutAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  5594. #define ISWbemObjectEx_Delete_(This,iFlags,objWbemNamedValueSet) \
  5595. (This)->lpVtbl -> Delete_(This,iFlags,objWbemNamedValueSet)
  5596. #define ISWbemObjectEx_DeleteAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  5597. (This)->lpVtbl -> DeleteAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  5598. #define ISWbemObjectEx_Instances_(This,iFlags,objWbemNamedValueSet,objWbemObjectSet) \
  5599. (This)->lpVtbl -> Instances_(This,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  5600. #define ISWbemObjectEx_InstancesAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  5601. (This)->lpVtbl -> InstancesAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  5602. #define ISWbemObjectEx_Subclasses_(This,iFlags,objWbemNamedValueSet,objWbemObjectSet) \
  5603. (This)->lpVtbl -> Subclasses_(This,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  5604. #define ISWbemObjectEx_SubclassesAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  5605. (This)->lpVtbl -> SubclassesAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  5606. #define ISWbemObjectEx_Associators_(This,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet) \
  5607. (This)->lpVtbl -> Associators_(This,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  5608. #define ISWbemObjectEx_AssociatorsAsync_(This,objWbemSink,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  5609. (This)->lpVtbl -> AssociatorsAsync_(This,objWbemSink,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  5610. #define ISWbemObjectEx_References_(This,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet) \
  5611. (This)->lpVtbl -> References_(This,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet)
  5612. #define ISWbemObjectEx_ReferencesAsync_(This,objWbemSink,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  5613. (This)->lpVtbl -> ReferencesAsync_(This,objWbemSink,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  5614. #define ISWbemObjectEx_ExecMethod_(This,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemOutParameters) \
  5615. (This)->lpVtbl -> ExecMethod_(This,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemOutParameters)
  5616. #define ISWbemObjectEx_ExecMethodAsync_(This,objWbemSink,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemAsyncContext) \
  5617. (This)->lpVtbl -> ExecMethodAsync_(This,objWbemSink,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemAsyncContext)
  5618. #define ISWbemObjectEx_Clone_(This,objWbemObject) \
  5619. (This)->lpVtbl -> Clone_(This,objWbemObject)
  5620. #define ISWbemObjectEx_GetObjectText_(This,iFlags,strObjectText) \
  5621. (This)->lpVtbl -> GetObjectText_(This,iFlags,strObjectText)
  5622. #define ISWbemObjectEx_SpawnDerivedClass_(This,iFlags,objWbemObject) \
  5623. (This)->lpVtbl -> SpawnDerivedClass_(This,iFlags,objWbemObject)
  5624. #define ISWbemObjectEx_SpawnInstance_(This,iFlags,objWbemObject) \
  5625. (This)->lpVtbl -> SpawnInstance_(This,iFlags,objWbemObject)
  5626. #define ISWbemObjectEx_CompareTo_(This,objWbemObject,iFlags,bResult) \
  5627. (This)->lpVtbl -> CompareTo_(This,objWbemObject,iFlags,bResult)
  5628. #define ISWbemObjectEx_get_Qualifiers_(This,objWbemQualifierSet) \
  5629. (This)->lpVtbl -> get_Qualifiers_(This,objWbemQualifierSet)
  5630. #define ISWbemObjectEx_get_Properties_(This,objWbemPropertySet) \
  5631. (This)->lpVtbl -> get_Properties_(This,objWbemPropertySet)
  5632. #define ISWbemObjectEx_get_Methods_(This,objWbemMethodSet) \
  5633. (This)->lpVtbl -> get_Methods_(This,objWbemMethodSet)
  5634. #define ISWbemObjectEx_get_Derivation_(This,strClassNameArray) \
  5635. (This)->lpVtbl -> get_Derivation_(This,strClassNameArray)
  5636. #define ISWbemObjectEx_get_Path_(This,objWbemObjectPath) \
  5637. (This)->lpVtbl -> get_Path_(This,objWbemObjectPath)
  5638. #define ISWbemObjectEx_get_Security_(This,objWbemSecurity) \
  5639. (This)->lpVtbl -> get_Security_(This,objWbemSecurity)
  5640. #define ISWbemObjectEx_Refresh_(This,iFlags,objWbemNamedValueSet) \
  5641. (This)->lpVtbl -> Refresh_(This,iFlags,objWbemNamedValueSet)
  5642. #define ISWbemObjectEx_get_SystemProperties_(This,objWbemPropertySet) \
  5643. (This)->lpVtbl -> get_SystemProperties_(This,objWbemPropertySet)
  5644. #define ISWbemObjectEx_GetText_(This,iObjectTextFormat,iFlags,objWbemNamedValueSet,bsText) \
  5645. (This)->lpVtbl -> GetText_(This,iObjectTextFormat,iFlags,objWbemNamedValueSet,bsText)
  5646. #define ISWbemObjectEx_SetFromText_(This,bsText,iObjectTextFormat,iFlags,objWbemNamedValueSet) \
  5647. (This)->lpVtbl -> SetFromText_(This,bsText,iObjectTextFormat,iFlags,objWbemNamedValueSet)
  5648. #endif /* COBJMACROS */
  5649. #endif /* C style interface */
  5650. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectEx_Refresh__Proxy(
  5651. ISWbemObjectEx * This,
  5652. /* [defaultvalue][in] */ long iFlags,
  5653. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet);
  5654. void __RPC_STUB ISWbemObjectEx_Refresh__Stub(
  5655. IRpcStubBuffer *This,
  5656. IRpcChannelBuffer *_pRpcChannelBuffer,
  5657. PRPC_MESSAGE _pRpcMessage,
  5658. DWORD *_pdwStubPhase);
  5659. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectEx_get_SystemProperties__Proxy(
  5660. ISWbemObjectEx * This,
  5661. /* [retval][out] */ ISWbemPropertySet **objWbemPropertySet);
  5662. void __RPC_STUB ISWbemObjectEx_get_SystemProperties__Stub(
  5663. IRpcStubBuffer *This,
  5664. IRpcChannelBuffer *_pRpcChannelBuffer,
  5665. PRPC_MESSAGE _pRpcMessage,
  5666. DWORD *_pdwStubPhase);
  5667. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectEx_GetText__Proxy(
  5668. ISWbemObjectEx * This,
  5669. /* [in] */ WbemObjectTextFormatEnum iObjectTextFormat,
  5670. /* [defaultvalue][in] */ long iFlags,
  5671. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  5672. /* [retval][out] */ BSTR *bsText);
  5673. void __RPC_STUB ISWbemObjectEx_GetText__Stub(
  5674. IRpcStubBuffer *This,
  5675. IRpcChannelBuffer *_pRpcChannelBuffer,
  5676. PRPC_MESSAGE _pRpcMessage,
  5677. DWORD *_pdwStubPhase);
  5678. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemObjectEx_SetFromText__Proxy(
  5679. ISWbemObjectEx * This,
  5680. /* [in] */ BSTR bsText,
  5681. /* [in] */ WbemObjectTextFormatEnum iObjectTextFormat,
  5682. /* [defaultvalue][in] */ long iFlags,
  5683. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet);
  5684. void __RPC_STUB ISWbemObjectEx_SetFromText__Stub(
  5685. IRpcStubBuffer *This,
  5686. IRpcChannelBuffer *_pRpcChannelBuffer,
  5687. PRPC_MESSAGE _pRpcMessage,
  5688. DWORD *_pdwStubPhase);
  5689. #endif /* __ISWbemObjectEx_INTERFACE_DEFINED__ */
  5690. #ifndef __ISWbemDateTime_INTERFACE_DEFINED__
  5691. #define __ISWbemDateTime_INTERFACE_DEFINED__
  5692. /* interface ISWbemDateTime */
  5693. /* [helpstring][nonextensible][dual][oleautomation][uuid][local][object] */
  5694. EXTERN_C const IID IID_ISWbemDateTime;
  5695. #if defined(__cplusplus) && !defined(CINTERFACE)
  5696. MIDL_INTERFACE("5E97458A-CF77-11d3-B38F-00105A1F473A")
  5697. ISWbemDateTime : public IDispatch
  5698. {
  5699. public:
  5700. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Value(
  5701. /* [retval][out] */ BSTR *strValue) = 0;
  5702. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Value(
  5703. /* [in] */ BSTR strValue) = 0;
  5704. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Year(
  5705. /* [retval][out] */ long *iYear) = 0;
  5706. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Year(
  5707. /* [in] */ long iYear) = 0;
  5708. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_YearSpecified(
  5709. /* [retval][out] */ VARIANT_BOOL *bYearSpecified) = 0;
  5710. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_YearSpecified(
  5711. /* [in] */ VARIANT_BOOL bYearSpecified) = 0;
  5712. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Month(
  5713. /* [retval][out] */ long *iMonth) = 0;
  5714. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Month(
  5715. /* [in] */ long iMonth) = 0;
  5716. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_MonthSpecified(
  5717. /* [retval][out] */ VARIANT_BOOL *bMonthSpecified) = 0;
  5718. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_MonthSpecified(
  5719. /* [in] */ VARIANT_BOOL bMonthSpecified) = 0;
  5720. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Day(
  5721. /* [retval][out] */ long *iDay) = 0;
  5722. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Day(
  5723. /* [in] */ long iDay) = 0;
  5724. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_DaySpecified(
  5725. /* [retval][out] */ VARIANT_BOOL *bDaySpecified) = 0;
  5726. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_DaySpecified(
  5727. /* [in] */ VARIANT_BOOL bDaySpecified) = 0;
  5728. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Hours(
  5729. /* [retval][out] */ long *iHours) = 0;
  5730. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Hours(
  5731. /* [in] */ long iHours) = 0;
  5732. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_HoursSpecified(
  5733. /* [retval][out] */ VARIANT_BOOL *bHoursSpecified) = 0;
  5734. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_HoursSpecified(
  5735. /* [in] */ VARIANT_BOOL bHoursSpecified) = 0;
  5736. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Minutes(
  5737. /* [retval][out] */ long *iMinutes) = 0;
  5738. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Minutes(
  5739. /* [in] */ long iMinutes) = 0;
  5740. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_MinutesSpecified(
  5741. /* [retval][out] */ VARIANT_BOOL *bMinutesSpecified) = 0;
  5742. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_MinutesSpecified(
  5743. /* [in] */ VARIANT_BOOL bMinutesSpecified) = 0;
  5744. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Seconds(
  5745. /* [retval][out] */ long *iSeconds) = 0;
  5746. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Seconds(
  5747. /* [in] */ long iSeconds) = 0;
  5748. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_SecondsSpecified(
  5749. /* [retval][out] */ VARIANT_BOOL *bSecondsSpecified) = 0;
  5750. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_SecondsSpecified(
  5751. /* [in] */ VARIANT_BOOL bSecondsSpecified) = 0;
  5752. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Microseconds(
  5753. /* [retval][out] */ long *iMicroseconds) = 0;
  5754. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Microseconds(
  5755. /* [in] */ long iMicroseconds) = 0;
  5756. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_MicrosecondsSpecified(
  5757. /* [retval][out] */ VARIANT_BOOL *bMicrosecondsSpecified) = 0;
  5758. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_MicrosecondsSpecified(
  5759. /* [in] */ VARIANT_BOOL bMicrosecondsSpecified) = 0;
  5760. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_UTC(
  5761. /* [retval][out] */ long *iUTC) = 0;
  5762. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_UTC(
  5763. /* [in] */ long iUTC) = 0;
  5764. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_UTCSpecified(
  5765. /* [retval][out] */ VARIANT_BOOL *bUTCSpecified) = 0;
  5766. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_UTCSpecified(
  5767. /* [in] */ VARIANT_BOOL bUTCSpecified) = 0;
  5768. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_IsInterval(
  5769. /* [retval][out] */ VARIANT_BOOL *bIsInterval) = 0;
  5770. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_IsInterval(
  5771. /* [in] */ VARIANT_BOOL bIsInterval) = 0;
  5772. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetVarDate(
  5773. /* [defaultvalue][in] */ VARIANT_BOOL bIsLocal,
  5774. /* [retval][out] */ DATE *dVarDate) = 0;
  5775. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetVarDate(
  5776. /* [in] */ DATE dVarDate,
  5777. /* [defaultvalue][in] */ VARIANT_BOOL bIsLocal = TRUE) = 0;
  5778. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetFileTime(
  5779. /* [defaultvalue][in] */ VARIANT_BOOL bIsLocal,
  5780. /* [retval][out] */ BSTR *strFileTime) = 0;
  5781. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetFileTime(
  5782. /* [in] */ BSTR strFileTime,
  5783. /* [defaultvalue][in] */ VARIANT_BOOL bIsLocal = TRUE) = 0;
  5784. };
  5785. #else /* C style interface */
  5786. typedef struct ISWbemDateTimeVtbl
  5787. {
  5788. BEGIN_INTERFACE
  5789. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5790. ISWbemDateTime * This,
  5791. /* [in] */ REFIID riid,
  5792. /* [iid_is][out] */ void **ppvObject);
  5793. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5794. ISWbemDateTime * This);
  5795. ULONG ( STDMETHODCALLTYPE *Release )(
  5796. ISWbemDateTime * This);
  5797. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  5798. ISWbemDateTime * This,
  5799. /* [out] */ UINT *pctinfo);
  5800. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  5801. ISWbemDateTime * This,
  5802. /* [in] */ UINT iTInfo,
  5803. /* [in] */ LCID lcid,
  5804. /* [out] */ ITypeInfo **ppTInfo);
  5805. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  5806. ISWbemDateTime * This,
  5807. /* [in] */ REFIID riid,
  5808. /* [size_is][in] */ LPOLESTR *rgszNames,
  5809. /* [in] */ UINT cNames,
  5810. /* [in] */ LCID lcid,
  5811. /* [size_is][out] */ DISPID *rgDispId);
  5812. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  5813. ISWbemDateTime * This,
  5814. /* [in] */ DISPID dispIdMember,
  5815. /* [in] */ REFIID riid,
  5816. /* [in] */ LCID lcid,
  5817. /* [in] */ WORD wFlags,
  5818. /* [out][in] */ DISPPARAMS *pDispParams,
  5819. /* [out] */ VARIANT *pVarResult,
  5820. /* [out] */ EXCEPINFO *pExcepInfo,
  5821. /* [out] */ UINT *puArgErr);
  5822. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Value )(
  5823. ISWbemDateTime * This,
  5824. /* [retval][out] */ BSTR *strValue);
  5825. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Value )(
  5826. ISWbemDateTime * This,
  5827. /* [in] */ BSTR strValue);
  5828. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Year )(
  5829. ISWbemDateTime * This,
  5830. /* [retval][out] */ long *iYear);
  5831. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Year )(
  5832. ISWbemDateTime * This,
  5833. /* [in] */ long iYear);
  5834. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_YearSpecified )(
  5835. ISWbemDateTime * This,
  5836. /* [retval][out] */ VARIANT_BOOL *bYearSpecified);
  5837. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_YearSpecified )(
  5838. ISWbemDateTime * This,
  5839. /* [in] */ VARIANT_BOOL bYearSpecified);
  5840. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Month )(
  5841. ISWbemDateTime * This,
  5842. /* [retval][out] */ long *iMonth);
  5843. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Month )(
  5844. ISWbemDateTime * This,
  5845. /* [in] */ long iMonth);
  5846. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_MonthSpecified )(
  5847. ISWbemDateTime * This,
  5848. /* [retval][out] */ VARIANT_BOOL *bMonthSpecified);
  5849. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_MonthSpecified )(
  5850. ISWbemDateTime * This,
  5851. /* [in] */ VARIANT_BOOL bMonthSpecified);
  5852. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Day )(
  5853. ISWbemDateTime * This,
  5854. /* [retval][out] */ long *iDay);
  5855. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Day )(
  5856. ISWbemDateTime * This,
  5857. /* [in] */ long iDay);
  5858. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_DaySpecified )(
  5859. ISWbemDateTime * This,
  5860. /* [retval][out] */ VARIANT_BOOL *bDaySpecified);
  5861. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_DaySpecified )(
  5862. ISWbemDateTime * This,
  5863. /* [in] */ VARIANT_BOOL bDaySpecified);
  5864. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Hours )(
  5865. ISWbemDateTime * This,
  5866. /* [retval][out] */ long *iHours);
  5867. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Hours )(
  5868. ISWbemDateTime * This,
  5869. /* [in] */ long iHours);
  5870. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_HoursSpecified )(
  5871. ISWbemDateTime * This,
  5872. /* [retval][out] */ VARIANT_BOOL *bHoursSpecified);
  5873. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_HoursSpecified )(
  5874. ISWbemDateTime * This,
  5875. /* [in] */ VARIANT_BOOL bHoursSpecified);
  5876. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Minutes )(
  5877. ISWbemDateTime * This,
  5878. /* [retval][out] */ long *iMinutes);
  5879. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Minutes )(
  5880. ISWbemDateTime * This,
  5881. /* [in] */ long iMinutes);
  5882. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_MinutesSpecified )(
  5883. ISWbemDateTime * This,
  5884. /* [retval][out] */ VARIANT_BOOL *bMinutesSpecified);
  5885. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_MinutesSpecified )(
  5886. ISWbemDateTime * This,
  5887. /* [in] */ VARIANT_BOOL bMinutesSpecified);
  5888. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Seconds )(
  5889. ISWbemDateTime * This,
  5890. /* [retval][out] */ long *iSeconds);
  5891. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Seconds )(
  5892. ISWbemDateTime * This,
  5893. /* [in] */ long iSeconds);
  5894. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_SecondsSpecified )(
  5895. ISWbemDateTime * This,
  5896. /* [retval][out] */ VARIANT_BOOL *bSecondsSpecified);
  5897. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_SecondsSpecified )(
  5898. ISWbemDateTime * This,
  5899. /* [in] */ VARIANT_BOOL bSecondsSpecified);
  5900. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Microseconds )(
  5901. ISWbemDateTime * This,
  5902. /* [retval][out] */ long *iMicroseconds);
  5903. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Microseconds )(
  5904. ISWbemDateTime * This,
  5905. /* [in] */ long iMicroseconds);
  5906. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_MicrosecondsSpecified )(
  5907. ISWbemDateTime * This,
  5908. /* [retval][out] */ VARIANT_BOOL *bMicrosecondsSpecified);
  5909. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_MicrosecondsSpecified )(
  5910. ISWbemDateTime * This,
  5911. /* [in] */ VARIANT_BOOL bMicrosecondsSpecified);
  5912. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_UTC )(
  5913. ISWbemDateTime * This,
  5914. /* [retval][out] */ long *iUTC);
  5915. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_UTC )(
  5916. ISWbemDateTime * This,
  5917. /* [in] */ long iUTC);
  5918. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_UTCSpecified )(
  5919. ISWbemDateTime * This,
  5920. /* [retval][out] */ VARIANT_BOOL *bUTCSpecified);
  5921. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_UTCSpecified )(
  5922. ISWbemDateTime * This,
  5923. /* [in] */ VARIANT_BOOL bUTCSpecified);
  5924. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_IsInterval )(
  5925. ISWbemDateTime * This,
  5926. /* [retval][out] */ VARIANT_BOOL *bIsInterval);
  5927. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_IsInterval )(
  5928. ISWbemDateTime * This,
  5929. /* [in] */ VARIANT_BOOL bIsInterval);
  5930. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetVarDate )(
  5931. ISWbemDateTime * This,
  5932. /* [defaultvalue][in] */ VARIANT_BOOL bIsLocal,
  5933. /* [retval][out] */ DATE *dVarDate);
  5934. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetVarDate )(
  5935. ISWbemDateTime * This,
  5936. /* [in] */ DATE dVarDate,
  5937. /* [defaultvalue][in] */ VARIANT_BOOL bIsLocal);
  5938. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetFileTime )(
  5939. ISWbemDateTime * This,
  5940. /* [defaultvalue][in] */ VARIANT_BOOL bIsLocal,
  5941. /* [retval][out] */ BSTR *strFileTime);
  5942. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetFileTime )(
  5943. ISWbemDateTime * This,
  5944. /* [in] */ BSTR strFileTime,
  5945. /* [defaultvalue][in] */ VARIANT_BOOL bIsLocal);
  5946. END_INTERFACE
  5947. } ISWbemDateTimeVtbl;
  5948. interface ISWbemDateTime
  5949. {
  5950. CONST_VTBL struct ISWbemDateTimeVtbl *lpVtbl;
  5951. };
  5952. #ifdef COBJMACROS
  5953. #define ISWbemDateTime_QueryInterface(This,riid,ppvObject) \
  5954. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5955. #define ISWbemDateTime_AddRef(This) \
  5956. (This)->lpVtbl -> AddRef(This)
  5957. #define ISWbemDateTime_Release(This) \
  5958. (This)->lpVtbl -> Release(This)
  5959. #define ISWbemDateTime_GetTypeInfoCount(This,pctinfo) \
  5960. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5961. #define ISWbemDateTime_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5962. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5963. #define ISWbemDateTime_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5964. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5965. #define ISWbemDateTime_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5966. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5967. #define ISWbemDateTime_get_Value(This,strValue) \
  5968. (This)->lpVtbl -> get_Value(This,strValue)
  5969. #define ISWbemDateTime_put_Value(This,strValue) \
  5970. (This)->lpVtbl -> put_Value(This,strValue)
  5971. #define ISWbemDateTime_get_Year(This,iYear) \
  5972. (This)->lpVtbl -> get_Year(This,iYear)
  5973. #define ISWbemDateTime_put_Year(This,iYear) \
  5974. (This)->lpVtbl -> put_Year(This,iYear)
  5975. #define ISWbemDateTime_get_YearSpecified(This,bYearSpecified) \
  5976. (This)->lpVtbl -> get_YearSpecified(This,bYearSpecified)
  5977. #define ISWbemDateTime_put_YearSpecified(This,bYearSpecified) \
  5978. (This)->lpVtbl -> put_YearSpecified(This,bYearSpecified)
  5979. #define ISWbemDateTime_get_Month(This,iMonth) \
  5980. (This)->lpVtbl -> get_Month(This,iMonth)
  5981. #define ISWbemDateTime_put_Month(This,iMonth) \
  5982. (This)->lpVtbl -> put_Month(This,iMonth)
  5983. #define ISWbemDateTime_get_MonthSpecified(This,bMonthSpecified) \
  5984. (This)->lpVtbl -> get_MonthSpecified(This,bMonthSpecified)
  5985. #define ISWbemDateTime_put_MonthSpecified(This,bMonthSpecified) \
  5986. (This)->lpVtbl -> put_MonthSpecified(This,bMonthSpecified)
  5987. #define ISWbemDateTime_get_Day(This,iDay) \
  5988. (This)->lpVtbl -> get_Day(This,iDay)
  5989. #define ISWbemDateTime_put_Day(This,iDay) \
  5990. (This)->lpVtbl -> put_Day(This,iDay)
  5991. #define ISWbemDateTime_get_DaySpecified(This,bDaySpecified) \
  5992. (This)->lpVtbl -> get_DaySpecified(This,bDaySpecified)
  5993. #define ISWbemDateTime_put_DaySpecified(This,bDaySpecified) \
  5994. (This)->lpVtbl -> put_DaySpecified(This,bDaySpecified)
  5995. #define ISWbemDateTime_get_Hours(This,iHours) \
  5996. (This)->lpVtbl -> get_Hours(This,iHours)
  5997. #define ISWbemDateTime_put_Hours(This,iHours) \
  5998. (This)->lpVtbl -> put_Hours(This,iHours)
  5999. #define ISWbemDateTime_get_HoursSpecified(This,bHoursSpecified) \
  6000. (This)->lpVtbl -> get_HoursSpecified(This,bHoursSpecified)
  6001. #define ISWbemDateTime_put_HoursSpecified(This,bHoursSpecified) \
  6002. (This)->lpVtbl -> put_HoursSpecified(This,bHoursSpecified)
  6003. #define ISWbemDateTime_get_Minutes(This,iMinutes) \
  6004. (This)->lpVtbl -> get_Minutes(This,iMinutes)
  6005. #define ISWbemDateTime_put_Minutes(This,iMinutes) \
  6006. (This)->lpVtbl -> put_Minutes(This,iMinutes)
  6007. #define ISWbemDateTime_get_MinutesSpecified(This,bMinutesSpecified) \
  6008. (This)->lpVtbl -> get_MinutesSpecified(This,bMinutesSpecified)
  6009. #define ISWbemDateTime_put_MinutesSpecified(This,bMinutesSpecified) \
  6010. (This)->lpVtbl -> put_MinutesSpecified(This,bMinutesSpecified)
  6011. #define ISWbemDateTime_get_Seconds(This,iSeconds) \
  6012. (This)->lpVtbl -> get_Seconds(This,iSeconds)
  6013. #define ISWbemDateTime_put_Seconds(This,iSeconds) \
  6014. (This)->lpVtbl -> put_Seconds(This,iSeconds)
  6015. #define ISWbemDateTime_get_SecondsSpecified(This,bSecondsSpecified) \
  6016. (This)->lpVtbl -> get_SecondsSpecified(This,bSecondsSpecified)
  6017. #define ISWbemDateTime_put_SecondsSpecified(This,bSecondsSpecified) \
  6018. (This)->lpVtbl -> put_SecondsSpecified(This,bSecondsSpecified)
  6019. #define ISWbemDateTime_get_Microseconds(This,iMicroseconds) \
  6020. (This)->lpVtbl -> get_Microseconds(This,iMicroseconds)
  6021. #define ISWbemDateTime_put_Microseconds(This,iMicroseconds) \
  6022. (This)->lpVtbl -> put_Microseconds(This,iMicroseconds)
  6023. #define ISWbemDateTime_get_MicrosecondsSpecified(This,bMicrosecondsSpecified) \
  6024. (This)->lpVtbl -> get_MicrosecondsSpecified(This,bMicrosecondsSpecified)
  6025. #define ISWbemDateTime_put_MicrosecondsSpecified(This,bMicrosecondsSpecified) \
  6026. (This)->lpVtbl -> put_MicrosecondsSpecified(This,bMicrosecondsSpecified)
  6027. #define ISWbemDateTime_get_UTC(This,iUTC) \
  6028. (This)->lpVtbl -> get_UTC(This,iUTC)
  6029. #define ISWbemDateTime_put_UTC(This,iUTC) \
  6030. (This)->lpVtbl -> put_UTC(This,iUTC)
  6031. #define ISWbemDateTime_get_UTCSpecified(This,bUTCSpecified) \
  6032. (This)->lpVtbl -> get_UTCSpecified(This,bUTCSpecified)
  6033. #define ISWbemDateTime_put_UTCSpecified(This,bUTCSpecified) \
  6034. (This)->lpVtbl -> put_UTCSpecified(This,bUTCSpecified)
  6035. #define ISWbemDateTime_get_IsInterval(This,bIsInterval) \
  6036. (This)->lpVtbl -> get_IsInterval(This,bIsInterval)
  6037. #define ISWbemDateTime_put_IsInterval(This,bIsInterval) \
  6038. (This)->lpVtbl -> put_IsInterval(This,bIsInterval)
  6039. #define ISWbemDateTime_GetVarDate(This,bIsLocal,dVarDate) \
  6040. (This)->lpVtbl -> GetVarDate(This,bIsLocal,dVarDate)
  6041. #define ISWbemDateTime_SetVarDate(This,dVarDate,bIsLocal) \
  6042. (This)->lpVtbl -> SetVarDate(This,dVarDate,bIsLocal)
  6043. #define ISWbemDateTime_GetFileTime(This,bIsLocal,strFileTime) \
  6044. (This)->lpVtbl -> GetFileTime(This,bIsLocal,strFileTime)
  6045. #define ISWbemDateTime_SetFileTime(This,strFileTime,bIsLocal) \
  6046. (This)->lpVtbl -> SetFileTime(This,strFileTime,bIsLocal)
  6047. #endif /* COBJMACROS */
  6048. #endif /* C style interface */
  6049. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_get_Value_Proxy(
  6050. ISWbemDateTime * This,
  6051. /* [retval][out] */ BSTR *strValue);
  6052. void __RPC_STUB ISWbemDateTime_get_Value_Stub(
  6053. IRpcStubBuffer *This,
  6054. IRpcChannelBuffer *_pRpcChannelBuffer,
  6055. PRPC_MESSAGE _pRpcMessage,
  6056. DWORD *_pdwStubPhase);
  6057. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_put_Value_Proxy(
  6058. ISWbemDateTime * This,
  6059. /* [in] */ BSTR strValue);
  6060. void __RPC_STUB ISWbemDateTime_put_Value_Stub(
  6061. IRpcStubBuffer *This,
  6062. IRpcChannelBuffer *_pRpcChannelBuffer,
  6063. PRPC_MESSAGE _pRpcMessage,
  6064. DWORD *_pdwStubPhase);
  6065. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_get_Year_Proxy(
  6066. ISWbemDateTime * This,
  6067. /* [retval][out] */ long *iYear);
  6068. void __RPC_STUB ISWbemDateTime_get_Year_Stub(
  6069. IRpcStubBuffer *This,
  6070. IRpcChannelBuffer *_pRpcChannelBuffer,
  6071. PRPC_MESSAGE _pRpcMessage,
  6072. DWORD *_pdwStubPhase);
  6073. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_put_Year_Proxy(
  6074. ISWbemDateTime * This,
  6075. /* [in] */ long iYear);
  6076. void __RPC_STUB ISWbemDateTime_put_Year_Stub(
  6077. IRpcStubBuffer *This,
  6078. IRpcChannelBuffer *_pRpcChannelBuffer,
  6079. PRPC_MESSAGE _pRpcMessage,
  6080. DWORD *_pdwStubPhase);
  6081. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_get_YearSpecified_Proxy(
  6082. ISWbemDateTime * This,
  6083. /* [retval][out] */ VARIANT_BOOL *bYearSpecified);
  6084. void __RPC_STUB ISWbemDateTime_get_YearSpecified_Stub(
  6085. IRpcStubBuffer *This,
  6086. IRpcChannelBuffer *_pRpcChannelBuffer,
  6087. PRPC_MESSAGE _pRpcMessage,
  6088. DWORD *_pdwStubPhase);
  6089. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_put_YearSpecified_Proxy(
  6090. ISWbemDateTime * This,
  6091. /* [in] */ VARIANT_BOOL bYearSpecified);
  6092. void __RPC_STUB ISWbemDateTime_put_YearSpecified_Stub(
  6093. IRpcStubBuffer *This,
  6094. IRpcChannelBuffer *_pRpcChannelBuffer,
  6095. PRPC_MESSAGE _pRpcMessage,
  6096. DWORD *_pdwStubPhase);
  6097. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_get_Month_Proxy(
  6098. ISWbemDateTime * This,
  6099. /* [retval][out] */ long *iMonth);
  6100. void __RPC_STUB ISWbemDateTime_get_Month_Stub(
  6101. IRpcStubBuffer *This,
  6102. IRpcChannelBuffer *_pRpcChannelBuffer,
  6103. PRPC_MESSAGE _pRpcMessage,
  6104. DWORD *_pdwStubPhase);
  6105. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_put_Month_Proxy(
  6106. ISWbemDateTime * This,
  6107. /* [in] */ long iMonth);
  6108. void __RPC_STUB ISWbemDateTime_put_Month_Stub(
  6109. IRpcStubBuffer *This,
  6110. IRpcChannelBuffer *_pRpcChannelBuffer,
  6111. PRPC_MESSAGE _pRpcMessage,
  6112. DWORD *_pdwStubPhase);
  6113. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_get_MonthSpecified_Proxy(
  6114. ISWbemDateTime * This,
  6115. /* [retval][out] */ VARIANT_BOOL *bMonthSpecified);
  6116. void __RPC_STUB ISWbemDateTime_get_MonthSpecified_Stub(
  6117. IRpcStubBuffer *This,
  6118. IRpcChannelBuffer *_pRpcChannelBuffer,
  6119. PRPC_MESSAGE _pRpcMessage,
  6120. DWORD *_pdwStubPhase);
  6121. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_put_MonthSpecified_Proxy(
  6122. ISWbemDateTime * This,
  6123. /* [in] */ VARIANT_BOOL bMonthSpecified);
  6124. void __RPC_STUB ISWbemDateTime_put_MonthSpecified_Stub(
  6125. IRpcStubBuffer *This,
  6126. IRpcChannelBuffer *_pRpcChannelBuffer,
  6127. PRPC_MESSAGE _pRpcMessage,
  6128. DWORD *_pdwStubPhase);
  6129. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_get_Day_Proxy(
  6130. ISWbemDateTime * This,
  6131. /* [retval][out] */ long *iDay);
  6132. void __RPC_STUB ISWbemDateTime_get_Day_Stub(
  6133. IRpcStubBuffer *This,
  6134. IRpcChannelBuffer *_pRpcChannelBuffer,
  6135. PRPC_MESSAGE _pRpcMessage,
  6136. DWORD *_pdwStubPhase);
  6137. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_put_Day_Proxy(
  6138. ISWbemDateTime * This,
  6139. /* [in] */ long iDay);
  6140. void __RPC_STUB ISWbemDateTime_put_Day_Stub(
  6141. IRpcStubBuffer *This,
  6142. IRpcChannelBuffer *_pRpcChannelBuffer,
  6143. PRPC_MESSAGE _pRpcMessage,
  6144. DWORD *_pdwStubPhase);
  6145. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_get_DaySpecified_Proxy(
  6146. ISWbemDateTime * This,
  6147. /* [retval][out] */ VARIANT_BOOL *bDaySpecified);
  6148. void __RPC_STUB ISWbemDateTime_get_DaySpecified_Stub(
  6149. IRpcStubBuffer *This,
  6150. IRpcChannelBuffer *_pRpcChannelBuffer,
  6151. PRPC_MESSAGE _pRpcMessage,
  6152. DWORD *_pdwStubPhase);
  6153. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_put_DaySpecified_Proxy(
  6154. ISWbemDateTime * This,
  6155. /* [in] */ VARIANT_BOOL bDaySpecified);
  6156. void __RPC_STUB ISWbemDateTime_put_DaySpecified_Stub(
  6157. IRpcStubBuffer *This,
  6158. IRpcChannelBuffer *_pRpcChannelBuffer,
  6159. PRPC_MESSAGE _pRpcMessage,
  6160. DWORD *_pdwStubPhase);
  6161. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_get_Hours_Proxy(
  6162. ISWbemDateTime * This,
  6163. /* [retval][out] */ long *iHours);
  6164. void __RPC_STUB ISWbemDateTime_get_Hours_Stub(
  6165. IRpcStubBuffer *This,
  6166. IRpcChannelBuffer *_pRpcChannelBuffer,
  6167. PRPC_MESSAGE _pRpcMessage,
  6168. DWORD *_pdwStubPhase);
  6169. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_put_Hours_Proxy(
  6170. ISWbemDateTime * This,
  6171. /* [in] */ long iHours);
  6172. void __RPC_STUB ISWbemDateTime_put_Hours_Stub(
  6173. IRpcStubBuffer *This,
  6174. IRpcChannelBuffer *_pRpcChannelBuffer,
  6175. PRPC_MESSAGE _pRpcMessage,
  6176. DWORD *_pdwStubPhase);
  6177. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_get_HoursSpecified_Proxy(
  6178. ISWbemDateTime * This,
  6179. /* [retval][out] */ VARIANT_BOOL *bHoursSpecified);
  6180. void __RPC_STUB ISWbemDateTime_get_HoursSpecified_Stub(
  6181. IRpcStubBuffer *This,
  6182. IRpcChannelBuffer *_pRpcChannelBuffer,
  6183. PRPC_MESSAGE _pRpcMessage,
  6184. DWORD *_pdwStubPhase);
  6185. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_put_HoursSpecified_Proxy(
  6186. ISWbemDateTime * This,
  6187. /* [in] */ VARIANT_BOOL bHoursSpecified);
  6188. void __RPC_STUB ISWbemDateTime_put_HoursSpecified_Stub(
  6189. IRpcStubBuffer *This,
  6190. IRpcChannelBuffer *_pRpcChannelBuffer,
  6191. PRPC_MESSAGE _pRpcMessage,
  6192. DWORD *_pdwStubPhase);
  6193. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_get_Minutes_Proxy(
  6194. ISWbemDateTime * This,
  6195. /* [retval][out] */ long *iMinutes);
  6196. void __RPC_STUB ISWbemDateTime_get_Minutes_Stub(
  6197. IRpcStubBuffer *This,
  6198. IRpcChannelBuffer *_pRpcChannelBuffer,
  6199. PRPC_MESSAGE _pRpcMessage,
  6200. DWORD *_pdwStubPhase);
  6201. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_put_Minutes_Proxy(
  6202. ISWbemDateTime * This,
  6203. /* [in] */ long iMinutes);
  6204. void __RPC_STUB ISWbemDateTime_put_Minutes_Stub(
  6205. IRpcStubBuffer *This,
  6206. IRpcChannelBuffer *_pRpcChannelBuffer,
  6207. PRPC_MESSAGE _pRpcMessage,
  6208. DWORD *_pdwStubPhase);
  6209. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_get_MinutesSpecified_Proxy(
  6210. ISWbemDateTime * This,
  6211. /* [retval][out] */ VARIANT_BOOL *bMinutesSpecified);
  6212. void __RPC_STUB ISWbemDateTime_get_MinutesSpecified_Stub(
  6213. IRpcStubBuffer *This,
  6214. IRpcChannelBuffer *_pRpcChannelBuffer,
  6215. PRPC_MESSAGE _pRpcMessage,
  6216. DWORD *_pdwStubPhase);
  6217. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_put_MinutesSpecified_Proxy(
  6218. ISWbemDateTime * This,
  6219. /* [in] */ VARIANT_BOOL bMinutesSpecified);
  6220. void __RPC_STUB ISWbemDateTime_put_MinutesSpecified_Stub(
  6221. IRpcStubBuffer *This,
  6222. IRpcChannelBuffer *_pRpcChannelBuffer,
  6223. PRPC_MESSAGE _pRpcMessage,
  6224. DWORD *_pdwStubPhase);
  6225. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_get_Seconds_Proxy(
  6226. ISWbemDateTime * This,
  6227. /* [retval][out] */ long *iSeconds);
  6228. void __RPC_STUB ISWbemDateTime_get_Seconds_Stub(
  6229. IRpcStubBuffer *This,
  6230. IRpcChannelBuffer *_pRpcChannelBuffer,
  6231. PRPC_MESSAGE _pRpcMessage,
  6232. DWORD *_pdwStubPhase);
  6233. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_put_Seconds_Proxy(
  6234. ISWbemDateTime * This,
  6235. /* [in] */ long iSeconds);
  6236. void __RPC_STUB ISWbemDateTime_put_Seconds_Stub(
  6237. IRpcStubBuffer *This,
  6238. IRpcChannelBuffer *_pRpcChannelBuffer,
  6239. PRPC_MESSAGE _pRpcMessage,
  6240. DWORD *_pdwStubPhase);
  6241. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_get_SecondsSpecified_Proxy(
  6242. ISWbemDateTime * This,
  6243. /* [retval][out] */ VARIANT_BOOL *bSecondsSpecified);
  6244. void __RPC_STUB ISWbemDateTime_get_SecondsSpecified_Stub(
  6245. IRpcStubBuffer *This,
  6246. IRpcChannelBuffer *_pRpcChannelBuffer,
  6247. PRPC_MESSAGE _pRpcMessage,
  6248. DWORD *_pdwStubPhase);
  6249. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_put_SecondsSpecified_Proxy(
  6250. ISWbemDateTime * This,
  6251. /* [in] */ VARIANT_BOOL bSecondsSpecified);
  6252. void __RPC_STUB ISWbemDateTime_put_SecondsSpecified_Stub(
  6253. IRpcStubBuffer *This,
  6254. IRpcChannelBuffer *_pRpcChannelBuffer,
  6255. PRPC_MESSAGE _pRpcMessage,
  6256. DWORD *_pdwStubPhase);
  6257. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_get_Microseconds_Proxy(
  6258. ISWbemDateTime * This,
  6259. /* [retval][out] */ long *iMicroseconds);
  6260. void __RPC_STUB ISWbemDateTime_get_Microseconds_Stub(
  6261. IRpcStubBuffer *This,
  6262. IRpcChannelBuffer *_pRpcChannelBuffer,
  6263. PRPC_MESSAGE _pRpcMessage,
  6264. DWORD *_pdwStubPhase);
  6265. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_put_Microseconds_Proxy(
  6266. ISWbemDateTime * This,
  6267. /* [in] */ long iMicroseconds);
  6268. void __RPC_STUB ISWbemDateTime_put_Microseconds_Stub(
  6269. IRpcStubBuffer *This,
  6270. IRpcChannelBuffer *_pRpcChannelBuffer,
  6271. PRPC_MESSAGE _pRpcMessage,
  6272. DWORD *_pdwStubPhase);
  6273. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_get_MicrosecondsSpecified_Proxy(
  6274. ISWbemDateTime * This,
  6275. /* [retval][out] */ VARIANT_BOOL *bMicrosecondsSpecified);
  6276. void __RPC_STUB ISWbemDateTime_get_MicrosecondsSpecified_Stub(
  6277. IRpcStubBuffer *This,
  6278. IRpcChannelBuffer *_pRpcChannelBuffer,
  6279. PRPC_MESSAGE _pRpcMessage,
  6280. DWORD *_pdwStubPhase);
  6281. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_put_MicrosecondsSpecified_Proxy(
  6282. ISWbemDateTime * This,
  6283. /* [in] */ VARIANT_BOOL bMicrosecondsSpecified);
  6284. void __RPC_STUB ISWbemDateTime_put_MicrosecondsSpecified_Stub(
  6285. IRpcStubBuffer *This,
  6286. IRpcChannelBuffer *_pRpcChannelBuffer,
  6287. PRPC_MESSAGE _pRpcMessage,
  6288. DWORD *_pdwStubPhase);
  6289. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_get_UTC_Proxy(
  6290. ISWbemDateTime * This,
  6291. /* [retval][out] */ long *iUTC);
  6292. void __RPC_STUB ISWbemDateTime_get_UTC_Stub(
  6293. IRpcStubBuffer *This,
  6294. IRpcChannelBuffer *_pRpcChannelBuffer,
  6295. PRPC_MESSAGE _pRpcMessage,
  6296. DWORD *_pdwStubPhase);
  6297. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_put_UTC_Proxy(
  6298. ISWbemDateTime * This,
  6299. /* [in] */ long iUTC);
  6300. void __RPC_STUB ISWbemDateTime_put_UTC_Stub(
  6301. IRpcStubBuffer *This,
  6302. IRpcChannelBuffer *_pRpcChannelBuffer,
  6303. PRPC_MESSAGE _pRpcMessage,
  6304. DWORD *_pdwStubPhase);
  6305. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_get_UTCSpecified_Proxy(
  6306. ISWbemDateTime * This,
  6307. /* [retval][out] */ VARIANT_BOOL *bUTCSpecified);
  6308. void __RPC_STUB ISWbemDateTime_get_UTCSpecified_Stub(
  6309. IRpcStubBuffer *This,
  6310. IRpcChannelBuffer *_pRpcChannelBuffer,
  6311. PRPC_MESSAGE _pRpcMessage,
  6312. DWORD *_pdwStubPhase);
  6313. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_put_UTCSpecified_Proxy(
  6314. ISWbemDateTime * This,
  6315. /* [in] */ VARIANT_BOOL bUTCSpecified);
  6316. void __RPC_STUB ISWbemDateTime_put_UTCSpecified_Stub(
  6317. IRpcStubBuffer *This,
  6318. IRpcChannelBuffer *_pRpcChannelBuffer,
  6319. PRPC_MESSAGE _pRpcMessage,
  6320. DWORD *_pdwStubPhase);
  6321. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_get_IsInterval_Proxy(
  6322. ISWbemDateTime * This,
  6323. /* [retval][out] */ VARIANT_BOOL *bIsInterval);
  6324. void __RPC_STUB ISWbemDateTime_get_IsInterval_Stub(
  6325. IRpcStubBuffer *This,
  6326. IRpcChannelBuffer *_pRpcChannelBuffer,
  6327. PRPC_MESSAGE _pRpcMessage,
  6328. DWORD *_pdwStubPhase);
  6329. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_put_IsInterval_Proxy(
  6330. ISWbemDateTime * This,
  6331. /* [in] */ VARIANT_BOOL bIsInterval);
  6332. void __RPC_STUB ISWbemDateTime_put_IsInterval_Stub(
  6333. IRpcStubBuffer *This,
  6334. IRpcChannelBuffer *_pRpcChannelBuffer,
  6335. PRPC_MESSAGE _pRpcMessage,
  6336. DWORD *_pdwStubPhase);
  6337. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_GetVarDate_Proxy(
  6338. ISWbemDateTime * This,
  6339. /* [defaultvalue][in] */ VARIANT_BOOL bIsLocal,
  6340. /* [retval][out] */ DATE *dVarDate);
  6341. void __RPC_STUB ISWbemDateTime_GetVarDate_Stub(
  6342. IRpcStubBuffer *This,
  6343. IRpcChannelBuffer *_pRpcChannelBuffer,
  6344. PRPC_MESSAGE _pRpcMessage,
  6345. DWORD *_pdwStubPhase);
  6346. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_SetVarDate_Proxy(
  6347. ISWbemDateTime * This,
  6348. /* [in] */ DATE dVarDate,
  6349. /* [defaultvalue][in] */ VARIANT_BOOL bIsLocal);
  6350. void __RPC_STUB ISWbemDateTime_SetVarDate_Stub(
  6351. IRpcStubBuffer *This,
  6352. IRpcChannelBuffer *_pRpcChannelBuffer,
  6353. PRPC_MESSAGE _pRpcMessage,
  6354. DWORD *_pdwStubPhase);
  6355. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_GetFileTime_Proxy(
  6356. ISWbemDateTime * This,
  6357. /* [defaultvalue][in] */ VARIANT_BOOL bIsLocal,
  6358. /* [retval][out] */ BSTR *strFileTime);
  6359. void __RPC_STUB ISWbemDateTime_GetFileTime_Stub(
  6360. IRpcStubBuffer *This,
  6361. IRpcChannelBuffer *_pRpcChannelBuffer,
  6362. PRPC_MESSAGE _pRpcMessage,
  6363. DWORD *_pdwStubPhase);
  6364. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemDateTime_SetFileTime_Proxy(
  6365. ISWbemDateTime * This,
  6366. /* [in] */ BSTR strFileTime,
  6367. /* [defaultvalue][in] */ VARIANT_BOOL bIsLocal);
  6368. void __RPC_STUB ISWbemDateTime_SetFileTime_Stub(
  6369. IRpcStubBuffer *This,
  6370. IRpcChannelBuffer *_pRpcChannelBuffer,
  6371. PRPC_MESSAGE _pRpcMessage,
  6372. DWORD *_pdwStubPhase);
  6373. #endif /* __ISWbemDateTime_INTERFACE_DEFINED__ */
  6374. #ifndef __ISWbemRefresher_INTERFACE_DEFINED__
  6375. #define __ISWbemRefresher_INTERFACE_DEFINED__
  6376. /* interface ISWbemRefresher */
  6377. /* [helpstring][nonextensible][dual][oleautomation][uuid][local][object] */
  6378. EXTERN_C const IID IID_ISWbemRefresher;
  6379. #if defined(__cplusplus) && !defined(CINTERFACE)
  6380. MIDL_INTERFACE("14D8250E-D9C2-11d3-B38F-00105A1F473A")
  6381. ISWbemRefresher : public IDispatch
  6382. {
  6383. public:
  6384. virtual /* [restricted][propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  6385. /* [retval][out] */ IUnknown **pUnk) = 0;
  6386. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Item(
  6387. /* [in] */ long iIndex,
  6388. /* [retval][out] */ ISWbemRefreshableItem **objWbemRefreshableItem) = 0;
  6389. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Count(
  6390. /* [retval][out] */ long *iCount) = 0;
  6391. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add(
  6392. /* [in] */ ISWbemServicesEx *objWbemServices,
  6393. /* [in] */ BSTR bsInstancePath,
  6394. /* [defaultvalue][in] */ long iFlags,
  6395. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  6396. /* [retval][out] */ ISWbemRefreshableItem **objWbemRefreshableItem) = 0;
  6397. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddEnum(
  6398. /* [in] */ ISWbemServicesEx *objWbemServices,
  6399. /* [in] */ BSTR bsClassName,
  6400. /* [defaultvalue][in] */ long iFlags,
  6401. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  6402. /* [retval][out] */ ISWbemRefreshableItem **objWbemRefreshableItem) = 0;
  6403. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove(
  6404. /* [in] */ long iIndex,
  6405. /* [defaultvalue][in] */ long iFlags = 0) = 0;
  6406. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh(
  6407. /* [defaultvalue][in] */ long iFlags = 0) = 0;
  6408. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_AutoReconnect(
  6409. /* [retval][out] */ VARIANT_BOOL *bCount) = 0;
  6410. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_AutoReconnect(
  6411. /* [in] */ VARIANT_BOOL bCount) = 0;
  6412. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteAll( void) = 0;
  6413. };
  6414. #else /* C style interface */
  6415. typedef struct ISWbemRefresherVtbl
  6416. {
  6417. BEGIN_INTERFACE
  6418. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  6419. ISWbemRefresher * This,
  6420. /* [in] */ REFIID riid,
  6421. /* [iid_is][out] */ void **ppvObject);
  6422. ULONG ( STDMETHODCALLTYPE *AddRef )(
  6423. ISWbemRefresher * This);
  6424. ULONG ( STDMETHODCALLTYPE *Release )(
  6425. ISWbemRefresher * This);
  6426. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  6427. ISWbemRefresher * This,
  6428. /* [out] */ UINT *pctinfo);
  6429. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  6430. ISWbemRefresher * This,
  6431. /* [in] */ UINT iTInfo,
  6432. /* [in] */ LCID lcid,
  6433. /* [out] */ ITypeInfo **ppTInfo);
  6434. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  6435. ISWbemRefresher * This,
  6436. /* [in] */ REFIID riid,
  6437. /* [size_is][in] */ LPOLESTR *rgszNames,
  6438. /* [in] */ UINT cNames,
  6439. /* [in] */ LCID lcid,
  6440. /* [size_is][out] */ DISPID *rgDispId);
  6441. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  6442. ISWbemRefresher * This,
  6443. /* [in] */ DISPID dispIdMember,
  6444. /* [in] */ REFIID riid,
  6445. /* [in] */ LCID lcid,
  6446. /* [in] */ WORD wFlags,
  6447. /* [out][in] */ DISPPARAMS *pDispParams,
  6448. /* [out] */ VARIANT *pVarResult,
  6449. /* [out] */ EXCEPINFO *pExcepInfo,
  6450. /* [out] */ UINT *puArgErr);
  6451. /* [restricted][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  6452. ISWbemRefresher * This,
  6453. /* [retval][out] */ IUnknown **pUnk);
  6454. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Item )(
  6455. ISWbemRefresher * This,
  6456. /* [in] */ long iIndex,
  6457. /* [retval][out] */ ISWbemRefreshableItem **objWbemRefreshableItem);
  6458. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  6459. ISWbemRefresher * This,
  6460. /* [retval][out] */ long *iCount);
  6461. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )(
  6462. ISWbemRefresher * This,
  6463. /* [in] */ ISWbemServicesEx *objWbemServices,
  6464. /* [in] */ BSTR bsInstancePath,
  6465. /* [defaultvalue][in] */ long iFlags,
  6466. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  6467. /* [retval][out] */ ISWbemRefreshableItem **objWbemRefreshableItem);
  6468. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddEnum )(
  6469. ISWbemRefresher * This,
  6470. /* [in] */ ISWbemServicesEx *objWbemServices,
  6471. /* [in] */ BSTR bsClassName,
  6472. /* [defaultvalue][in] */ long iFlags,
  6473. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  6474. /* [retval][out] */ ISWbemRefreshableItem **objWbemRefreshableItem);
  6475. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
  6476. ISWbemRefresher * This,
  6477. /* [in] */ long iIndex,
  6478. /* [defaultvalue][in] */ long iFlags);
  6479. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )(
  6480. ISWbemRefresher * This,
  6481. /* [defaultvalue][in] */ long iFlags);
  6482. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AutoReconnect )(
  6483. ISWbemRefresher * This,
  6484. /* [retval][out] */ VARIANT_BOOL *bCount);
  6485. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AutoReconnect )(
  6486. ISWbemRefresher * This,
  6487. /* [in] */ VARIANT_BOOL bCount);
  6488. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteAll )(
  6489. ISWbemRefresher * This);
  6490. END_INTERFACE
  6491. } ISWbemRefresherVtbl;
  6492. interface ISWbemRefresher
  6493. {
  6494. CONST_VTBL struct ISWbemRefresherVtbl *lpVtbl;
  6495. };
  6496. #ifdef COBJMACROS
  6497. #define ISWbemRefresher_QueryInterface(This,riid,ppvObject) \
  6498. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6499. #define ISWbemRefresher_AddRef(This) \
  6500. (This)->lpVtbl -> AddRef(This)
  6501. #define ISWbemRefresher_Release(This) \
  6502. (This)->lpVtbl -> Release(This)
  6503. #define ISWbemRefresher_GetTypeInfoCount(This,pctinfo) \
  6504. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  6505. #define ISWbemRefresher_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  6506. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  6507. #define ISWbemRefresher_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  6508. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  6509. #define ISWbemRefresher_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  6510. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  6511. #define ISWbemRefresher_get__NewEnum(This,pUnk) \
  6512. (This)->lpVtbl -> get__NewEnum(This,pUnk)
  6513. #define ISWbemRefresher_Item(This,iIndex,objWbemRefreshableItem) \
  6514. (This)->lpVtbl -> Item(This,iIndex,objWbemRefreshableItem)
  6515. #define ISWbemRefresher_get_Count(This,iCount) \
  6516. (This)->lpVtbl -> get_Count(This,iCount)
  6517. #define ISWbemRefresher_Add(This,objWbemServices,bsInstancePath,iFlags,objWbemNamedValueSet,objWbemRefreshableItem) \
  6518. (This)->lpVtbl -> Add(This,objWbemServices,bsInstancePath,iFlags,objWbemNamedValueSet,objWbemRefreshableItem)
  6519. #define ISWbemRefresher_AddEnum(This,objWbemServices,bsClassName,iFlags,objWbemNamedValueSet,objWbemRefreshableItem) \
  6520. (This)->lpVtbl -> AddEnum(This,objWbemServices,bsClassName,iFlags,objWbemNamedValueSet,objWbemRefreshableItem)
  6521. #define ISWbemRefresher_Remove(This,iIndex,iFlags) \
  6522. (This)->lpVtbl -> Remove(This,iIndex,iFlags)
  6523. #define ISWbemRefresher_Refresh(This,iFlags) \
  6524. (This)->lpVtbl -> Refresh(This,iFlags)
  6525. #define ISWbemRefresher_get_AutoReconnect(This,bCount) \
  6526. (This)->lpVtbl -> get_AutoReconnect(This,bCount)
  6527. #define ISWbemRefresher_put_AutoReconnect(This,bCount) \
  6528. (This)->lpVtbl -> put_AutoReconnect(This,bCount)
  6529. #define ISWbemRefresher_DeleteAll(This) \
  6530. (This)->lpVtbl -> DeleteAll(This)
  6531. #endif /* COBJMACROS */
  6532. #endif /* C style interface */
  6533. /* [restricted][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemRefresher_get__NewEnum_Proxy(
  6534. ISWbemRefresher * This,
  6535. /* [retval][out] */ IUnknown **pUnk);
  6536. void __RPC_STUB ISWbemRefresher_get__NewEnum_Stub(
  6537. IRpcStubBuffer *This,
  6538. IRpcChannelBuffer *_pRpcChannelBuffer,
  6539. PRPC_MESSAGE _pRpcMessage,
  6540. DWORD *_pdwStubPhase);
  6541. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemRefresher_Item_Proxy(
  6542. ISWbemRefresher * This,
  6543. /* [in] */ long iIndex,
  6544. /* [retval][out] */ ISWbemRefreshableItem **objWbemRefreshableItem);
  6545. void __RPC_STUB ISWbemRefresher_Item_Stub(
  6546. IRpcStubBuffer *This,
  6547. IRpcChannelBuffer *_pRpcChannelBuffer,
  6548. PRPC_MESSAGE _pRpcMessage,
  6549. DWORD *_pdwStubPhase);
  6550. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemRefresher_get_Count_Proxy(
  6551. ISWbemRefresher * This,
  6552. /* [retval][out] */ long *iCount);
  6553. void __RPC_STUB ISWbemRefresher_get_Count_Stub(
  6554. IRpcStubBuffer *This,
  6555. IRpcChannelBuffer *_pRpcChannelBuffer,
  6556. PRPC_MESSAGE _pRpcMessage,
  6557. DWORD *_pdwStubPhase);
  6558. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemRefresher_Add_Proxy(
  6559. ISWbemRefresher * This,
  6560. /* [in] */ ISWbemServicesEx *objWbemServices,
  6561. /* [in] */ BSTR bsInstancePath,
  6562. /* [defaultvalue][in] */ long iFlags,
  6563. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  6564. /* [retval][out] */ ISWbemRefreshableItem **objWbemRefreshableItem);
  6565. void __RPC_STUB ISWbemRefresher_Add_Stub(
  6566. IRpcStubBuffer *This,
  6567. IRpcChannelBuffer *_pRpcChannelBuffer,
  6568. PRPC_MESSAGE _pRpcMessage,
  6569. DWORD *_pdwStubPhase);
  6570. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemRefresher_AddEnum_Proxy(
  6571. ISWbemRefresher * This,
  6572. /* [in] */ ISWbemServicesEx *objWbemServices,
  6573. /* [in] */ BSTR bsClassName,
  6574. /* [defaultvalue][in] */ long iFlags,
  6575. /* [defaultvalue][in] */ IDispatch *objWbemNamedValueSet,
  6576. /* [retval][out] */ ISWbemRefreshableItem **objWbemRefreshableItem);
  6577. void __RPC_STUB ISWbemRefresher_AddEnum_Stub(
  6578. IRpcStubBuffer *This,
  6579. IRpcChannelBuffer *_pRpcChannelBuffer,
  6580. PRPC_MESSAGE _pRpcMessage,
  6581. DWORD *_pdwStubPhase);
  6582. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemRefresher_Remove_Proxy(
  6583. ISWbemRefresher * This,
  6584. /* [in] */ long iIndex,
  6585. /* [defaultvalue][in] */ long iFlags);
  6586. void __RPC_STUB ISWbemRefresher_Remove_Stub(
  6587. IRpcStubBuffer *This,
  6588. IRpcChannelBuffer *_pRpcChannelBuffer,
  6589. PRPC_MESSAGE _pRpcMessage,
  6590. DWORD *_pdwStubPhase);
  6591. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemRefresher_Refresh_Proxy(
  6592. ISWbemRefresher * This,
  6593. /* [defaultvalue][in] */ long iFlags);
  6594. void __RPC_STUB ISWbemRefresher_Refresh_Stub(
  6595. IRpcStubBuffer *This,
  6596. IRpcChannelBuffer *_pRpcChannelBuffer,
  6597. PRPC_MESSAGE _pRpcMessage,
  6598. DWORD *_pdwStubPhase);
  6599. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemRefresher_get_AutoReconnect_Proxy(
  6600. ISWbemRefresher * This,
  6601. /* [retval][out] */ VARIANT_BOOL *bCount);
  6602. void __RPC_STUB ISWbemRefresher_get_AutoReconnect_Stub(
  6603. IRpcStubBuffer *This,
  6604. IRpcChannelBuffer *_pRpcChannelBuffer,
  6605. PRPC_MESSAGE _pRpcMessage,
  6606. DWORD *_pdwStubPhase);
  6607. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ISWbemRefresher_put_AutoReconnect_Proxy(
  6608. ISWbemRefresher * This,
  6609. /* [in] */ VARIANT_BOOL bCount);
  6610. void __RPC_STUB ISWbemRefresher_put_AutoReconnect_Stub(
  6611. IRpcStubBuffer *This,
  6612. IRpcChannelBuffer *_pRpcChannelBuffer,
  6613. PRPC_MESSAGE _pRpcMessage,
  6614. DWORD *_pdwStubPhase);
  6615. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemRefresher_DeleteAll_Proxy(
  6616. ISWbemRefresher * This);
  6617. void __RPC_STUB ISWbemRefresher_DeleteAll_Stub(
  6618. IRpcStubBuffer *This,
  6619. IRpcChannelBuffer *_pRpcChannelBuffer,
  6620. PRPC_MESSAGE _pRpcMessage,
  6621. DWORD *_pdwStubPhase);
  6622. #endif /* __ISWbemRefresher_INTERFACE_DEFINED__ */
  6623. #ifndef __ISWbemRefreshableItem_INTERFACE_DEFINED__
  6624. #define __ISWbemRefreshableItem_INTERFACE_DEFINED__
  6625. /* interface ISWbemRefreshableItem */
  6626. /* [helpstring][nonextensible][dual][oleautomation][uuid][local][object] */
  6627. EXTERN_C const IID IID_ISWbemRefreshableItem;
  6628. #if defined(__cplusplus) && !defined(CINTERFACE)
  6629. MIDL_INTERFACE("5AD4BF92-DAAB-11d3-B38F-00105A1F473A")
  6630. ISWbemRefreshableItem : public IDispatch
  6631. {
  6632. public:
  6633. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Index(
  6634. /* [retval][out] */ long *iIndex) = 0;
  6635. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Refresher(
  6636. /* [retval][out] */ ISWbemRefresher **objWbemRefresher) = 0;
  6637. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_IsSet(
  6638. /* [retval][out] */ VARIANT_BOOL *bIsSet) = 0;
  6639. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Object(
  6640. /* [retval][out] */ ISWbemObjectEx **objWbemObject) = 0;
  6641. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_ObjectSet(
  6642. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet) = 0;
  6643. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove(
  6644. /* [defaultvalue][in] */ long iFlags = 0) = 0;
  6645. };
  6646. #else /* C style interface */
  6647. typedef struct ISWbemRefreshableItemVtbl
  6648. {
  6649. BEGIN_INTERFACE
  6650. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  6651. ISWbemRefreshableItem * This,
  6652. /* [in] */ REFIID riid,
  6653. /* [iid_is][out] */ void **ppvObject);
  6654. ULONG ( STDMETHODCALLTYPE *AddRef )(
  6655. ISWbemRefreshableItem * This);
  6656. ULONG ( STDMETHODCALLTYPE *Release )(
  6657. ISWbemRefreshableItem * This);
  6658. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  6659. ISWbemRefreshableItem * This,
  6660. /* [out] */ UINT *pctinfo);
  6661. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  6662. ISWbemRefreshableItem * This,
  6663. /* [in] */ UINT iTInfo,
  6664. /* [in] */ LCID lcid,
  6665. /* [out] */ ITypeInfo **ppTInfo);
  6666. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  6667. ISWbemRefreshableItem * This,
  6668. /* [in] */ REFIID riid,
  6669. /* [size_is][in] */ LPOLESTR *rgszNames,
  6670. /* [in] */ UINT cNames,
  6671. /* [in] */ LCID lcid,
  6672. /* [size_is][out] */ DISPID *rgDispId);
  6673. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  6674. ISWbemRefreshableItem * This,
  6675. /* [in] */ DISPID dispIdMember,
  6676. /* [in] */ REFIID riid,
  6677. /* [in] */ LCID lcid,
  6678. /* [in] */ WORD wFlags,
  6679. /* [out][in] */ DISPPARAMS *pDispParams,
  6680. /* [out] */ VARIANT *pVarResult,
  6681. /* [out] */ EXCEPINFO *pExcepInfo,
  6682. /* [out] */ UINT *puArgErr);
  6683. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Index )(
  6684. ISWbemRefreshableItem * This,
  6685. /* [retval][out] */ long *iIndex);
  6686. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Refresher )(
  6687. ISWbemRefreshableItem * This,
  6688. /* [retval][out] */ ISWbemRefresher **objWbemRefresher);
  6689. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_IsSet )(
  6690. ISWbemRefreshableItem * This,
  6691. /* [retval][out] */ VARIANT_BOOL *bIsSet);
  6692. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Object )(
  6693. ISWbemRefreshableItem * This,
  6694. /* [retval][out] */ ISWbemObjectEx **objWbemObject);
  6695. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ObjectSet )(
  6696. ISWbemRefreshableItem * This,
  6697. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  6698. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
  6699. ISWbemRefreshableItem * This,
  6700. /* [defaultvalue][in] */ long iFlags);
  6701. END_INTERFACE
  6702. } ISWbemRefreshableItemVtbl;
  6703. interface ISWbemRefreshableItem
  6704. {
  6705. CONST_VTBL struct ISWbemRefreshableItemVtbl *lpVtbl;
  6706. };
  6707. #ifdef COBJMACROS
  6708. #define ISWbemRefreshableItem_QueryInterface(This,riid,ppvObject) \
  6709. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6710. #define ISWbemRefreshableItem_AddRef(This) \
  6711. (This)->lpVtbl -> AddRef(This)
  6712. #define ISWbemRefreshableItem_Release(This) \
  6713. (This)->lpVtbl -> Release(This)
  6714. #define ISWbemRefreshableItem_GetTypeInfoCount(This,pctinfo) \
  6715. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  6716. #define ISWbemRefreshableItem_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  6717. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  6718. #define ISWbemRefreshableItem_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  6719. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  6720. #define ISWbemRefreshableItem_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  6721. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  6722. #define ISWbemRefreshableItem_get_Index(This,iIndex) \
  6723. (This)->lpVtbl -> get_Index(This,iIndex)
  6724. #define ISWbemRefreshableItem_get_Refresher(This,objWbemRefresher) \
  6725. (This)->lpVtbl -> get_Refresher(This,objWbemRefresher)
  6726. #define ISWbemRefreshableItem_get_IsSet(This,bIsSet) \
  6727. (This)->lpVtbl -> get_IsSet(This,bIsSet)
  6728. #define ISWbemRefreshableItem_get_Object(This,objWbemObject) \
  6729. (This)->lpVtbl -> get_Object(This,objWbemObject)
  6730. #define ISWbemRefreshableItem_get_ObjectSet(This,objWbemObjectSet) \
  6731. (This)->lpVtbl -> get_ObjectSet(This,objWbemObjectSet)
  6732. #define ISWbemRefreshableItem_Remove(This,iFlags) \
  6733. (This)->lpVtbl -> Remove(This,iFlags)
  6734. #endif /* COBJMACROS */
  6735. #endif /* C style interface */
  6736. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemRefreshableItem_get_Index_Proxy(
  6737. ISWbemRefreshableItem * This,
  6738. /* [retval][out] */ long *iIndex);
  6739. void __RPC_STUB ISWbemRefreshableItem_get_Index_Stub(
  6740. IRpcStubBuffer *This,
  6741. IRpcChannelBuffer *_pRpcChannelBuffer,
  6742. PRPC_MESSAGE _pRpcMessage,
  6743. DWORD *_pdwStubPhase);
  6744. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemRefreshableItem_get_Refresher_Proxy(
  6745. ISWbemRefreshableItem * This,
  6746. /* [retval][out] */ ISWbemRefresher **objWbemRefresher);
  6747. void __RPC_STUB ISWbemRefreshableItem_get_Refresher_Stub(
  6748. IRpcStubBuffer *This,
  6749. IRpcChannelBuffer *_pRpcChannelBuffer,
  6750. PRPC_MESSAGE _pRpcMessage,
  6751. DWORD *_pdwStubPhase);
  6752. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemRefreshableItem_get_IsSet_Proxy(
  6753. ISWbemRefreshableItem * This,
  6754. /* [retval][out] */ VARIANT_BOOL *bIsSet);
  6755. void __RPC_STUB ISWbemRefreshableItem_get_IsSet_Stub(
  6756. IRpcStubBuffer *This,
  6757. IRpcChannelBuffer *_pRpcChannelBuffer,
  6758. PRPC_MESSAGE _pRpcMessage,
  6759. DWORD *_pdwStubPhase);
  6760. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemRefreshableItem_get_Object_Proxy(
  6761. ISWbemRefreshableItem * This,
  6762. /* [retval][out] */ ISWbemObjectEx **objWbemObject);
  6763. void __RPC_STUB ISWbemRefreshableItem_get_Object_Stub(
  6764. IRpcStubBuffer *This,
  6765. IRpcChannelBuffer *_pRpcChannelBuffer,
  6766. PRPC_MESSAGE _pRpcMessage,
  6767. DWORD *_pdwStubPhase);
  6768. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISWbemRefreshableItem_get_ObjectSet_Proxy(
  6769. ISWbemRefreshableItem * This,
  6770. /* [retval][out] */ ISWbemObjectSet **objWbemObjectSet);
  6771. void __RPC_STUB ISWbemRefreshableItem_get_ObjectSet_Stub(
  6772. IRpcStubBuffer *This,
  6773. IRpcChannelBuffer *_pRpcChannelBuffer,
  6774. PRPC_MESSAGE _pRpcMessage,
  6775. DWORD *_pdwStubPhase);
  6776. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISWbemRefreshableItem_Remove_Proxy(
  6777. ISWbemRefreshableItem * This,
  6778. /* [defaultvalue][in] */ long iFlags);
  6779. void __RPC_STUB ISWbemRefreshableItem_Remove_Stub(
  6780. IRpcStubBuffer *This,
  6781. IRpcChannelBuffer *_pRpcChannelBuffer,
  6782. PRPC_MESSAGE _pRpcMessage,
  6783. DWORD *_pdwStubPhase);
  6784. #endif /* __ISWbemRefreshableItem_INTERFACE_DEFINED__ */
  6785. EXTERN_C const CLSID CLSID_SWbemLocator;
  6786. #ifdef __cplusplus
  6787. class DECLSPEC_UUID("76A64158-CB41-11d1-8B02-00600806D9B6")
  6788. SWbemLocator;
  6789. #endif
  6790. EXTERN_C const CLSID CLSID_SWbemNamedValueSet;
  6791. #ifdef __cplusplus
  6792. class DECLSPEC_UUID("9AED384E-CE8B-11d1-8B05-00600806D9B6")
  6793. SWbemNamedValueSet;
  6794. #endif
  6795. EXTERN_C const CLSID CLSID_SWbemObjectPath;
  6796. #ifdef __cplusplus
  6797. class DECLSPEC_UUID("5791BC26-CE9C-11d1-97BF-0000F81E849C")
  6798. SWbemObjectPath;
  6799. #endif
  6800. EXTERN_C const CLSID CLSID_SWbemLastError;
  6801. #ifdef __cplusplus
  6802. class DECLSPEC_UUID("C2FEEEAC-CFCD-11d1-8B05-00600806D9B6")
  6803. SWbemLastError;
  6804. #endif
  6805. EXTERN_C const CLSID CLSID_SWbemSink;
  6806. #ifdef __cplusplus
  6807. class DECLSPEC_UUID("75718C9A-F029-11d1-A1AC-00C04FB6C223")
  6808. SWbemSink;
  6809. #endif
  6810. EXTERN_C const CLSID CLSID_SWbemDateTime;
  6811. #ifdef __cplusplus
  6812. class DECLSPEC_UUID("47DFBE54-CF76-11d3-B38F-00105A1F473A")
  6813. SWbemDateTime;
  6814. #endif
  6815. EXTERN_C const CLSID CLSID_SWbemRefresher;
  6816. #ifdef __cplusplus
  6817. class DECLSPEC_UUID("D269BF5C-D9C1-11d3-B38F-00105A1F473A")
  6818. SWbemRefresher;
  6819. #endif
  6820. EXTERN_C const CLSID CLSID_SWbemServices;
  6821. #ifdef __cplusplus
  6822. class DECLSPEC_UUID("04B83D63-21AE-11d2-8B33-00600806D9B6")
  6823. SWbemServices;
  6824. #endif
  6825. EXTERN_C const CLSID CLSID_SWbemServicesEx;
  6826. #ifdef __cplusplus
  6827. class DECLSPEC_UUID("62E522DC-8CF3-40a8-8B2E-37D595651E40")
  6828. SWbemServicesEx;
  6829. #endif
  6830. EXTERN_C const CLSID CLSID_SWbemObject;
  6831. #ifdef __cplusplus
  6832. class DECLSPEC_UUID("04B83D62-21AE-11d2-8B33-00600806D9B6")
  6833. SWbemObject;
  6834. #endif
  6835. EXTERN_C const CLSID CLSID_SWbemObjectEx;
  6836. #ifdef __cplusplus
  6837. class DECLSPEC_UUID("D6BDAFB2-9435-491f-BB87-6AA0F0BC31A2")
  6838. SWbemObjectEx;
  6839. #endif
  6840. EXTERN_C const CLSID CLSID_SWbemObjectSet;
  6841. #ifdef __cplusplus
  6842. class DECLSPEC_UUID("04B83D61-21AE-11d2-8B33-00600806D9B6")
  6843. SWbemObjectSet;
  6844. #endif
  6845. EXTERN_C const CLSID CLSID_SWbemNamedValue;
  6846. #ifdef __cplusplus
  6847. class DECLSPEC_UUID("04B83D60-21AE-11d2-8B33-00600806D9B6")
  6848. SWbemNamedValue;
  6849. #endif
  6850. EXTERN_C const CLSID CLSID_SWbemQualifier;
  6851. #ifdef __cplusplus
  6852. class DECLSPEC_UUID("04B83D5F-21AE-11d2-8B33-00600806D9B6")
  6853. SWbemQualifier;
  6854. #endif
  6855. EXTERN_C const CLSID CLSID_SWbemQualifierSet;
  6856. #ifdef __cplusplus
  6857. class DECLSPEC_UUID("04B83D5E-21AE-11d2-8B33-00600806D9B6")
  6858. SWbemQualifierSet;
  6859. #endif
  6860. EXTERN_C const CLSID CLSID_SWbemProperty;
  6861. #ifdef __cplusplus
  6862. class DECLSPEC_UUID("04B83D5D-21AE-11d2-8B33-00600806D9B6")
  6863. SWbemProperty;
  6864. #endif
  6865. EXTERN_C const CLSID CLSID_SWbemPropertySet;
  6866. #ifdef __cplusplus
  6867. class DECLSPEC_UUID("04B83D5C-21AE-11d2-8B33-00600806D9B6")
  6868. SWbemPropertySet;
  6869. #endif
  6870. EXTERN_C const CLSID CLSID_SWbemMethod;
  6871. #ifdef __cplusplus
  6872. class DECLSPEC_UUID("04B83D5B-21AE-11d2-8B33-00600806D9B6")
  6873. SWbemMethod;
  6874. #endif
  6875. EXTERN_C const CLSID CLSID_SWbemMethodSet;
  6876. #ifdef __cplusplus
  6877. class DECLSPEC_UUID("04B83D5A-21AE-11d2-8B33-00600806D9B6")
  6878. SWbemMethodSet;
  6879. #endif
  6880. EXTERN_C const CLSID CLSID_SWbemEventSource;
  6881. #ifdef __cplusplus
  6882. class DECLSPEC_UUID("04B83D58-21AE-11d2-8B33-00600806D9B6")
  6883. SWbemEventSource;
  6884. #endif
  6885. EXTERN_C const CLSID CLSID_SWbemSecurity;
  6886. #ifdef __cplusplus
  6887. class DECLSPEC_UUID("B54D66E9-2287-11d2-8B33-00600806D9B6")
  6888. SWbemSecurity;
  6889. #endif
  6890. EXTERN_C const CLSID CLSID_SWbemPrivilege;
  6891. #ifdef __cplusplus
  6892. class DECLSPEC_UUID("26EE67BC-5804-11d2-8B4A-00600806D9B6")
  6893. SWbemPrivilege;
  6894. #endif
  6895. EXTERN_C const CLSID CLSID_SWbemPrivilegeSet;
  6896. #ifdef __cplusplus
  6897. class DECLSPEC_UUID("26EE67BE-5804-11d2-8B4A-00600806D9B6")
  6898. SWbemPrivilegeSet;
  6899. #endif
  6900. EXTERN_C const CLSID CLSID_SWbemRefreshableItem;
  6901. #ifdef __cplusplus
  6902. class DECLSPEC_UUID("8C6854BC-DE4B-11d3-B390-00105A1F473A")
  6903. SWbemRefreshableItem;
  6904. #endif
  6905. #endif /* __WbemScripting_LIBRARY_DEFINED__ */
  6906. /* interface __MIDL_itf_wbemdisp_0276 */
  6907. /* [local] */
  6908. #define WBEMS_DISPID_OBJECT_READY ( 1 )
  6909. #define WBEMS_DISPID_COMPLETED ( 2 )
  6910. #define WBEMS_DISPID_PROGRESS ( 3 )
  6911. #define WBEMS_DISPID_OBJECT_PUT ( 4 )
  6912. #define WBEMS_DISPID_CONNECTION_READY ( 5 )
  6913. extern RPC_IF_HANDLE __MIDL_itf_wbemdisp_0276_v0_0_c_ifspec;
  6914. extern RPC_IF_HANDLE __MIDL_itf_wbemdisp_0276_v0_0_s_ifspec;
  6915. /* Additional Prototypes for ALL interfaces */
  6916. /* end of Additional Prototypes */
  6917. #ifdef __cplusplus
  6918. }
  6919. #endif
  6920. #endif