Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5647 lines
176 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for wbemcli.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  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 __wbemcli_h__
  27. #define __wbemcli_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IWbemClassObject_FWD_DEFINED__
  33. #define __IWbemClassObject_FWD_DEFINED__
  34. typedef interface IWbemClassObject IWbemClassObject;
  35. #endif /* __IWbemClassObject_FWD_DEFINED__ */
  36. #ifndef __IWbemObjectAccess_FWD_DEFINED__
  37. #define __IWbemObjectAccess_FWD_DEFINED__
  38. typedef interface IWbemObjectAccess IWbemObjectAccess;
  39. #endif /* __IWbemObjectAccess_FWD_DEFINED__ */
  40. #ifndef __IWbemQualifierSet_FWD_DEFINED__
  41. #define __IWbemQualifierSet_FWD_DEFINED__
  42. typedef interface IWbemQualifierSet IWbemQualifierSet;
  43. #endif /* __IWbemQualifierSet_FWD_DEFINED__ */
  44. #ifndef __IWbemServices_FWD_DEFINED__
  45. #define __IWbemServices_FWD_DEFINED__
  46. typedef interface IWbemServices IWbemServices;
  47. #endif /* __IWbemServices_FWD_DEFINED__ */
  48. #ifndef __IWbemLocator_FWD_DEFINED__
  49. #define __IWbemLocator_FWD_DEFINED__
  50. typedef interface IWbemLocator IWbemLocator;
  51. #endif /* __IWbemLocator_FWD_DEFINED__ */
  52. #ifndef __IWbemObjectSink_FWD_DEFINED__
  53. #define __IWbemObjectSink_FWD_DEFINED__
  54. typedef interface IWbemObjectSink IWbemObjectSink;
  55. #endif /* __IWbemObjectSink_FWD_DEFINED__ */
  56. #ifndef __IEnumWbemClassObject_FWD_DEFINED__
  57. #define __IEnumWbemClassObject_FWD_DEFINED__
  58. typedef interface IEnumWbemClassObject IEnumWbemClassObject;
  59. #endif /* __IEnumWbemClassObject_FWD_DEFINED__ */
  60. #ifndef __IWbemCallResult_FWD_DEFINED__
  61. #define __IWbemCallResult_FWD_DEFINED__
  62. typedef interface IWbemCallResult IWbemCallResult;
  63. #endif /* __IWbemCallResult_FWD_DEFINED__ */
  64. #ifndef __IWbemContext_FWD_DEFINED__
  65. #define __IWbemContext_FWD_DEFINED__
  66. typedef interface IWbemContext IWbemContext;
  67. #endif /* __IWbemContext_FWD_DEFINED__ */
  68. #ifndef __IUnsecuredApartment_FWD_DEFINED__
  69. #define __IUnsecuredApartment_FWD_DEFINED__
  70. typedef interface IUnsecuredApartment IUnsecuredApartment;
  71. #endif /* __IUnsecuredApartment_FWD_DEFINED__ */
  72. #ifndef __IWbemUnsecuredApartment_FWD_DEFINED__
  73. #define __IWbemUnsecuredApartment_FWD_DEFINED__
  74. typedef interface IWbemUnsecuredApartment IWbemUnsecuredApartment;
  75. #endif /* __IWbemUnsecuredApartment_FWD_DEFINED__ */
  76. #ifndef __IWbemStatusCodeText_FWD_DEFINED__
  77. #define __IWbemStatusCodeText_FWD_DEFINED__
  78. typedef interface IWbemStatusCodeText IWbemStatusCodeText;
  79. #endif /* __IWbemStatusCodeText_FWD_DEFINED__ */
  80. #ifndef __IWbemBackupRestore_FWD_DEFINED__
  81. #define __IWbemBackupRestore_FWD_DEFINED__
  82. typedef interface IWbemBackupRestore IWbemBackupRestore;
  83. #endif /* __IWbemBackupRestore_FWD_DEFINED__ */
  84. #ifndef __IWbemBackupRestoreEx_FWD_DEFINED__
  85. #define __IWbemBackupRestoreEx_FWD_DEFINED__
  86. typedef interface IWbemBackupRestoreEx IWbemBackupRestoreEx;
  87. #endif /* __IWbemBackupRestoreEx_FWD_DEFINED__ */
  88. #ifndef __IWbemRefresher_FWD_DEFINED__
  89. #define __IWbemRefresher_FWD_DEFINED__
  90. typedef interface IWbemRefresher IWbemRefresher;
  91. #endif /* __IWbemRefresher_FWD_DEFINED__ */
  92. #ifndef __IWbemHiPerfEnum_FWD_DEFINED__
  93. #define __IWbemHiPerfEnum_FWD_DEFINED__
  94. typedef interface IWbemHiPerfEnum IWbemHiPerfEnum;
  95. #endif /* __IWbemHiPerfEnum_FWD_DEFINED__ */
  96. #ifndef __IWbemConfigureRefresher_FWD_DEFINED__
  97. #define __IWbemConfigureRefresher_FWD_DEFINED__
  98. typedef interface IWbemConfigureRefresher IWbemConfigureRefresher;
  99. #endif /* __IWbemConfigureRefresher_FWD_DEFINED__ */
  100. #ifndef __WbemLocator_FWD_DEFINED__
  101. #define __WbemLocator_FWD_DEFINED__
  102. #ifdef __cplusplus
  103. typedef class WbemLocator WbemLocator;
  104. #else
  105. typedef struct WbemLocator WbemLocator;
  106. #endif /* __cplusplus */
  107. #endif /* __WbemLocator_FWD_DEFINED__ */
  108. #ifndef __WbemContext_FWD_DEFINED__
  109. #define __WbemContext_FWD_DEFINED__
  110. #ifdef __cplusplus
  111. typedef class WbemContext WbemContext;
  112. #else
  113. typedef struct WbemContext WbemContext;
  114. #endif /* __cplusplus */
  115. #endif /* __WbemContext_FWD_DEFINED__ */
  116. #ifndef __UnsecuredApartment_FWD_DEFINED__
  117. #define __UnsecuredApartment_FWD_DEFINED__
  118. #ifdef __cplusplus
  119. typedef class UnsecuredApartment UnsecuredApartment;
  120. #else
  121. typedef struct UnsecuredApartment UnsecuredApartment;
  122. #endif /* __cplusplus */
  123. #endif /* __UnsecuredApartment_FWD_DEFINED__ */
  124. #ifndef __WbemClassObject_FWD_DEFINED__
  125. #define __WbemClassObject_FWD_DEFINED__
  126. #ifdef __cplusplus
  127. typedef class WbemClassObject WbemClassObject;
  128. #else
  129. typedef struct WbemClassObject WbemClassObject;
  130. #endif /* __cplusplus */
  131. #endif /* __WbemClassObject_FWD_DEFINED__ */
  132. #ifndef __MofCompiler_FWD_DEFINED__
  133. #define __MofCompiler_FWD_DEFINED__
  134. #ifdef __cplusplus
  135. typedef class MofCompiler MofCompiler;
  136. #else
  137. typedef struct MofCompiler MofCompiler;
  138. #endif /* __cplusplus */
  139. #endif /* __MofCompiler_FWD_DEFINED__ */
  140. #ifndef __WbemStatusCodeText_FWD_DEFINED__
  141. #define __WbemStatusCodeText_FWD_DEFINED__
  142. #ifdef __cplusplus
  143. typedef class WbemStatusCodeText WbemStatusCodeText;
  144. #else
  145. typedef struct WbemStatusCodeText WbemStatusCodeText;
  146. #endif /* __cplusplus */
  147. #endif /* __WbemStatusCodeText_FWD_DEFINED__ */
  148. #ifndef __WbemBackupRestore_FWD_DEFINED__
  149. #define __WbemBackupRestore_FWD_DEFINED__
  150. #ifdef __cplusplus
  151. typedef class WbemBackupRestore WbemBackupRestore;
  152. #else
  153. typedef struct WbemBackupRestore WbemBackupRestore;
  154. #endif /* __cplusplus */
  155. #endif /* __WbemBackupRestore_FWD_DEFINED__ */
  156. #ifndef __WbemRefresher_FWD_DEFINED__
  157. #define __WbemRefresher_FWD_DEFINED__
  158. #ifdef __cplusplus
  159. typedef class WbemRefresher WbemRefresher;
  160. #else
  161. typedef struct WbemRefresher WbemRefresher;
  162. #endif /* __cplusplus */
  163. #endif /* __WbemRefresher_FWD_DEFINED__ */
  164. #ifndef __WbemObjectTextSrc_FWD_DEFINED__
  165. #define __WbemObjectTextSrc_FWD_DEFINED__
  166. #ifdef __cplusplus
  167. typedef class WbemObjectTextSrc WbemObjectTextSrc;
  168. #else
  169. typedef struct WbemObjectTextSrc WbemObjectTextSrc;
  170. #endif /* __cplusplus */
  171. #endif /* __WbemObjectTextSrc_FWD_DEFINED__ */
  172. #ifndef __IWbemClassObject_FWD_DEFINED__
  173. #define __IWbemClassObject_FWD_DEFINED__
  174. typedef interface IWbemClassObject IWbemClassObject;
  175. #endif /* __IWbemClassObject_FWD_DEFINED__ */
  176. #ifndef __IWbemQualifierSet_FWD_DEFINED__
  177. #define __IWbemQualifierSet_FWD_DEFINED__
  178. typedef interface IWbemQualifierSet IWbemQualifierSet;
  179. #endif /* __IWbemQualifierSet_FWD_DEFINED__ */
  180. #ifndef __IWbemLocator_FWD_DEFINED__
  181. #define __IWbemLocator_FWD_DEFINED__
  182. typedef interface IWbemLocator IWbemLocator;
  183. #endif /* __IWbemLocator_FWD_DEFINED__ */
  184. #ifndef __IWbemObjectSink_FWD_DEFINED__
  185. #define __IWbemObjectSink_FWD_DEFINED__
  186. typedef interface IWbemObjectSink IWbemObjectSink;
  187. #endif /* __IWbemObjectSink_FWD_DEFINED__ */
  188. #ifndef __IEnumWbemClassObject_FWD_DEFINED__
  189. #define __IEnumWbemClassObject_FWD_DEFINED__
  190. typedef interface IEnumWbemClassObject IEnumWbemClassObject;
  191. #endif /* __IEnumWbemClassObject_FWD_DEFINED__ */
  192. #ifndef __IWbemContext_FWD_DEFINED__
  193. #define __IWbemContext_FWD_DEFINED__
  194. typedef interface IWbemContext IWbemContext;
  195. #endif /* __IWbemContext_FWD_DEFINED__ */
  196. #ifndef __IWbemCallResult_FWD_DEFINED__
  197. #define __IWbemCallResult_FWD_DEFINED__
  198. typedef interface IWbemCallResult IWbemCallResult;
  199. #endif /* __IWbemCallResult_FWD_DEFINED__ */
  200. #ifndef __IWbemServices_FWD_DEFINED__
  201. #define __IWbemServices_FWD_DEFINED__
  202. typedef interface IWbemServices IWbemServices;
  203. #endif /* __IWbemServices_FWD_DEFINED__ */
  204. #ifndef __IWbemShutdown_FWD_DEFINED__
  205. #define __IWbemShutdown_FWD_DEFINED__
  206. typedef interface IWbemShutdown IWbemShutdown;
  207. #endif /* __IWbemShutdown_FWD_DEFINED__ */
  208. #ifndef __IWbemObjectTextSrc_FWD_DEFINED__
  209. #define __IWbemObjectTextSrc_FWD_DEFINED__
  210. typedef interface IWbemObjectTextSrc IWbemObjectTextSrc;
  211. #endif /* __IWbemObjectTextSrc_FWD_DEFINED__ */
  212. #ifndef __IWbemObjectAccess_FWD_DEFINED__
  213. #define __IWbemObjectAccess_FWD_DEFINED__
  214. typedef interface IWbemObjectAccess IWbemObjectAccess;
  215. #endif /* __IWbemObjectAccess_FWD_DEFINED__ */
  216. #ifndef __IMofCompiler_FWD_DEFINED__
  217. #define __IMofCompiler_FWD_DEFINED__
  218. typedef interface IMofCompiler IMofCompiler;
  219. #endif /* __IMofCompiler_FWD_DEFINED__ */
  220. #ifndef __IUnsecuredApartment_FWD_DEFINED__
  221. #define __IUnsecuredApartment_FWD_DEFINED__
  222. typedef interface IUnsecuredApartment IUnsecuredApartment;
  223. #endif /* __IUnsecuredApartment_FWD_DEFINED__ */
  224. #ifndef __IWbemUnsecuredApartment_FWD_DEFINED__
  225. #define __IWbemUnsecuredApartment_FWD_DEFINED__
  226. typedef interface IWbemUnsecuredApartment IWbemUnsecuredApartment;
  227. #endif /* __IWbemUnsecuredApartment_FWD_DEFINED__ */
  228. #ifndef __IWbemStatusCodeText_FWD_DEFINED__
  229. #define __IWbemStatusCodeText_FWD_DEFINED__
  230. typedef interface IWbemStatusCodeText IWbemStatusCodeText;
  231. #endif /* __IWbemStatusCodeText_FWD_DEFINED__ */
  232. #ifndef __IWbemBackupRestore_FWD_DEFINED__
  233. #define __IWbemBackupRestore_FWD_DEFINED__
  234. typedef interface IWbemBackupRestore IWbemBackupRestore;
  235. #endif /* __IWbemBackupRestore_FWD_DEFINED__ */
  236. #ifndef __IWbemBackupRestoreEx_FWD_DEFINED__
  237. #define __IWbemBackupRestoreEx_FWD_DEFINED__
  238. typedef interface IWbemBackupRestoreEx IWbemBackupRestoreEx;
  239. #endif /* __IWbemBackupRestoreEx_FWD_DEFINED__ */
  240. #ifndef __IWbemRefresher_FWD_DEFINED__
  241. #define __IWbemRefresher_FWD_DEFINED__
  242. typedef interface IWbemRefresher IWbemRefresher;
  243. #endif /* __IWbemRefresher_FWD_DEFINED__ */
  244. #ifndef __IWbemHiPerfEnum_FWD_DEFINED__
  245. #define __IWbemHiPerfEnum_FWD_DEFINED__
  246. typedef interface IWbemHiPerfEnum IWbemHiPerfEnum;
  247. #endif /* __IWbemHiPerfEnum_FWD_DEFINED__ */
  248. #ifndef __IWbemConfigureRefresher_FWD_DEFINED__
  249. #define __IWbemConfigureRefresher_FWD_DEFINED__
  250. typedef interface IWbemConfigureRefresher IWbemConfigureRefresher;
  251. #endif /* __IWbemConfigureRefresher_FWD_DEFINED__ */
  252. #ifdef __cplusplus
  253. extern "C"{
  254. #endif
  255. void * __RPC_USER MIDL_user_allocate(size_t);
  256. void __RPC_USER MIDL_user_free( void * );
  257. #ifndef __WbemClient_v1_LIBRARY_DEFINED__
  258. #define __WbemClient_v1_LIBRARY_DEFINED__
  259. /* library WbemClient_v1 */
  260. /* [uuid] */
  261. typedef /* [v1_enum] */
  262. enum tag_WBEM_GENUS_TYPE
  263. { WBEM_GENUS_CLASS = 1,
  264. WBEM_GENUS_INSTANCE = 2
  265. } WBEM_GENUS_TYPE;
  266. typedef /* [v1_enum] */
  267. enum tag_WBEM_CHANGE_FLAG_TYPE
  268. { WBEM_FLAG_CREATE_OR_UPDATE = 0,
  269. WBEM_FLAG_UPDATE_ONLY = 0x1,
  270. WBEM_FLAG_CREATE_ONLY = 0x2,
  271. WBEM_FLAG_UPDATE_COMPATIBLE = 0,
  272. WBEM_FLAG_UPDATE_SAFE_MODE = 0x20,
  273. WBEM_FLAG_UPDATE_FORCE_MODE = 0x40,
  274. WBEM_MASK_UPDATE_MODE = 0x60,
  275. WBEM_FLAG_ADVISORY = 0x10000
  276. } WBEM_CHANGE_FLAG_TYPE;
  277. typedef /* [v1_enum] */
  278. enum tag_WBEM_GENERIC_FLAG_TYPE
  279. { WBEM_FLAG_RETURN_IMMEDIATELY = 0x10,
  280. WBEM_FLAG_RETURN_WBEM_COMPLETE = 0,
  281. WBEM_FLAG_BIDIRECTIONAL = 0,
  282. WBEM_FLAG_FORWARD_ONLY = 0x20,
  283. WBEM_FLAG_NO_ERROR_OBJECT = 0x40,
  284. WBEM_FLAG_RETURN_ERROR_OBJECT = 0,
  285. WBEM_FLAG_SEND_STATUS = 0x80,
  286. WBEM_FLAG_DONT_SEND_STATUS = 0,
  287. WBEM_FLAG_ENSURE_LOCATABLE = 0x100,
  288. WBEM_FLAG_DIRECT_READ = 0x200,
  289. WBEM_FLAG_SEND_ONLY_SELECTED = 0,
  290. WBEM_RETURN_WHEN_COMPLETE = 0,
  291. WBEM_RETURN_IMMEDIATELY = 0x10,
  292. WBEM_MASK_RESERVED_FLAGS = 0x1f000,
  293. WBEM_FLAG_USE_AMENDED_QUALIFIERS = 0x20000,
  294. WBEM_FLAG_STRONG_VALIDATION = 0x100000
  295. } WBEM_GENERIC_FLAG_TYPE;
  296. typedef
  297. enum tag_WBEM_STATUS_TYPE
  298. { WBEM_STATUS_COMPLETE = 0,
  299. WBEM_STATUS_REQUIREMENTS = 1,
  300. WBEM_STATUS_PROGRESS = 2
  301. } WBEM_STATUS_TYPE;
  302. typedef /* [v1_enum] */
  303. enum tag_WBEM_TIMEOUT_TYPE
  304. { WBEM_NO_WAIT = 0,
  305. WBEM_INFINITE = 0xffffffff
  306. } WBEM_TIMEOUT_TYPE;
  307. typedef /* [v1_enum] */
  308. enum tag_WBEM_CONDITION_FLAG_TYPE
  309. { WBEM_FLAG_ALWAYS = 0,
  310. WBEM_FLAG_ONLY_IF_TRUE = 0x1,
  311. WBEM_FLAG_ONLY_IF_FALSE = 0x2,
  312. WBEM_FLAG_ONLY_IF_IDENTICAL = 0x3,
  313. WBEM_MASK_PRIMARY_CONDITION = 0x3,
  314. WBEM_FLAG_KEYS_ONLY = 0x4,
  315. WBEM_FLAG_REFS_ONLY = 0x8,
  316. WBEM_FLAG_LOCAL_ONLY = 0x10,
  317. WBEM_FLAG_PROPAGATED_ONLY = 0x20,
  318. WBEM_FLAG_SYSTEM_ONLY = 0x30,
  319. WBEM_FLAG_NONSYSTEM_ONLY = 0x40,
  320. WBEM_MASK_CONDITION_ORIGIN = 0x70,
  321. WBEM_FLAG_CLASS_OVERRIDES_ONLY = 0x100,
  322. WBEM_FLAG_CLASS_LOCAL_AND_OVERRIDES = 0x200,
  323. WBEM_MASK_CLASS_CONDITION = 0x300
  324. } WBEM_CONDITION_FLAG_TYPE;
  325. typedef /* [v1_enum] */
  326. enum tag_WBEM_FLAVOR_TYPE
  327. { WBEM_FLAVOR_DONT_PROPAGATE = 0,
  328. WBEM_FLAVOR_FLAG_PROPAGATE_TO_INSTANCE = 0x1,
  329. WBEM_FLAVOR_FLAG_PROPAGATE_TO_DERIVED_CLASS = 0x2,
  330. WBEM_FLAVOR_MASK_PROPAGATION = 0xf,
  331. WBEM_FLAVOR_OVERRIDABLE = 0,
  332. WBEM_FLAVOR_NOT_OVERRIDABLE = 0x10,
  333. WBEM_FLAVOR_MASK_PERMISSIONS = 0x10,
  334. WBEM_FLAVOR_ORIGIN_LOCAL = 0,
  335. WBEM_FLAVOR_ORIGIN_PROPAGATED = 0x20,
  336. WBEM_FLAVOR_ORIGIN_SYSTEM = 0x40,
  337. WBEM_FLAVOR_MASK_ORIGIN = 0x60,
  338. WBEM_FLAVOR_NOT_AMENDED = 0,
  339. WBEM_FLAVOR_AMENDED = 0x80,
  340. WBEM_FLAVOR_MASK_AMENDED = 0x80
  341. } WBEM_FLAVOR_TYPE;
  342. typedef /* [v1_enum] */
  343. enum tag_WBEM_QUERY_FLAG_TYPE
  344. { WBEM_FLAG_DEEP = 0,
  345. WBEM_FLAG_SHALLOW = 1,
  346. WBEM_FLAG_PROTOTYPE = 2
  347. } WBEM_QUERY_FLAG_TYPE;
  348. typedef /* [v1_enum] */
  349. enum tag_WBEM_SECURITY_FLAGS
  350. { WBEM_ENABLE = 1,
  351. WBEM_METHOD_EXECUTE = 2,
  352. WBEM_FULL_WRITE_REP = 4,
  353. WBEM_PARTIAL_WRITE_REP = 8,
  354. WBEM_WRITE_PROVIDER = 0x10,
  355. WBEM_REMOTE_ACCESS = 0x20,
  356. WBEM_RIGHT_SUBSCRIBE = 0x40,
  357. WBEM_RIGHT_PUBLISH = 0x80
  358. } WBEM_SECURITY_FLAGS;
  359. typedef /* [v1_enum] */
  360. enum tag_WBEM_LIMITATION_FLAG_TYPE
  361. { WBEM_FLAG_EXCLUDE_OBJECT_QUALIFIERS = 0x10,
  362. WBEM_FLAG_EXCLUDE_PROPERTY_QUALIFIERS = 0x20
  363. } WBEM_LIMITATION_FLAG_TYPE;
  364. typedef /* [v1_enum] */
  365. enum tag_WBEM_TEXT_FLAG_TYPE
  366. { WBEM_FLAG_NO_FLAVORS = 0x1
  367. } WBEM_TEXT_FLAG_TYPE;
  368. typedef /* [v1_enum] */
  369. enum tag_WBEM_COMPARISON_FLAG
  370. { WBEM_COMPARISON_INCLUDE_ALL = 0,
  371. WBEM_FLAG_IGNORE_QUALIFIERS = 0x1,
  372. WBEM_FLAG_IGNORE_OBJECT_SOURCE = 0x2,
  373. WBEM_FLAG_IGNORE_DEFAULT_VALUES = 0x4,
  374. WBEM_FLAG_IGNORE_CLASS = 0x8,
  375. WBEM_FLAG_IGNORE_CASE = 0x10,
  376. WBEM_FLAG_IGNORE_FLAVOR = 0x20
  377. } WBEM_COMPARISON_FLAG;
  378. typedef /* [v1_enum] */
  379. enum tag_WBEM_LOCKING
  380. { WBEM_FLAG_ALLOW_READ = 0x1
  381. } WBEM_LOCKING_FLAG_TYPE;
  382. typedef /* [v1_enum] */
  383. enum tag_CIMTYPE_ENUMERATION
  384. { CIM_ILLEGAL = 0xfff,
  385. CIM_EMPTY = 0,
  386. CIM_SINT8 = 16,
  387. CIM_UINT8 = 17,
  388. CIM_SINT16 = 2,
  389. CIM_UINT16 = 18,
  390. CIM_SINT32 = 3,
  391. CIM_UINT32 = 19,
  392. CIM_SINT64 = 20,
  393. CIM_UINT64 = 21,
  394. CIM_REAL32 = 4,
  395. CIM_REAL64 = 5,
  396. CIM_BOOLEAN = 11,
  397. CIM_STRING = 8,
  398. CIM_DATETIME = 101,
  399. CIM_REFERENCE = 102,
  400. CIM_CHAR16 = 103,
  401. CIM_OBJECT = 13,
  402. CIM_FLAG_ARRAY = 0x2000
  403. } CIMTYPE_ENUMERATION;
  404. typedef /* [v1_enum] */
  405. enum tag_WBEM_BACKUP_RESTORE_FLAGS
  406. { WBEM_FLAG_BACKUP_RESTORE_DEFAULT = 0,
  407. WBEM_FLAG_BACKUP_RESTORE_FORCE_SHUTDOWN = 1
  408. } WBEM_BACKUP_RESTORE_FLAGS;
  409. typedef /* [v1_enum] */
  410. enum tag_WBEM_REFRESHER_FLAGS
  411. { WBEM_FLAG_REFRESH_AUTO_RECONNECT = 0,
  412. WBEM_FLAG_REFRESH_NO_AUTO_RECONNECT = 1
  413. } WBEM_REFRESHER_FLAGS;
  414. typedef
  415. enum tag_WBEM_SHUTDOWN_FLAGS
  416. { WBEM_SHUTDOWN_UNLOAD_COMPONENT = 1,
  417. WBEM_SHUTDOWN_WMI = 2,
  418. WBEM_SHUTDOWN_OS = 3
  419. } WBEM_SHUTDOWN_FLAGS;
  420. typedef long CIMTYPE;
  421. typedef /* [v1_enum] */
  422. enum tag_WBEMSTATUS_FORMAT
  423. { WBEMSTATUS_FORMAT_NEWLINE = 0,
  424. WBEMSTATUS_FORMAT_NO_NEWLINE = 1
  425. } WBEMSTATUS_FORMAT;
  426. typedef /* [v1_enum] */
  427. enum tag_WBEM_LIMITS
  428. { WBEM_MAX_IDENTIFIER = 0x1000,
  429. WBEM_MAX_QUERY = 0x4000,
  430. WBEM_MAX_PATH = 0x2000,
  431. WBEM_MAX_OBJECT_NESTING = 64,
  432. WBEM_MAX_USER_PROPERTIES = 1024
  433. } WBEM_LIMITS;
  434. typedef /* [v1_enum] */
  435. enum tag_WBEMSTATUS
  436. { WBEM_NO_ERROR = 0,
  437. WBEM_S_NO_ERROR = 0,
  438. WBEM_S_SAME = 0,
  439. WBEM_S_FALSE = 1,
  440. WBEM_S_ALREADY_EXISTS = 0x40001,
  441. WBEM_S_RESET_TO_DEFAULT = 0x40002,
  442. WBEM_S_DIFFERENT = 0x40003,
  443. WBEM_S_TIMEDOUT = 0x40004,
  444. WBEM_S_NO_MORE_DATA = 0x40005,
  445. WBEM_S_OPERATION_CANCELLED = 0x40006,
  446. WBEM_S_PENDING = 0x40007,
  447. WBEM_S_DUPLICATE_OBJECTS = 0x40008,
  448. WBEM_S_ACCESS_DENIED = 0x40009,
  449. WBEM_S_PARTIAL_RESULTS = 0x40010,
  450. WBEM_S_SOURCE_NOT_AVAILABLE = 0x40017,
  451. WBEM_E_FAILED = 0x80041001,
  452. WBEM_E_NOT_FOUND = 0x80041002,
  453. WBEM_E_ACCESS_DENIED = 0x80041003,
  454. WBEM_E_PROVIDER_FAILURE = 0x80041004,
  455. WBEM_E_TYPE_MISMATCH = 0x80041005,
  456. WBEM_E_OUT_OF_MEMORY = 0x80041006,
  457. WBEM_E_INVALID_CONTEXT = 0x80041007,
  458. WBEM_E_INVALID_PARAMETER = 0x80041008,
  459. WBEM_E_NOT_AVAILABLE = 0x80041009,
  460. WBEM_E_CRITICAL_ERROR = 0x8004100a,
  461. WBEM_E_INVALID_STREAM = 0x8004100b,
  462. WBEM_E_NOT_SUPPORTED = 0x8004100c,
  463. WBEM_E_INVALID_SUPERCLASS = 0x8004100d,
  464. WBEM_E_INVALID_NAMESPACE = 0x8004100e,
  465. WBEM_E_INVALID_OBJECT = 0x8004100f,
  466. WBEM_E_INVALID_CLASS = 0x80041010,
  467. WBEM_E_PROVIDER_NOT_FOUND = 0x80041011,
  468. WBEM_E_INVALID_PROVIDER_REGISTRATION = 0x80041012,
  469. WBEM_E_PROVIDER_LOAD_FAILURE = 0x80041013,
  470. WBEM_E_INITIALIZATION_FAILURE = 0x80041014,
  471. WBEM_E_TRANSPORT_FAILURE = 0x80041015,
  472. WBEM_E_INVALID_OPERATION = 0x80041016,
  473. WBEM_E_INVALID_QUERY = 0x80041017,
  474. WBEM_E_INVALID_QUERY_TYPE = 0x80041018,
  475. WBEM_E_ALREADY_EXISTS = 0x80041019,
  476. WBEM_E_OVERRIDE_NOT_ALLOWED = 0x8004101a,
  477. WBEM_E_PROPAGATED_QUALIFIER = 0x8004101b,
  478. WBEM_E_PROPAGATED_PROPERTY = 0x8004101c,
  479. WBEM_E_UNEXPECTED = 0x8004101d,
  480. WBEM_E_ILLEGAL_OPERATION = 0x8004101e,
  481. WBEM_E_CANNOT_BE_KEY = 0x8004101f,
  482. WBEM_E_INCOMPLETE_CLASS = 0x80041020,
  483. WBEM_E_INVALID_SYNTAX = 0x80041021,
  484. WBEM_E_NONDECORATED_OBJECT = 0x80041022,
  485. WBEM_E_READ_ONLY = 0x80041023,
  486. WBEM_E_PROVIDER_NOT_CAPABLE = 0x80041024,
  487. WBEM_E_CLASS_HAS_CHILDREN = 0x80041025,
  488. WBEM_E_CLASS_HAS_INSTANCES = 0x80041026,
  489. WBEM_E_QUERY_NOT_IMPLEMENTED = 0x80041027,
  490. WBEM_E_ILLEGAL_NULL = 0x80041028,
  491. WBEM_E_INVALID_QUALIFIER_TYPE = 0x80041029,
  492. WBEM_E_INVALID_PROPERTY_TYPE = 0x8004102a,
  493. WBEM_E_VALUE_OUT_OF_RANGE = 0x8004102b,
  494. WBEM_E_CANNOT_BE_SINGLETON = 0x8004102c,
  495. WBEM_E_INVALID_CIM_TYPE = 0x8004102d,
  496. WBEM_E_INVALID_METHOD = 0x8004102e,
  497. WBEM_E_INVALID_METHOD_PARAMETERS = 0x8004102f,
  498. WBEM_E_SYSTEM_PROPERTY = 0x80041030,
  499. WBEM_E_INVALID_PROPERTY = 0x80041031,
  500. WBEM_E_CALL_CANCELLED = 0x80041032,
  501. WBEM_E_SHUTTING_DOWN = 0x80041033,
  502. WBEM_E_PROPAGATED_METHOD = 0x80041034,
  503. WBEM_E_UNSUPPORTED_PARAMETER = 0x80041035,
  504. WBEM_E_MISSING_PARAMETER_ID = 0x80041036,
  505. WBEM_E_INVALID_PARAMETER_ID = 0x80041037,
  506. WBEM_E_NONCONSECUTIVE_PARAMETER_IDS = 0x80041038,
  507. WBEM_E_PARAMETER_ID_ON_RETVAL = 0x80041039,
  508. WBEM_E_INVALID_OBJECT_PATH = 0x8004103a,
  509. WBEM_E_OUT_OF_DISK_SPACE = 0x8004103b,
  510. WBEM_E_BUFFER_TOO_SMALL = 0x8004103c,
  511. WBEM_E_UNSUPPORTED_PUT_EXTENSION = 0x8004103d,
  512. WBEM_E_UNKNOWN_OBJECT_TYPE = 0x8004103e,
  513. WBEM_E_UNKNOWN_PACKET_TYPE = 0x8004103f,
  514. WBEM_E_MARSHAL_VERSION_MISMATCH = 0x80041040,
  515. WBEM_E_MARSHAL_INVALID_SIGNATURE = 0x80041041,
  516. WBEM_E_INVALID_QUALIFIER = 0x80041042,
  517. WBEM_E_INVALID_DUPLICATE_PARAMETER = 0x80041043,
  518. WBEM_E_TOO_MUCH_DATA = 0x80041044,
  519. WBEM_E_SERVER_TOO_BUSY = 0x80041045,
  520. WBEM_E_INVALID_FLAVOR = 0x80041046,
  521. WBEM_E_CIRCULAR_REFERENCE = 0x80041047,
  522. WBEM_E_UNSUPPORTED_CLASS_UPDATE = 0x80041048,
  523. WBEM_E_CANNOT_CHANGE_KEY_INHERITANCE = 0x80041049,
  524. WBEM_E_CANNOT_CHANGE_INDEX_INHERITANCE = 0x80041050,
  525. WBEM_E_TOO_MANY_PROPERTIES = 0x80041051,
  526. WBEM_E_UPDATE_TYPE_MISMATCH = 0x80041052,
  527. WBEM_E_UPDATE_OVERRIDE_NOT_ALLOWED = 0x80041053,
  528. WBEM_E_UPDATE_PROPAGATED_METHOD = 0x80041054,
  529. WBEM_E_METHOD_NOT_IMPLEMENTED = 0x80041055,
  530. WBEM_E_METHOD_DISABLED = 0x80041056,
  531. WBEM_E_REFRESHER_BUSY = 0x80041057,
  532. WBEM_E_UNPARSABLE_QUERY = 0x80041058,
  533. WBEM_E_NOT_EVENT_CLASS = 0x80041059,
  534. WBEM_E_MISSING_GROUP_WITHIN = 0x8004105a,
  535. WBEM_E_MISSING_AGGREGATION_LIST = 0x8004105b,
  536. WBEM_E_PROPERTY_NOT_AN_OBJECT = 0x8004105c,
  537. WBEM_E_AGGREGATING_BY_OBJECT = 0x8004105d,
  538. WBEM_E_UNINTERPRETABLE_PROVIDER_QUERY = 0x8004105f,
  539. WBEM_E_BACKUP_RESTORE_WINMGMT_RUNNING = 0x80041060,
  540. WBEM_E_QUEUE_OVERFLOW = 0x80041061,
  541. WBEM_E_PRIVILEGE_NOT_HELD = 0x80041062,
  542. WBEM_E_INVALID_OPERATOR = 0x80041063,
  543. WBEM_E_LOCAL_CREDENTIALS = 0x80041064,
  544. WBEM_E_CANNOT_BE_ABSTRACT = 0x80041065,
  545. WBEM_E_AMENDED_OBJECT = 0x80041066,
  546. WBEM_E_CLIENT_TOO_SLOW = 0x80041067,
  547. WBEM_E_NULL_SECURITY_DESCRIPTOR = 0x80041068,
  548. WBEM_E_TIMED_OUT = 0x80041069,
  549. WBEM_E_INVALID_ASSOCIATION = 0x8004106a,
  550. WBEM_E_AMBIGUOUS_OPERATION = 0x8004106b,
  551. WBEM_E_QUOTA_VIOLATION = 0x8004106c,
  552. WBEM_E_RESERVED_001 = 0x8004106d,
  553. WBEM_E_RESERVED_002 = 0x8004106e,
  554. WBEM_E_UNSUPPORTED_LOCALE = 0x8004106f,
  555. WBEM_E_HANDLE_OUT_OF_DATE = 0x80041070,
  556. WBEM_E_CONNECTION_FAILED = 0x80041071,
  557. WBEM_E_INVALID_HANDLE_REQUEST = 0x80041072,
  558. WBEM_E_PROPERTY_NAME_TOO_WIDE = 0x80041073,
  559. WBEM_E_CLASS_NAME_TOO_WIDE = 0x80041074,
  560. WBEM_E_METHOD_NAME_TOO_WIDE = 0x80041075,
  561. WBEM_E_QUALIFIER_NAME_TOO_WIDE = 0x80041076,
  562. WBEM_E_RERUN_COMMAND = 0x80041077,
  563. WBEM_E_DATABASE_VER_MISMATCH = 0x80041078,
  564. WBEM_E_VETO_DELETE = 0x80041079,
  565. WBEM_E_VETO_PUT = 0x8004107a,
  566. WBEM_E_INVALID_LOCALE = 0x80041080,
  567. WBEM_E_PROVIDER_SUSPENDED = 0x80041081,
  568. WBEM_E_SYNCHRONIZATION_REQUIRED = 0x80041082,
  569. WBEM_E_NO_SCHEMA = 0x80041083,
  570. WBEM_E_PROVIDER_ALREADY_REGISTERED = 0x80041084,
  571. WBEM_E_PROVIDER_NOT_REGISTERED = 0x80041085,
  572. WBEM_E_FATAL_TRANSPORT_ERROR = 0x80041086,
  573. WBEM_E_ENCRYPTED_CONNECTION_REQUIRED = 0x80041087,
  574. WBEM_E_PROVIDER_TIMED_OUT = 0x80041088,
  575. WBEM_E_NO_KEY = 0x80041089,
  576. WBEM_E_PROVIDER_DISABLED = 0x8004108a,
  577. WBEMESS_E_REGISTRATION_TOO_BROAD = 0x80042001,
  578. WBEMESS_E_REGISTRATION_TOO_PRECISE = 0x80042002,
  579. WBEMESS_E_AUTHZ_NOT_PRIVILEGED = 0x80042003,
  580. WBEMMOF_E_EXPECTED_QUALIFIER_NAME = 0x80044001,
  581. WBEMMOF_E_EXPECTED_SEMI = 0x80044002,
  582. WBEMMOF_E_EXPECTED_OPEN_BRACE = 0x80044003,
  583. WBEMMOF_E_EXPECTED_CLOSE_BRACE = 0x80044004,
  584. WBEMMOF_E_EXPECTED_CLOSE_BRACKET = 0x80044005,
  585. WBEMMOF_E_EXPECTED_CLOSE_PAREN = 0x80044006,
  586. WBEMMOF_E_ILLEGAL_CONSTANT_VALUE = 0x80044007,
  587. WBEMMOF_E_EXPECTED_TYPE_IDENTIFIER = 0x80044008,
  588. WBEMMOF_E_EXPECTED_OPEN_PAREN = 0x80044009,
  589. WBEMMOF_E_UNRECOGNIZED_TOKEN = 0x8004400a,
  590. WBEMMOF_E_UNRECOGNIZED_TYPE = 0x8004400b,
  591. WBEMMOF_E_EXPECTED_PROPERTY_NAME = 0x8004400c,
  592. WBEMMOF_E_TYPEDEF_NOT_SUPPORTED = 0x8004400d,
  593. WBEMMOF_E_UNEXPECTED_ALIAS = 0x8004400e,
  594. WBEMMOF_E_UNEXPECTED_ARRAY_INIT = 0x8004400f,
  595. WBEMMOF_E_INVALID_AMENDMENT_SYNTAX = 0x80044010,
  596. WBEMMOF_E_INVALID_DUPLICATE_AMENDMENT = 0x80044011,
  597. WBEMMOF_E_INVALID_PRAGMA = 0x80044012,
  598. WBEMMOF_E_INVALID_NAMESPACE_SYNTAX = 0x80044013,
  599. WBEMMOF_E_EXPECTED_CLASS_NAME = 0x80044014,
  600. WBEMMOF_E_TYPE_MISMATCH = 0x80044015,
  601. WBEMMOF_E_EXPECTED_ALIAS_NAME = 0x80044016,
  602. WBEMMOF_E_INVALID_CLASS_DECLARATION = 0x80044017,
  603. WBEMMOF_E_INVALID_INSTANCE_DECLARATION = 0x80044018,
  604. WBEMMOF_E_EXPECTED_DOLLAR = 0x80044019,
  605. WBEMMOF_E_CIMTYPE_QUALIFIER = 0x8004401a,
  606. WBEMMOF_E_DUPLICATE_PROPERTY = 0x8004401b,
  607. WBEMMOF_E_INVALID_NAMESPACE_SPECIFICATION = 0x8004401c,
  608. WBEMMOF_E_OUT_OF_RANGE = 0x8004401d,
  609. WBEMMOF_E_INVALID_FILE = 0x8004401e,
  610. WBEMMOF_E_ALIASES_IN_EMBEDDED = 0x8004401f,
  611. WBEMMOF_E_NULL_ARRAY_ELEM = 0x80044020,
  612. WBEMMOF_E_DUPLICATE_QUALIFIER = 0x80044021,
  613. WBEMMOF_E_EXPECTED_FLAVOR_TYPE = 0x80044022,
  614. WBEMMOF_E_INCOMPATIBLE_FLAVOR_TYPES = 0x80044023,
  615. WBEMMOF_E_MULTIPLE_ALIASES = 0x80044024,
  616. WBEMMOF_E_INCOMPATIBLE_FLAVOR_TYPES2 = 0x80044025,
  617. WBEMMOF_E_NO_ARRAYS_RETURNED = 0x80044026,
  618. WBEMMOF_E_MUST_BE_IN_OR_OUT = 0x80044027,
  619. WBEMMOF_E_INVALID_FLAGS_SYNTAX = 0x80044028,
  620. WBEMMOF_E_EXPECTED_BRACE_OR_BAD_TYPE = 0x80044029,
  621. WBEMMOF_E_UNSUPPORTED_CIMV22_QUAL_VALUE = 0x8004402a,
  622. WBEMMOF_E_UNSUPPORTED_CIMV22_DATA_TYPE = 0x8004402b,
  623. WBEMMOF_E_INVALID_DELETEINSTANCE_SYNTAX = 0x8004402c,
  624. WBEMMOF_E_INVALID_QUALIFIER_SYNTAX = 0x8004402d,
  625. WBEMMOF_E_QUALIFIER_USED_OUTSIDE_SCOPE = 0x8004402e,
  626. WBEMMOF_E_ERROR_CREATING_TEMP_FILE = 0x8004402f,
  627. WBEMMOF_E_ERROR_INVALID_INCLUDE_FILE = 0x80044030,
  628. WBEMMOF_E_INVALID_DELETECLASS_SYNTAX = 0x80044031
  629. } WBEMSTATUS;
  630. EXTERN_C const IID LIBID_WbemClient_v1;
  631. #ifndef __IWbemClassObject_INTERFACE_DEFINED__
  632. #define __IWbemClassObject_INTERFACE_DEFINED__
  633. /* interface IWbemClassObject */
  634. /* [uuid][object][restricted][local] */
  635. EXTERN_C const IID IID_IWbemClassObject;
  636. #if defined(__cplusplus) && !defined(CINTERFACE)
  637. MIDL_INTERFACE("dc12a681-737f-11cf-884d-00aa004b2e24")
  638. IWbemClassObject : public IUnknown
  639. {
  640. public:
  641. virtual HRESULT STDMETHODCALLTYPE GetQualifierSet(
  642. /* [out] */ IWbemQualifierSet **ppQualSet) = 0;
  643. virtual HRESULT STDMETHODCALLTYPE Get(
  644. /* [string][in] */ LPCWSTR wszName,
  645. /* [in] */ long lFlags,
  646. /* [unique][in][out] */ VARIANT *pVal,
  647. /* [unique][in][out] */ CIMTYPE *pType,
  648. /* [unique][in][out] */ long *plFlavor) = 0;
  649. virtual HRESULT STDMETHODCALLTYPE Put(
  650. /* [string][in] */ LPCWSTR wszName,
  651. /* [in] */ long lFlags,
  652. /* [in] */ VARIANT *pVal,
  653. /* [in] */ CIMTYPE Type) = 0;
  654. virtual HRESULT STDMETHODCALLTYPE Delete(
  655. /* [string][in] */ LPCWSTR wszName) = 0;
  656. virtual HRESULT STDMETHODCALLTYPE GetNames(
  657. /* [string][in] */ LPCWSTR wszQualifierName,
  658. /* [in] */ long lFlags,
  659. /* [in] */ VARIANT *pQualifierVal,
  660. /* [out] */ SAFEARRAY * *pNames) = 0;
  661. virtual HRESULT STDMETHODCALLTYPE BeginEnumeration(
  662. /* [in] */ long lEnumFlags) = 0;
  663. virtual HRESULT STDMETHODCALLTYPE Next(
  664. /* [in] */ long lFlags,
  665. /* [unique][in][out] */ BSTR *strName,
  666. /* [unique][in][out] */ VARIANT *pVal,
  667. /* [unique][in][out] */ CIMTYPE *pType,
  668. /* [unique][in][out] */ long *plFlavor) = 0;
  669. virtual HRESULT STDMETHODCALLTYPE EndEnumeration( void) = 0;
  670. virtual HRESULT STDMETHODCALLTYPE GetPropertyQualifierSet(
  671. /* [string][in] */ LPCWSTR wszProperty,
  672. /* [out] */ IWbemQualifierSet **ppQualSet) = 0;
  673. virtual HRESULT STDMETHODCALLTYPE Clone(
  674. /* [out] */ IWbemClassObject **ppCopy) = 0;
  675. virtual HRESULT STDMETHODCALLTYPE GetObjectText(
  676. /* [in] */ long lFlags,
  677. /* [out] */ BSTR *pstrObjectText) = 0;
  678. virtual HRESULT STDMETHODCALLTYPE SpawnDerivedClass(
  679. /* [in] */ long lFlags,
  680. /* [out] */ IWbemClassObject **ppNewClass) = 0;
  681. virtual HRESULT STDMETHODCALLTYPE SpawnInstance(
  682. /* [in] */ long lFlags,
  683. /* [out] */ IWbemClassObject **ppNewInstance) = 0;
  684. virtual HRESULT STDMETHODCALLTYPE CompareTo(
  685. /* [in] */ long lFlags,
  686. /* [in] */ IWbemClassObject *pCompareTo) = 0;
  687. virtual HRESULT STDMETHODCALLTYPE GetPropertyOrigin(
  688. /* [string][in] */ LPCWSTR wszName,
  689. /* [out] */ BSTR *pstrClassName) = 0;
  690. virtual HRESULT STDMETHODCALLTYPE InheritsFrom(
  691. /* [in] */ LPCWSTR strAncestor) = 0;
  692. virtual HRESULT STDMETHODCALLTYPE GetMethod(
  693. /* [string][in] */ LPCWSTR wszName,
  694. /* [in] */ long lFlags,
  695. /* [out] */ IWbemClassObject **ppInSignature,
  696. /* [out] */ IWbemClassObject **ppOutSignature) = 0;
  697. virtual HRESULT STDMETHODCALLTYPE PutMethod(
  698. /* [string][in] */ LPCWSTR wszName,
  699. /* [in] */ long lFlags,
  700. /* [in] */ IWbemClassObject *pInSignature,
  701. /* [in] */ IWbemClassObject *pOutSignature) = 0;
  702. virtual HRESULT STDMETHODCALLTYPE DeleteMethod(
  703. /* [string][in] */ LPCWSTR wszName) = 0;
  704. virtual HRESULT STDMETHODCALLTYPE BeginMethodEnumeration(
  705. /* [in] */ long lEnumFlags) = 0;
  706. virtual HRESULT STDMETHODCALLTYPE NextMethod(
  707. /* [in] */ long lFlags,
  708. /* [unique][in][out] */ BSTR *pstrName,
  709. /* [unique][in][out] */ IWbemClassObject **ppInSignature,
  710. /* [unique][in][out] */ IWbemClassObject **ppOutSignature) = 0;
  711. virtual HRESULT STDMETHODCALLTYPE EndMethodEnumeration( void) = 0;
  712. virtual HRESULT STDMETHODCALLTYPE GetMethodQualifierSet(
  713. /* [string][in] */ LPCWSTR wszMethod,
  714. /* [out] */ IWbemQualifierSet **ppQualSet) = 0;
  715. virtual HRESULT STDMETHODCALLTYPE GetMethodOrigin(
  716. /* [string][in] */ LPCWSTR wszMethodName,
  717. /* [out] */ BSTR *pstrClassName) = 0;
  718. };
  719. #else /* C style interface */
  720. typedef struct IWbemClassObjectVtbl
  721. {
  722. BEGIN_INTERFACE
  723. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  724. IWbemClassObject * This,
  725. /* [in] */ REFIID riid,
  726. /* [iid_is][out] */ void **ppvObject);
  727. ULONG ( STDMETHODCALLTYPE *AddRef )(
  728. IWbemClassObject * This);
  729. ULONG ( STDMETHODCALLTYPE *Release )(
  730. IWbemClassObject * This);
  731. HRESULT ( STDMETHODCALLTYPE *GetQualifierSet )(
  732. IWbemClassObject * This,
  733. /* [out] */ IWbemQualifierSet **ppQualSet);
  734. HRESULT ( STDMETHODCALLTYPE *Get )(
  735. IWbemClassObject * This,
  736. /* [string][in] */ LPCWSTR wszName,
  737. /* [in] */ long lFlags,
  738. /* [unique][in][out] */ VARIANT *pVal,
  739. /* [unique][in][out] */ CIMTYPE *pType,
  740. /* [unique][in][out] */ long *plFlavor);
  741. HRESULT ( STDMETHODCALLTYPE *Put )(
  742. IWbemClassObject * This,
  743. /* [string][in] */ LPCWSTR wszName,
  744. /* [in] */ long lFlags,
  745. /* [in] */ VARIANT *pVal,
  746. /* [in] */ CIMTYPE Type);
  747. HRESULT ( STDMETHODCALLTYPE *Delete )(
  748. IWbemClassObject * This,
  749. /* [string][in] */ LPCWSTR wszName);
  750. HRESULT ( STDMETHODCALLTYPE *GetNames )(
  751. IWbemClassObject * This,
  752. /* [string][in] */ LPCWSTR wszQualifierName,
  753. /* [in] */ long lFlags,
  754. /* [in] */ VARIANT *pQualifierVal,
  755. /* [out] */ SAFEARRAY * *pNames);
  756. HRESULT ( STDMETHODCALLTYPE *BeginEnumeration )(
  757. IWbemClassObject * This,
  758. /* [in] */ long lEnumFlags);
  759. HRESULT ( STDMETHODCALLTYPE *Next )(
  760. IWbemClassObject * This,
  761. /* [in] */ long lFlags,
  762. /* [unique][in][out] */ BSTR *strName,
  763. /* [unique][in][out] */ VARIANT *pVal,
  764. /* [unique][in][out] */ CIMTYPE *pType,
  765. /* [unique][in][out] */ long *plFlavor);
  766. HRESULT ( STDMETHODCALLTYPE *EndEnumeration )(
  767. IWbemClassObject * This);
  768. HRESULT ( STDMETHODCALLTYPE *GetPropertyQualifierSet )(
  769. IWbemClassObject * This,
  770. /* [string][in] */ LPCWSTR wszProperty,
  771. /* [out] */ IWbemQualifierSet **ppQualSet);
  772. HRESULT ( STDMETHODCALLTYPE *Clone )(
  773. IWbemClassObject * This,
  774. /* [out] */ IWbemClassObject **ppCopy);
  775. HRESULT ( STDMETHODCALLTYPE *GetObjectText )(
  776. IWbemClassObject * This,
  777. /* [in] */ long lFlags,
  778. /* [out] */ BSTR *pstrObjectText);
  779. HRESULT ( STDMETHODCALLTYPE *SpawnDerivedClass )(
  780. IWbemClassObject * This,
  781. /* [in] */ long lFlags,
  782. /* [out] */ IWbemClassObject **ppNewClass);
  783. HRESULT ( STDMETHODCALLTYPE *SpawnInstance )(
  784. IWbemClassObject * This,
  785. /* [in] */ long lFlags,
  786. /* [out] */ IWbemClassObject **ppNewInstance);
  787. HRESULT ( STDMETHODCALLTYPE *CompareTo )(
  788. IWbemClassObject * This,
  789. /* [in] */ long lFlags,
  790. /* [in] */ IWbemClassObject *pCompareTo);
  791. HRESULT ( STDMETHODCALLTYPE *GetPropertyOrigin )(
  792. IWbemClassObject * This,
  793. /* [string][in] */ LPCWSTR wszName,
  794. /* [out] */ BSTR *pstrClassName);
  795. HRESULT ( STDMETHODCALLTYPE *InheritsFrom )(
  796. IWbemClassObject * This,
  797. /* [in] */ LPCWSTR strAncestor);
  798. HRESULT ( STDMETHODCALLTYPE *GetMethod )(
  799. IWbemClassObject * This,
  800. /* [string][in] */ LPCWSTR wszName,
  801. /* [in] */ long lFlags,
  802. /* [out] */ IWbemClassObject **ppInSignature,
  803. /* [out] */ IWbemClassObject **ppOutSignature);
  804. HRESULT ( STDMETHODCALLTYPE *PutMethod )(
  805. IWbemClassObject * This,
  806. /* [string][in] */ LPCWSTR wszName,
  807. /* [in] */ long lFlags,
  808. /* [in] */ IWbemClassObject *pInSignature,
  809. /* [in] */ IWbemClassObject *pOutSignature);
  810. HRESULT ( STDMETHODCALLTYPE *DeleteMethod )(
  811. IWbemClassObject * This,
  812. /* [string][in] */ LPCWSTR wszName);
  813. HRESULT ( STDMETHODCALLTYPE *BeginMethodEnumeration )(
  814. IWbemClassObject * This,
  815. /* [in] */ long lEnumFlags);
  816. HRESULT ( STDMETHODCALLTYPE *NextMethod )(
  817. IWbemClassObject * This,
  818. /* [in] */ long lFlags,
  819. /* [unique][in][out] */ BSTR *pstrName,
  820. /* [unique][in][out] */ IWbemClassObject **ppInSignature,
  821. /* [unique][in][out] */ IWbemClassObject **ppOutSignature);
  822. HRESULT ( STDMETHODCALLTYPE *EndMethodEnumeration )(
  823. IWbemClassObject * This);
  824. HRESULT ( STDMETHODCALLTYPE *GetMethodQualifierSet )(
  825. IWbemClassObject * This,
  826. /* [string][in] */ LPCWSTR wszMethod,
  827. /* [out] */ IWbemQualifierSet **ppQualSet);
  828. HRESULT ( STDMETHODCALLTYPE *GetMethodOrigin )(
  829. IWbemClassObject * This,
  830. /* [string][in] */ LPCWSTR wszMethodName,
  831. /* [out] */ BSTR *pstrClassName);
  832. END_INTERFACE
  833. } IWbemClassObjectVtbl;
  834. interface IWbemClassObject
  835. {
  836. CONST_VTBL struct IWbemClassObjectVtbl *lpVtbl;
  837. };
  838. #ifdef COBJMACROS
  839. #define IWbemClassObject_QueryInterface(This,riid,ppvObject) \
  840. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  841. #define IWbemClassObject_AddRef(This) \
  842. (This)->lpVtbl -> AddRef(This)
  843. #define IWbemClassObject_Release(This) \
  844. (This)->lpVtbl -> Release(This)
  845. #define IWbemClassObject_GetQualifierSet(This,ppQualSet) \
  846. (This)->lpVtbl -> GetQualifierSet(This,ppQualSet)
  847. #define IWbemClassObject_Get(This,wszName,lFlags,pVal,pType,plFlavor) \
  848. (This)->lpVtbl -> Get(This,wszName,lFlags,pVal,pType,plFlavor)
  849. #define IWbemClassObject_Put(This,wszName,lFlags,pVal,Type) \
  850. (This)->lpVtbl -> Put(This,wszName,lFlags,pVal,Type)
  851. #define IWbemClassObject_Delete(This,wszName) \
  852. (This)->lpVtbl -> Delete(This,wszName)
  853. #define IWbemClassObject_GetNames(This,wszQualifierName,lFlags,pQualifierVal,pNames) \
  854. (This)->lpVtbl -> GetNames(This,wszQualifierName,lFlags,pQualifierVal,pNames)
  855. #define IWbemClassObject_BeginEnumeration(This,lEnumFlags) \
  856. (This)->lpVtbl -> BeginEnumeration(This,lEnumFlags)
  857. #define IWbemClassObject_Next(This,lFlags,strName,pVal,pType,plFlavor) \
  858. (This)->lpVtbl -> Next(This,lFlags,strName,pVal,pType,plFlavor)
  859. #define IWbemClassObject_EndEnumeration(This) \
  860. (This)->lpVtbl -> EndEnumeration(This)
  861. #define IWbemClassObject_GetPropertyQualifierSet(This,wszProperty,ppQualSet) \
  862. (This)->lpVtbl -> GetPropertyQualifierSet(This,wszProperty,ppQualSet)
  863. #define IWbemClassObject_Clone(This,ppCopy) \
  864. (This)->lpVtbl -> Clone(This,ppCopy)
  865. #define IWbemClassObject_GetObjectText(This,lFlags,pstrObjectText) \
  866. (This)->lpVtbl -> GetObjectText(This,lFlags,pstrObjectText)
  867. #define IWbemClassObject_SpawnDerivedClass(This,lFlags,ppNewClass) \
  868. (This)->lpVtbl -> SpawnDerivedClass(This,lFlags,ppNewClass)
  869. #define IWbemClassObject_SpawnInstance(This,lFlags,ppNewInstance) \
  870. (This)->lpVtbl -> SpawnInstance(This,lFlags,ppNewInstance)
  871. #define IWbemClassObject_CompareTo(This,lFlags,pCompareTo) \
  872. (This)->lpVtbl -> CompareTo(This,lFlags,pCompareTo)
  873. #define IWbemClassObject_GetPropertyOrigin(This,wszName,pstrClassName) \
  874. (This)->lpVtbl -> GetPropertyOrigin(This,wszName,pstrClassName)
  875. #define IWbemClassObject_InheritsFrom(This,strAncestor) \
  876. (This)->lpVtbl -> InheritsFrom(This,strAncestor)
  877. #define IWbemClassObject_GetMethod(This,wszName,lFlags,ppInSignature,ppOutSignature) \
  878. (This)->lpVtbl -> GetMethod(This,wszName,lFlags,ppInSignature,ppOutSignature)
  879. #define IWbemClassObject_PutMethod(This,wszName,lFlags,pInSignature,pOutSignature) \
  880. (This)->lpVtbl -> PutMethod(This,wszName,lFlags,pInSignature,pOutSignature)
  881. #define IWbemClassObject_DeleteMethod(This,wszName) \
  882. (This)->lpVtbl -> DeleteMethod(This,wszName)
  883. #define IWbemClassObject_BeginMethodEnumeration(This,lEnumFlags) \
  884. (This)->lpVtbl -> BeginMethodEnumeration(This,lEnumFlags)
  885. #define IWbemClassObject_NextMethod(This,lFlags,pstrName,ppInSignature,ppOutSignature) \
  886. (This)->lpVtbl -> NextMethod(This,lFlags,pstrName,ppInSignature,ppOutSignature)
  887. #define IWbemClassObject_EndMethodEnumeration(This) \
  888. (This)->lpVtbl -> EndMethodEnumeration(This)
  889. #define IWbemClassObject_GetMethodQualifierSet(This,wszMethod,ppQualSet) \
  890. (This)->lpVtbl -> GetMethodQualifierSet(This,wszMethod,ppQualSet)
  891. #define IWbemClassObject_GetMethodOrigin(This,wszMethodName,pstrClassName) \
  892. (This)->lpVtbl -> GetMethodOrigin(This,wszMethodName,pstrClassName)
  893. #endif /* COBJMACROS */
  894. #endif /* C style interface */
  895. HRESULT STDMETHODCALLTYPE IWbemClassObject_GetQualifierSet_Proxy(
  896. IWbemClassObject * This,
  897. /* [out] */ IWbemQualifierSet **ppQualSet);
  898. void __RPC_STUB IWbemClassObject_GetQualifierSet_Stub(
  899. IRpcStubBuffer *This,
  900. IRpcChannelBuffer *_pRpcChannelBuffer,
  901. PRPC_MESSAGE _pRpcMessage,
  902. DWORD *_pdwStubPhase);
  903. HRESULT STDMETHODCALLTYPE IWbemClassObject_Get_Proxy(
  904. IWbemClassObject * This,
  905. /* [string][in] */ LPCWSTR wszName,
  906. /* [in] */ long lFlags,
  907. /* [unique][in][out] */ VARIANT *pVal,
  908. /* [unique][in][out] */ CIMTYPE *pType,
  909. /* [unique][in][out] */ long *plFlavor);
  910. void __RPC_STUB IWbemClassObject_Get_Stub(
  911. IRpcStubBuffer *This,
  912. IRpcChannelBuffer *_pRpcChannelBuffer,
  913. PRPC_MESSAGE _pRpcMessage,
  914. DWORD *_pdwStubPhase);
  915. HRESULT STDMETHODCALLTYPE IWbemClassObject_Put_Proxy(
  916. IWbemClassObject * This,
  917. /* [string][in] */ LPCWSTR wszName,
  918. /* [in] */ long lFlags,
  919. /* [in] */ VARIANT *pVal,
  920. /* [in] */ CIMTYPE Type);
  921. void __RPC_STUB IWbemClassObject_Put_Stub(
  922. IRpcStubBuffer *This,
  923. IRpcChannelBuffer *_pRpcChannelBuffer,
  924. PRPC_MESSAGE _pRpcMessage,
  925. DWORD *_pdwStubPhase);
  926. HRESULT STDMETHODCALLTYPE IWbemClassObject_Delete_Proxy(
  927. IWbemClassObject * This,
  928. /* [string][in] */ LPCWSTR wszName);
  929. void __RPC_STUB IWbemClassObject_Delete_Stub(
  930. IRpcStubBuffer *This,
  931. IRpcChannelBuffer *_pRpcChannelBuffer,
  932. PRPC_MESSAGE _pRpcMessage,
  933. DWORD *_pdwStubPhase);
  934. HRESULT STDMETHODCALLTYPE IWbemClassObject_GetNames_Proxy(
  935. IWbemClassObject * This,
  936. /* [string][in] */ LPCWSTR wszQualifierName,
  937. /* [in] */ long lFlags,
  938. /* [in] */ VARIANT *pQualifierVal,
  939. /* [out] */ SAFEARRAY * *pNames);
  940. void __RPC_STUB IWbemClassObject_GetNames_Stub(
  941. IRpcStubBuffer *This,
  942. IRpcChannelBuffer *_pRpcChannelBuffer,
  943. PRPC_MESSAGE _pRpcMessage,
  944. DWORD *_pdwStubPhase);
  945. HRESULT STDMETHODCALLTYPE IWbemClassObject_BeginEnumeration_Proxy(
  946. IWbemClassObject * This,
  947. /* [in] */ long lEnumFlags);
  948. void __RPC_STUB IWbemClassObject_BeginEnumeration_Stub(
  949. IRpcStubBuffer *This,
  950. IRpcChannelBuffer *_pRpcChannelBuffer,
  951. PRPC_MESSAGE _pRpcMessage,
  952. DWORD *_pdwStubPhase);
  953. HRESULT STDMETHODCALLTYPE IWbemClassObject_Next_Proxy(
  954. IWbemClassObject * This,
  955. /* [in] */ long lFlags,
  956. /* [unique][in][out] */ BSTR *strName,
  957. /* [unique][in][out] */ VARIANT *pVal,
  958. /* [unique][in][out] */ CIMTYPE *pType,
  959. /* [unique][in][out] */ long *plFlavor);
  960. void __RPC_STUB IWbemClassObject_Next_Stub(
  961. IRpcStubBuffer *This,
  962. IRpcChannelBuffer *_pRpcChannelBuffer,
  963. PRPC_MESSAGE _pRpcMessage,
  964. DWORD *_pdwStubPhase);
  965. HRESULT STDMETHODCALLTYPE IWbemClassObject_EndEnumeration_Proxy(
  966. IWbemClassObject * This);
  967. void __RPC_STUB IWbemClassObject_EndEnumeration_Stub(
  968. IRpcStubBuffer *This,
  969. IRpcChannelBuffer *_pRpcChannelBuffer,
  970. PRPC_MESSAGE _pRpcMessage,
  971. DWORD *_pdwStubPhase);
  972. HRESULT STDMETHODCALLTYPE IWbemClassObject_GetPropertyQualifierSet_Proxy(
  973. IWbemClassObject * This,
  974. /* [string][in] */ LPCWSTR wszProperty,
  975. /* [out] */ IWbemQualifierSet **ppQualSet);
  976. void __RPC_STUB IWbemClassObject_GetPropertyQualifierSet_Stub(
  977. IRpcStubBuffer *This,
  978. IRpcChannelBuffer *_pRpcChannelBuffer,
  979. PRPC_MESSAGE _pRpcMessage,
  980. DWORD *_pdwStubPhase);
  981. HRESULT STDMETHODCALLTYPE IWbemClassObject_Clone_Proxy(
  982. IWbemClassObject * This,
  983. /* [out] */ IWbemClassObject **ppCopy);
  984. void __RPC_STUB IWbemClassObject_Clone_Stub(
  985. IRpcStubBuffer *This,
  986. IRpcChannelBuffer *_pRpcChannelBuffer,
  987. PRPC_MESSAGE _pRpcMessage,
  988. DWORD *_pdwStubPhase);
  989. HRESULT STDMETHODCALLTYPE IWbemClassObject_GetObjectText_Proxy(
  990. IWbemClassObject * This,
  991. /* [in] */ long lFlags,
  992. /* [out] */ BSTR *pstrObjectText);
  993. void __RPC_STUB IWbemClassObject_GetObjectText_Stub(
  994. IRpcStubBuffer *This,
  995. IRpcChannelBuffer *_pRpcChannelBuffer,
  996. PRPC_MESSAGE _pRpcMessage,
  997. DWORD *_pdwStubPhase);
  998. HRESULT STDMETHODCALLTYPE IWbemClassObject_SpawnDerivedClass_Proxy(
  999. IWbemClassObject * This,
  1000. /* [in] */ long lFlags,
  1001. /* [out] */ IWbemClassObject **ppNewClass);
  1002. void __RPC_STUB IWbemClassObject_SpawnDerivedClass_Stub(
  1003. IRpcStubBuffer *This,
  1004. IRpcChannelBuffer *_pRpcChannelBuffer,
  1005. PRPC_MESSAGE _pRpcMessage,
  1006. DWORD *_pdwStubPhase);
  1007. HRESULT STDMETHODCALLTYPE IWbemClassObject_SpawnInstance_Proxy(
  1008. IWbemClassObject * This,
  1009. /* [in] */ long lFlags,
  1010. /* [out] */ IWbemClassObject **ppNewInstance);
  1011. void __RPC_STUB IWbemClassObject_SpawnInstance_Stub(
  1012. IRpcStubBuffer *This,
  1013. IRpcChannelBuffer *_pRpcChannelBuffer,
  1014. PRPC_MESSAGE _pRpcMessage,
  1015. DWORD *_pdwStubPhase);
  1016. HRESULT STDMETHODCALLTYPE IWbemClassObject_CompareTo_Proxy(
  1017. IWbemClassObject * This,
  1018. /* [in] */ long lFlags,
  1019. /* [in] */ IWbemClassObject *pCompareTo);
  1020. void __RPC_STUB IWbemClassObject_CompareTo_Stub(
  1021. IRpcStubBuffer *This,
  1022. IRpcChannelBuffer *_pRpcChannelBuffer,
  1023. PRPC_MESSAGE _pRpcMessage,
  1024. DWORD *_pdwStubPhase);
  1025. HRESULT STDMETHODCALLTYPE IWbemClassObject_GetPropertyOrigin_Proxy(
  1026. IWbemClassObject * This,
  1027. /* [string][in] */ LPCWSTR wszName,
  1028. /* [out] */ BSTR *pstrClassName);
  1029. void __RPC_STUB IWbemClassObject_GetPropertyOrigin_Stub(
  1030. IRpcStubBuffer *This,
  1031. IRpcChannelBuffer *_pRpcChannelBuffer,
  1032. PRPC_MESSAGE _pRpcMessage,
  1033. DWORD *_pdwStubPhase);
  1034. HRESULT STDMETHODCALLTYPE IWbemClassObject_InheritsFrom_Proxy(
  1035. IWbemClassObject * This,
  1036. /* [in] */ LPCWSTR strAncestor);
  1037. void __RPC_STUB IWbemClassObject_InheritsFrom_Stub(
  1038. IRpcStubBuffer *This,
  1039. IRpcChannelBuffer *_pRpcChannelBuffer,
  1040. PRPC_MESSAGE _pRpcMessage,
  1041. DWORD *_pdwStubPhase);
  1042. HRESULT STDMETHODCALLTYPE IWbemClassObject_GetMethod_Proxy(
  1043. IWbemClassObject * This,
  1044. /* [string][in] */ LPCWSTR wszName,
  1045. /* [in] */ long lFlags,
  1046. /* [out] */ IWbemClassObject **ppInSignature,
  1047. /* [out] */ IWbemClassObject **ppOutSignature);
  1048. void __RPC_STUB IWbemClassObject_GetMethod_Stub(
  1049. IRpcStubBuffer *This,
  1050. IRpcChannelBuffer *_pRpcChannelBuffer,
  1051. PRPC_MESSAGE _pRpcMessage,
  1052. DWORD *_pdwStubPhase);
  1053. HRESULT STDMETHODCALLTYPE IWbemClassObject_PutMethod_Proxy(
  1054. IWbemClassObject * This,
  1055. /* [string][in] */ LPCWSTR wszName,
  1056. /* [in] */ long lFlags,
  1057. /* [in] */ IWbemClassObject *pInSignature,
  1058. /* [in] */ IWbemClassObject *pOutSignature);
  1059. void __RPC_STUB IWbemClassObject_PutMethod_Stub(
  1060. IRpcStubBuffer *This,
  1061. IRpcChannelBuffer *_pRpcChannelBuffer,
  1062. PRPC_MESSAGE _pRpcMessage,
  1063. DWORD *_pdwStubPhase);
  1064. HRESULT STDMETHODCALLTYPE IWbemClassObject_DeleteMethod_Proxy(
  1065. IWbemClassObject * This,
  1066. /* [string][in] */ LPCWSTR wszName);
  1067. void __RPC_STUB IWbemClassObject_DeleteMethod_Stub(
  1068. IRpcStubBuffer *This,
  1069. IRpcChannelBuffer *_pRpcChannelBuffer,
  1070. PRPC_MESSAGE _pRpcMessage,
  1071. DWORD *_pdwStubPhase);
  1072. HRESULT STDMETHODCALLTYPE IWbemClassObject_BeginMethodEnumeration_Proxy(
  1073. IWbemClassObject * This,
  1074. /* [in] */ long lEnumFlags);
  1075. void __RPC_STUB IWbemClassObject_BeginMethodEnumeration_Stub(
  1076. IRpcStubBuffer *This,
  1077. IRpcChannelBuffer *_pRpcChannelBuffer,
  1078. PRPC_MESSAGE _pRpcMessage,
  1079. DWORD *_pdwStubPhase);
  1080. HRESULT STDMETHODCALLTYPE IWbemClassObject_NextMethod_Proxy(
  1081. IWbemClassObject * This,
  1082. /* [in] */ long lFlags,
  1083. /* [unique][in][out] */ BSTR *pstrName,
  1084. /* [unique][in][out] */ IWbemClassObject **ppInSignature,
  1085. /* [unique][in][out] */ IWbemClassObject **ppOutSignature);
  1086. void __RPC_STUB IWbemClassObject_NextMethod_Stub(
  1087. IRpcStubBuffer *This,
  1088. IRpcChannelBuffer *_pRpcChannelBuffer,
  1089. PRPC_MESSAGE _pRpcMessage,
  1090. DWORD *_pdwStubPhase);
  1091. HRESULT STDMETHODCALLTYPE IWbemClassObject_EndMethodEnumeration_Proxy(
  1092. IWbemClassObject * This);
  1093. void __RPC_STUB IWbemClassObject_EndMethodEnumeration_Stub(
  1094. IRpcStubBuffer *This,
  1095. IRpcChannelBuffer *_pRpcChannelBuffer,
  1096. PRPC_MESSAGE _pRpcMessage,
  1097. DWORD *_pdwStubPhase);
  1098. HRESULT STDMETHODCALLTYPE IWbemClassObject_GetMethodQualifierSet_Proxy(
  1099. IWbemClassObject * This,
  1100. /* [string][in] */ LPCWSTR wszMethod,
  1101. /* [out] */ IWbemQualifierSet **ppQualSet);
  1102. void __RPC_STUB IWbemClassObject_GetMethodQualifierSet_Stub(
  1103. IRpcStubBuffer *This,
  1104. IRpcChannelBuffer *_pRpcChannelBuffer,
  1105. PRPC_MESSAGE _pRpcMessage,
  1106. DWORD *_pdwStubPhase);
  1107. HRESULT STDMETHODCALLTYPE IWbemClassObject_GetMethodOrigin_Proxy(
  1108. IWbemClassObject * This,
  1109. /* [string][in] */ LPCWSTR wszMethodName,
  1110. /* [out] */ BSTR *pstrClassName);
  1111. void __RPC_STUB IWbemClassObject_GetMethodOrigin_Stub(
  1112. IRpcStubBuffer *This,
  1113. IRpcChannelBuffer *_pRpcChannelBuffer,
  1114. PRPC_MESSAGE _pRpcMessage,
  1115. DWORD *_pdwStubPhase);
  1116. #endif /* __IWbemClassObject_INTERFACE_DEFINED__ */
  1117. #ifndef __IWbemObjectAccess_INTERFACE_DEFINED__
  1118. #define __IWbemObjectAccess_INTERFACE_DEFINED__
  1119. /* interface IWbemObjectAccess */
  1120. /* [uuid][object][restricted][local] */
  1121. EXTERN_C const IID IID_IWbemObjectAccess;
  1122. #if defined(__cplusplus) && !defined(CINTERFACE)
  1123. MIDL_INTERFACE("49353c9a-516b-11d1-aea6-00c04fb68820")
  1124. IWbemObjectAccess : public IWbemClassObject
  1125. {
  1126. public:
  1127. virtual HRESULT STDMETHODCALLTYPE GetPropertyHandle(
  1128. /* [string][in] */ LPCWSTR wszPropertyName,
  1129. /* [out] */ CIMTYPE *pType,
  1130. /* [out] */ long *plHandle) = 0;
  1131. virtual HRESULT STDMETHODCALLTYPE WritePropertyValue(
  1132. /* [in] */ long lHandle,
  1133. /* [in] */ long lNumBytes,
  1134. /* [size_is][in] */ const byte *aData) = 0;
  1135. virtual HRESULT STDMETHODCALLTYPE ReadPropertyValue(
  1136. /* [in] */ long lHandle,
  1137. /* [in] */ long lBufferSize,
  1138. /* [out] */ long *plNumBytes,
  1139. /* [length_is][size_is][out] */ byte *aData) = 0;
  1140. virtual HRESULT STDMETHODCALLTYPE ReadDWORD(
  1141. /* [in] */ long lHandle,
  1142. /* [out] */ DWORD *pdw) = 0;
  1143. virtual HRESULT STDMETHODCALLTYPE WriteDWORD(
  1144. /* [in] */ long lHandle,
  1145. /* [in] */ DWORD dw) = 0;
  1146. virtual HRESULT STDMETHODCALLTYPE ReadQWORD(
  1147. /* [in] */ long lHandle,
  1148. /* [out] */ unsigned __int64 *pqw) = 0;
  1149. virtual HRESULT STDMETHODCALLTYPE WriteQWORD(
  1150. /* [in] */ long lHandle,
  1151. /* [in] */ unsigned __int64 pw) = 0;
  1152. virtual HRESULT STDMETHODCALLTYPE GetPropertyInfoByHandle(
  1153. /* [in] */ long lHandle,
  1154. /* [out] */ BSTR *pstrName,
  1155. /* [out] */ CIMTYPE *pType) = 0;
  1156. virtual HRESULT STDMETHODCALLTYPE Lock(
  1157. /* [in] */ long lFlags) = 0;
  1158. virtual HRESULT STDMETHODCALLTYPE Unlock(
  1159. /* [in] */ long lFlags) = 0;
  1160. };
  1161. #else /* C style interface */
  1162. typedef struct IWbemObjectAccessVtbl
  1163. {
  1164. BEGIN_INTERFACE
  1165. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1166. IWbemObjectAccess * This,
  1167. /* [in] */ REFIID riid,
  1168. /* [iid_is][out] */ void **ppvObject);
  1169. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1170. IWbemObjectAccess * This);
  1171. ULONG ( STDMETHODCALLTYPE *Release )(
  1172. IWbemObjectAccess * This);
  1173. HRESULT ( STDMETHODCALLTYPE *GetQualifierSet )(
  1174. IWbemObjectAccess * This,
  1175. /* [out] */ IWbemQualifierSet **ppQualSet);
  1176. HRESULT ( STDMETHODCALLTYPE *Get )(
  1177. IWbemObjectAccess * This,
  1178. /* [string][in] */ LPCWSTR wszName,
  1179. /* [in] */ long lFlags,
  1180. /* [unique][in][out] */ VARIANT *pVal,
  1181. /* [unique][in][out] */ CIMTYPE *pType,
  1182. /* [unique][in][out] */ long *plFlavor);
  1183. HRESULT ( STDMETHODCALLTYPE *Put )(
  1184. IWbemObjectAccess * This,
  1185. /* [string][in] */ LPCWSTR wszName,
  1186. /* [in] */ long lFlags,
  1187. /* [in] */ VARIANT *pVal,
  1188. /* [in] */ CIMTYPE Type);
  1189. HRESULT ( STDMETHODCALLTYPE *Delete )(
  1190. IWbemObjectAccess * This,
  1191. /* [string][in] */ LPCWSTR wszName);
  1192. HRESULT ( STDMETHODCALLTYPE *GetNames )(
  1193. IWbemObjectAccess * This,
  1194. /* [string][in] */ LPCWSTR wszQualifierName,
  1195. /* [in] */ long lFlags,
  1196. /* [in] */ VARIANT *pQualifierVal,
  1197. /* [out] */ SAFEARRAY * *pNames);
  1198. HRESULT ( STDMETHODCALLTYPE *BeginEnumeration )(
  1199. IWbemObjectAccess * This,
  1200. /* [in] */ long lEnumFlags);
  1201. HRESULT ( STDMETHODCALLTYPE *Next )(
  1202. IWbemObjectAccess * This,
  1203. /* [in] */ long lFlags,
  1204. /* [unique][in][out] */ BSTR *strName,
  1205. /* [unique][in][out] */ VARIANT *pVal,
  1206. /* [unique][in][out] */ CIMTYPE *pType,
  1207. /* [unique][in][out] */ long *plFlavor);
  1208. HRESULT ( STDMETHODCALLTYPE *EndEnumeration )(
  1209. IWbemObjectAccess * This);
  1210. HRESULT ( STDMETHODCALLTYPE *GetPropertyQualifierSet )(
  1211. IWbemObjectAccess * This,
  1212. /* [string][in] */ LPCWSTR wszProperty,
  1213. /* [out] */ IWbemQualifierSet **ppQualSet);
  1214. HRESULT ( STDMETHODCALLTYPE *Clone )(
  1215. IWbemObjectAccess * This,
  1216. /* [out] */ IWbemClassObject **ppCopy);
  1217. HRESULT ( STDMETHODCALLTYPE *GetObjectText )(
  1218. IWbemObjectAccess * This,
  1219. /* [in] */ long lFlags,
  1220. /* [out] */ BSTR *pstrObjectText);
  1221. HRESULT ( STDMETHODCALLTYPE *SpawnDerivedClass )(
  1222. IWbemObjectAccess * This,
  1223. /* [in] */ long lFlags,
  1224. /* [out] */ IWbemClassObject **ppNewClass);
  1225. HRESULT ( STDMETHODCALLTYPE *SpawnInstance )(
  1226. IWbemObjectAccess * This,
  1227. /* [in] */ long lFlags,
  1228. /* [out] */ IWbemClassObject **ppNewInstance);
  1229. HRESULT ( STDMETHODCALLTYPE *CompareTo )(
  1230. IWbemObjectAccess * This,
  1231. /* [in] */ long lFlags,
  1232. /* [in] */ IWbemClassObject *pCompareTo);
  1233. HRESULT ( STDMETHODCALLTYPE *GetPropertyOrigin )(
  1234. IWbemObjectAccess * This,
  1235. /* [string][in] */ LPCWSTR wszName,
  1236. /* [out] */ BSTR *pstrClassName);
  1237. HRESULT ( STDMETHODCALLTYPE *InheritsFrom )(
  1238. IWbemObjectAccess * This,
  1239. /* [in] */ LPCWSTR strAncestor);
  1240. HRESULT ( STDMETHODCALLTYPE *GetMethod )(
  1241. IWbemObjectAccess * This,
  1242. /* [string][in] */ LPCWSTR wszName,
  1243. /* [in] */ long lFlags,
  1244. /* [out] */ IWbemClassObject **ppInSignature,
  1245. /* [out] */ IWbemClassObject **ppOutSignature);
  1246. HRESULT ( STDMETHODCALLTYPE *PutMethod )(
  1247. IWbemObjectAccess * This,
  1248. /* [string][in] */ LPCWSTR wszName,
  1249. /* [in] */ long lFlags,
  1250. /* [in] */ IWbemClassObject *pInSignature,
  1251. /* [in] */ IWbemClassObject *pOutSignature);
  1252. HRESULT ( STDMETHODCALLTYPE *DeleteMethod )(
  1253. IWbemObjectAccess * This,
  1254. /* [string][in] */ LPCWSTR wszName);
  1255. HRESULT ( STDMETHODCALLTYPE *BeginMethodEnumeration )(
  1256. IWbemObjectAccess * This,
  1257. /* [in] */ long lEnumFlags);
  1258. HRESULT ( STDMETHODCALLTYPE *NextMethod )(
  1259. IWbemObjectAccess * This,
  1260. /* [in] */ long lFlags,
  1261. /* [unique][in][out] */ BSTR *pstrName,
  1262. /* [unique][in][out] */ IWbemClassObject **ppInSignature,
  1263. /* [unique][in][out] */ IWbemClassObject **ppOutSignature);
  1264. HRESULT ( STDMETHODCALLTYPE *EndMethodEnumeration )(
  1265. IWbemObjectAccess * This);
  1266. HRESULT ( STDMETHODCALLTYPE *GetMethodQualifierSet )(
  1267. IWbemObjectAccess * This,
  1268. /* [string][in] */ LPCWSTR wszMethod,
  1269. /* [out] */ IWbemQualifierSet **ppQualSet);
  1270. HRESULT ( STDMETHODCALLTYPE *GetMethodOrigin )(
  1271. IWbemObjectAccess * This,
  1272. /* [string][in] */ LPCWSTR wszMethodName,
  1273. /* [out] */ BSTR *pstrClassName);
  1274. HRESULT ( STDMETHODCALLTYPE *GetPropertyHandle )(
  1275. IWbemObjectAccess * This,
  1276. /* [string][in] */ LPCWSTR wszPropertyName,
  1277. /* [out] */ CIMTYPE *pType,
  1278. /* [out] */ long *plHandle);
  1279. HRESULT ( STDMETHODCALLTYPE *WritePropertyValue )(
  1280. IWbemObjectAccess * This,
  1281. /* [in] */ long lHandle,
  1282. /* [in] */ long lNumBytes,
  1283. /* [size_is][in] */ const byte *aData);
  1284. HRESULT ( STDMETHODCALLTYPE *ReadPropertyValue )(
  1285. IWbemObjectAccess * This,
  1286. /* [in] */ long lHandle,
  1287. /* [in] */ long lBufferSize,
  1288. /* [out] */ long *plNumBytes,
  1289. /* [length_is][size_is][out] */ byte *aData);
  1290. HRESULT ( STDMETHODCALLTYPE *ReadDWORD )(
  1291. IWbemObjectAccess * This,
  1292. /* [in] */ long lHandle,
  1293. /* [out] */ DWORD *pdw);
  1294. HRESULT ( STDMETHODCALLTYPE *WriteDWORD )(
  1295. IWbemObjectAccess * This,
  1296. /* [in] */ long lHandle,
  1297. /* [in] */ DWORD dw);
  1298. HRESULT ( STDMETHODCALLTYPE *ReadQWORD )(
  1299. IWbemObjectAccess * This,
  1300. /* [in] */ long lHandle,
  1301. /* [out] */ unsigned __int64 *pqw);
  1302. HRESULT ( STDMETHODCALLTYPE *WriteQWORD )(
  1303. IWbemObjectAccess * This,
  1304. /* [in] */ long lHandle,
  1305. /* [in] */ unsigned __int64 pw);
  1306. HRESULT ( STDMETHODCALLTYPE *GetPropertyInfoByHandle )(
  1307. IWbemObjectAccess * This,
  1308. /* [in] */ long lHandle,
  1309. /* [out] */ BSTR *pstrName,
  1310. /* [out] */ CIMTYPE *pType);
  1311. HRESULT ( STDMETHODCALLTYPE *Lock )(
  1312. IWbemObjectAccess * This,
  1313. /* [in] */ long lFlags);
  1314. HRESULT ( STDMETHODCALLTYPE *Unlock )(
  1315. IWbemObjectAccess * This,
  1316. /* [in] */ long lFlags);
  1317. END_INTERFACE
  1318. } IWbemObjectAccessVtbl;
  1319. interface IWbemObjectAccess
  1320. {
  1321. CONST_VTBL struct IWbemObjectAccessVtbl *lpVtbl;
  1322. };
  1323. #ifdef COBJMACROS
  1324. #define IWbemObjectAccess_QueryInterface(This,riid,ppvObject) \
  1325. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1326. #define IWbemObjectAccess_AddRef(This) \
  1327. (This)->lpVtbl -> AddRef(This)
  1328. #define IWbemObjectAccess_Release(This) \
  1329. (This)->lpVtbl -> Release(This)
  1330. #define IWbemObjectAccess_GetQualifierSet(This,ppQualSet) \
  1331. (This)->lpVtbl -> GetQualifierSet(This,ppQualSet)
  1332. #define IWbemObjectAccess_Get(This,wszName,lFlags,pVal,pType,plFlavor) \
  1333. (This)->lpVtbl -> Get(This,wszName,lFlags,pVal,pType,plFlavor)
  1334. #define IWbemObjectAccess_Put(This,wszName,lFlags,pVal,Type) \
  1335. (This)->lpVtbl -> Put(This,wszName,lFlags,pVal,Type)
  1336. #define IWbemObjectAccess_Delete(This,wszName) \
  1337. (This)->lpVtbl -> Delete(This,wszName)
  1338. #define IWbemObjectAccess_GetNames(This,wszQualifierName,lFlags,pQualifierVal,pNames) \
  1339. (This)->lpVtbl -> GetNames(This,wszQualifierName,lFlags,pQualifierVal,pNames)
  1340. #define IWbemObjectAccess_BeginEnumeration(This,lEnumFlags) \
  1341. (This)->lpVtbl -> BeginEnumeration(This,lEnumFlags)
  1342. #define IWbemObjectAccess_Next(This,lFlags,strName,pVal,pType,plFlavor) \
  1343. (This)->lpVtbl -> Next(This,lFlags,strName,pVal,pType,plFlavor)
  1344. #define IWbemObjectAccess_EndEnumeration(This) \
  1345. (This)->lpVtbl -> EndEnumeration(This)
  1346. #define IWbemObjectAccess_GetPropertyQualifierSet(This,wszProperty,ppQualSet) \
  1347. (This)->lpVtbl -> GetPropertyQualifierSet(This,wszProperty,ppQualSet)
  1348. #define IWbemObjectAccess_Clone(This,ppCopy) \
  1349. (This)->lpVtbl -> Clone(This,ppCopy)
  1350. #define IWbemObjectAccess_GetObjectText(This,lFlags,pstrObjectText) \
  1351. (This)->lpVtbl -> GetObjectText(This,lFlags,pstrObjectText)
  1352. #define IWbemObjectAccess_SpawnDerivedClass(This,lFlags,ppNewClass) \
  1353. (This)->lpVtbl -> SpawnDerivedClass(This,lFlags,ppNewClass)
  1354. #define IWbemObjectAccess_SpawnInstance(This,lFlags,ppNewInstance) \
  1355. (This)->lpVtbl -> SpawnInstance(This,lFlags,ppNewInstance)
  1356. #define IWbemObjectAccess_CompareTo(This,lFlags,pCompareTo) \
  1357. (This)->lpVtbl -> CompareTo(This,lFlags,pCompareTo)
  1358. #define IWbemObjectAccess_GetPropertyOrigin(This,wszName,pstrClassName) \
  1359. (This)->lpVtbl -> GetPropertyOrigin(This,wszName,pstrClassName)
  1360. #define IWbemObjectAccess_InheritsFrom(This,strAncestor) \
  1361. (This)->lpVtbl -> InheritsFrom(This,strAncestor)
  1362. #define IWbemObjectAccess_GetMethod(This,wszName,lFlags,ppInSignature,ppOutSignature) \
  1363. (This)->lpVtbl -> GetMethod(This,wszName,lFlags,ppInSignature,ppOutSignature)
  1364. #define IWbemObjectAccess_PutMethod(This,wszName,lFlags,pInSignature,pOutSignature) \
  1365. (This)->lpVtbl -> PutMethod(This,wszName,lFlags,pInSignature,pOutSignature)
  1366. #define IWbemObjectAccess_DeleteMethod(This,wszName) \
  1367. (This)->lpVtbl -> DeleteMethod(This,wszName)
  1368. #define IWbemObjectAccess_BeginMethodEnumeration(This,lEnumFlags) \
  1369. (This)->lpVtbl -> BeginMethodEnumeration(This,lEnumFlags)
  1370. #define IWbemObjectAccess_NextMethod(This,lFlags,pstrName,ppInSignature,ppOutSignature) \
  1371. (This)->lpVtbl -> NextMethod(This,lFlags,pstrName,ppInSignature,ppOutSignature)
  1372. #define IWbemObjectAccess_EndMethodEnumeration(This) \
  1373. (This)->lpVtbl -> EndMethodEnumeration(This)
  1374. #define IWbemObjectAccess_GetMethodQualifierSet(This,wszMethod,ppQualSet) \
  1375. (This)->lpVtbl -> GetMethodQualifierSet(This,wszMethod,ppQualSet)
  1376. #define IWbemObjectAccess_GetMethodOrigin(This,wszMethodName,pstrClassName) \
  1377. (This)->lpVtbl -> GetMethodOrigin(This,wszMethodName,pstrClassName)
  1378. #define IWbemObjectAccess_GetPropertyHandle(This,wszPropertyName,pType,plHandle) \
  1379. (This)->lpVtbl -> GetPropertyHandle(This,wszPropertyName,pType,plHandle)
  1380. #define IWbemObjectAccess_WritePropertyValue(This,lHandle,lNumBytes,aData) \
  1381. (This)->lpVtbl -> WritePropertyValue(This,lHandle,lNumBytes,aData)
  1382. #define IWbemObjectAccess_ReadPropertyValue(This,lHandle,lBufferSize,plNumBytes,aData) \
  1383. (This)->lpVtbl -> ReadPropertyValue(This,lHandle,lBufferSize,plNumBytes,aData)
  1384. #define IWbemObjectAccess_ReadDWORD(This,lHandle,pdw) \
  1385. (This)->lpVtbl -> ReadDWORD(This,lHandle,pdw)
  1386. #define IWbemObjectAccess_WriteDWORD(This,lHandle,dw) \
  1387. (This)->lpVtbl -> WriteDWORD(This,lHandle,dw)
  1388. #define IWbemObjectAccess_ReadQWORD(This,lHandle,pqw) \
  1389. (This)->lpVtbl -> ReadQWORD(This,lHandle,pqw)
  1390. #define IWbemObjectAccess_WriteQWORD(This,lHandle,pw) \
  1391. (This)->lpVtbl -> WriteQWORD(This,lHandle,pw)
  1392. #define IWbemObjectAccess_GetPropertyInfoByHandle(This,lHandle,pstrName,pType) \
  1393. (This)->lpVtbl -> GetPropertyInfoByHandle(This,lHandle,pstrName,pType)
  1394. #define IWbemObjectAccess_Lock(This,lFlags) \
  1395. (This)->lpVtbl -> Lock(This,lFlags)
  1396. #define IWbemObjectAccess_Unlock(This,lFlags) \
  1397. (This)->lpVtbl -> Unlock(This,lFlags)
  1398. #endif /* COBJMACROS */
  1399. #endif /* C style interface */
  1400. HRESULT STDMETHODCALLTYPE IWbemObjectAccess_GetPropertyHandle_Proxy(
  1401. IWbemObjectAccess * This,
  1402. /* [string][in] */ LPCWSTR wszPropertyName,
  1403. /* [out] */ CIMTYPE *pType,
  1404. /* [out] */ long *plHandle);
  1405. void __RPC_STUB IWbemObjectAccess_GetPropertyHandle_Stub(
  1406. IRpcStubBuffer *This,
  1407. IRpcChannelBuffer *_pRpcChannelBuffer,
  1408. PRPC_MESSAGE _pRpcMessage,
  1409. DWORD *_pdwStubPhase);
  1410. HRESULT STDMETHODCALLTYPE IWbemObjectAccess_WritePropertyValue_Proxy(
  1411. IWbemObjectAccess * This,
  1412. /* [in] */ long lHandle,
  1413. /* [in] */ long lNumBytes,
  1414. /* [size_is][in] */ const byte *aData);
  1415. void __RPC_STUB IWbemObjectAccess_WritePropertyValue_Stub(
  1416. IRpcStubBuffer *This,
  1417. IRpcChannelBuffer *_pRpcChannelBuffer,
  1418. PRPC_MESSAGE _pRpcMessage,
  1419. DWORD *_pdwStubPhase);
  1420. HRESULT STDMETHODCALLTYPE IWbemObjectAccess_ReadPropertyValue_Proxy(
  1421. IWbemObjectAccess * This,
  1422. /* [in] */ long lHandle,
  1423. /* [in] */ long lBufferSize,
  1424. /* [out] */ long *plNumBytes,
  1425. /* [length_is][size_is][out] */ byte *aData);
  1426. void __RPC_STUB IWbemObjectAccess_ReadPropertyValue_Stub(
  1427. IRpcStubBuffer *This,
  1428. IRpcChannelBuffer *_pRpcChannelBuffer,
  1429. PRPC_MESSAGE _pRpcMessage,
  1430. DWORD *_pdwStubPhase);
  1431. HRESULT STDMETHODCALLTYPE IWbemObjectAccess_ReadDWORD_Proxy(
  1432. IWbemObjectAccess * This,
  1433. /* [in] */ long lHandle,
  1434. /* [out] */ DWORD *pdw);
  1435. void __RPC_STUB IWbemObjectAccess_ReadDWORD_Stub(
  1436. IRpcStubBuffer *This,
  1437. IRpcChannelBuffer *_pRpcChannelBuffer,
  1438. PRPC_MESSAGE _pRpcMessage,
  1439. DWORD *_pdwStubPhase);
  1440. HRESULT STDMETHODCALLTYPE IWbemObjectAccess_WriteDWORD_Proxy(
  1441. IWbemObjectAccess * This,
  1442. /* [in] */ long lHandle,
  1443. /* [in] */ DWORD dw);
  1444. void __RPC_STUB IWbemObjectAccess_WriteDWORD_Stub(
  1445. IRpcStubBuffer *This,
  1446. IRpcChannelBuffer *_pRpcChannelBuffer,
  1447. PRPC_MESSAGE _pRpcMessage,
  1448. DWORD *_pdwStubPhase);
  1449. HRESULT STDMETHODCALLTYPE IWbemObjectAccess_ReadQWORD_Proxy(
  1450. IWbemObjectAccess * This,
  1451. /* [in] */ long lHandle,
  1452. /* [out] */ unsigned __int64 *pqw);
  1453. void __RPC_STUB IWbemObjectAccess_ReadQWORD_Stub(
  1454. IRpcStubBuffer *This,
  1455. IRpcChannelBuffer *_pRpcChannelBuffer,
  1456. PRPC_MESSAGE _pRpcMessage,
  1457. DWORD *_pdwStubPhase);
  1458. HRESULT STDMETHODCALLTYPE IWbemObjectAccess_WriteQWORD_Proxy(
  1459. IWbemObjectAccess * This,
  1460. /* [in] */ long lHandle,
  1461. /* [in] */ unsigned __int64 pw);
  1462. void __RPC_STUB IWbemObjectAccess_WriteQWORD_Stub(
  1463. IRpcStubBuffer *This,
  1464. IRpcChannelBuffer *_pRpcChannelBuffer,
  1465. PRPC_MESSAGE _pRpcMessage,
  1466. DWORD *_pdwStubPhase);
  1467. HRESULT STDMETHODCALLTYPE IWbemObjectAccess_GetPropertyInfoByHandle_Proxy(
  1468. IWbemObjectAccess * This,
  1469. /* [in] */ long lHandle,
  1470. /* [out] */ BSTR *pstrName,
  1471. /* [out] */ CIMTYPE *pType);
  1472. void __RPC_STUB IWbemObjectAccess_GetPropertyInfoByHandle_Stub(
  1473. IRpcStubBuffer *This,
  1474. IRpcChannelBuffer *_pRpcChannelBuffer,
  1475. PRPC_MESSAGE _pRpcMessage,
  1476. DWORD *_pdwStubPhase);
  1477. HRESULT STDMETHODCALLTYPE IWbemObjectAccess_Lock_Proxy(
  1478. IWbemObjectAccess * This,
  1479. /* [in] */ long lFlags);
  1480. void __RPC_STUB IWbemObjectAccess_Lock_Stub(
  1481. IRpcStubBuffer *This,
  1482. IRpcChannelBuffer *_pRpcChannelBuffer,
  1483. PRPC_MESSAGE _pRpcMessage,
  1484. DWORD *_pdwStubPhase);
  1485. HRESULT STDMETHODCALLTYPE IWbemObjectAccess_Unlock_Proxy(
  1486. IWbemObjectAccess * This,
  1487. /* [in] */ long lFlags);
  1488. void __RPC_STUB IWbemObjectAccess_Unlock_Stub(
  1489. IRpcStubBuffer *This,
  1490. IRpcChannelBuffer *_pRpcChannelBuffer,
  1491. PRPC_MESSAGE _pRpcMessage,
  1492. DWORD *_pdwStubPhase);
  1493. #endif /* __IWbemObjectAccess_INTERFACE_DEFINED__ */
  1494. #ifndef __IWbemQualifierSet_INTERFACE_DEFINED__
  1495. #define __IWbemQualifierSet_INTERFACE_DEFINED__
  1496. /* interface IWbemQualifierSet */
  1497. /* [uuid][local][restricted][object] */
  1498. EXTERN_C const IID IID_IWbemQualifierSet;
  1499. #if defined(__cplusplus) && !defined(CINTERFACE)
  1500. MIDL_INTERFACE("dc12a680-737f-11cf-884d-00aa004b2e24")
  1501. IWbemQualifierSet : public IUnknown
  1502. {
  1503. public:
  1504. virtual HRESULT STDMETHODCALLTYPE Get(
  1505. /* [string][in] */ LPCWSTR wszName,
  1506. /* [in] */ long lFlags,
  1507. /* [unique][in][out] */ VARIANT *pVal,
  1508. /* [unique][in][out] */ long *plFlavor) = 0;
  1509. virtual HRESULT STDMETHODCALLTYPE Put(
  1510. /* [string][in] */ LPCWSTR wszName,
  1511. /* [in] */ VARIANT *pVal,
  1512. /* [in] */ long lFlavor) = 0;
  1513. virtual HRESULT STDMETHODCALLTYPE Delete(
  1514. /* [string][in] */ LPCWSTR wszName) = 0;
  1515. virtual HRESULT STDMETHODCALLTYPE GetNames(
  1516. /* [in] */ long lFlags,
  1517. /* [out] */ SAFEARRAY * *pNames) = 0;
  1518. virtual HRESULT STDMETHODCALLTYPE BeginEnumeration(
  1519. /* [in] */ long lFlags) = 0;
  1520. virtual HRESULT STDMETHODCALLTYPE Next(
  1521. /* [in] */ long lFlags,
  1522. /* [unique][in][out] */ BSTR *pstrName,
  1523. /* [unique][in][out] */ VARIANT *pVal,
  1524. /* [unique][in][out] */ long *plFlavor) = 0;
  1525. virtual HRESULT STDMETHODCALLTYPE EndEnumeration( void) = 0;
  1526. };
  1527. #else /* C style interface */
  1528. typedef struct IWbemQualifierSetVtbl
  1529. {
  1530. BEGIN_INTERFACE
  1531. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1532. IWbemQualifierSet * This,
  1533. /* [in] */ REFIID riid,
  1534. /* [iid_is][out] */ void **ppvObject);
  1535. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1536. IWbemQualifierSet * This);
  1537. ULONG ( STDMETHODCALLTYPE *Release )(
  1538. IWbemQualifierSet * This);
  1539. HRESULT ( STDMETHODCALLTYPE *Get )(
  1540. IWbemQualifierSet * This,
  1541. /* [string][in] */ LPCWSTR wszName,
  1542. /* [in] */ long lFlags,
  1543. /* [unique][in][out] */ VARIANT *pVal,
  1544. /* [unique][in][out] */ long *plFlavor);
  1545. HRESULT ( STDMETHODCALLTYPE *Put )(
  1546. IWbemQualifierSet * This,
  1547. /* [string][in] */ LPCWSTR wszName,
  1548. /* [in] */ VARIANT *pVal,
  1549. /* [in] */ long lFlavor);
  1550. HRESULT ( STDMETHODCALLTYPE *Delete )(
  1551. IWbemQualifierSet * This,
  1552. /* [string][in] */ LPCWSTR wszName);
  1553. HRESULT ( STDMETHODCALLTYPE *GetNames )(
  1554. IWbemQualifierSet * This,
  1555. /* [in] */ long lFlags,
  1556. /* [out] */ SAFEARRAY * *pNames);
  1557. HRESULT ( STDMETHODCALLTYPE *BeginEnumeration )(
  1558. IWbemQualifierSet * This,
  1559. /* [in] */ long lFlags);
  1560. HRESULT ( STDMETHODCALLTYPE *Next )(
  1561. IWbemQualifierSet * This,
  1562. /* [in] */ long lFlags,
  1563. /* [unique][in][out] */ BSTR *pstrName,
  1564. /* [unique][in][out] */ VARIANT *pVal,
  1565. /* [unique][in][out] */ long *plFlavor);
  1566. HRESULT ( STDMETHODCALLTYPE *EndEnumeration )(
  1567. IWbemQualifierSet * This);
  1568. END_INTERFACE
  1569. } IWbemQualifierSetVtbl;
  1570. interface IWbemQualifierSet
  1571. {
  1572. CONST_VTBL struct IWbemQualifierSetVtbl *lpVtbl;
  1573. };
  1574. #ifdef COBJMACROS
  1575. #define IWbemQualifierSet_QueryInterface(This,riid,ppvObject) \
  1576. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1577. #define IWbemQualifierSet_AddRef(This) \
  1578. (This)->lpVtbl -> AddRef(This)
  1579. #define IWbemQualifierSet_Release(This) \
  1580. (This)->lpVtbl -> Release(This)
  1581. #define IWbemQualifierSet_Get(This,wszName,lFlags,pVal,plFlavor) \
  1582. (This)->lpVtbl -> Get(This,wszName,lFlags,pVal,plFlavor)
  1583. #define IWbemQualifierSet_Put(This,wszName,pVal,lFlavor) \
  1584. (This)->lpVtbl -> Put(This,wszName,pVal,lFlavor)
  1585. #define IWbemQualifierSet_Delete(This,wszName) \
  1586. (This)->lpVtbl -> Delete(This,wszName)
  1587. #define IWbemQualifierSet_GetNames(This,lFlags,pNames) \
  1588. (This)->lpVtbl -> GetNames(This,lFlags,pNames)
  1589. #define IWbemQualifierSet_BeginEnumeration(This,lFlags) \
  1590. (This)->lpVtbl -> BeginEnumeration(This,lFlags)
  1591. #define IWbemQualifierSet_Next(This,lFlags,pstrName,pVal,plFlavor) \
  1592. (This)->lpVtbl -> Next(This,lFlags,pstrName,pVal,plFlavor)
  1593. #define IWbemQualifierSet_EndEnumeration(This) \
  1594. (This)->lpVtbl -> EndEnumeration(This)
  1595. #endif /* COBJMACROS */
  1596. #endif /* C style interface */
  1597. HRESULT STDMETHODCALLTYPE IWbemQualifierSet_Get_Proxy(
  1598. IWbemQualifierSet * This,
  1599. /* [string][in] */ LPCWSTR wszName,
  1600. /* [in] */ long lFlags,
  1601. /* [unique][in][out] */ VARIANT *pVal,
  1602. /* [unique][in][out] */ long *plFlavor);
  1603. void __RPC_STUB IWbemQualifierSet_Get_Stub(
  1604. IRpcStubBuffer *This,
  1605. IRpcChannelBuffer *_pRpcChannelBuffer,
  1606. PRPC_MESSAGE _pRpcMessage,
  1607. DWORD *_pdwStubPhase);
  1608. HRESULT STDMETHODCALLTYPE IWbemQualifierSet_Put_Proxy(
  1609. IWbemQualifierSet * This,
  1610. /* [string][in] */ LPCWSTR wszName,
  1611. /* [in] */ VARIANT *pVal,
  1612. /* [in] */ long lFlavor);
  1613. void __RPC_STUB IWbemQualifierSet_Put_Stub(
  1614. IRpcStubBuffer *This,
  1615. IRpcChannelBuffer *_pRpcChannelBuffer,
  1616. PRPC_MESSAGE _pRpcMessage,
  1617. DWORD *_pdwStubPhase);
  1618. HRESULT STDMETHODCALLTYPE IWbemQualifierSet_Delete_Proxy(
  1619. IWbemQualifierSet * This,
  1620. /* [string][in] */ LPCWSTR wszName);
  1621. void __RPC_STUB IWbemQualifierSet_Delete_Stub(
  1622. IRpcStubBuffer *This,
  1623. IRpcChannelBuffer *_pRpcChannelBuffer,
  1624. PRPC_MESSAGE _pRpcMessage,
  1625. DWORD *_pdwStubPhase);
  1626. HRESULT STDMETHODCALLTYPE IWbemQualifierSet_GetNames_Proxy(
  1627. IWbemQualifierSet * This,
  1628. /* [in] */ long lFlags,
  1629. /* [out] */ SAFEARRAY * *pNames);
  1630. void __RPC_STUB IWbemQualifierSet_GetNames_Stub(
  1631. IRpcStubBuffer *This,
  1632. IRpcChannelBuffer *_pRpcChannelBuffer,
  1633. PRPC_MESSAGE _pRpcMessage,
  1634. DWORD *_pdwStubPhase);
  1635. HRESULT STDMETHODCALLTYPE IWbemQualifierSet_BeginEnumeration_Proxy(
  1636. IWbemQualifierSet * This,
  1637. /* [in] */ long lFlags);
  1638. void __RPC_STUB IWbemQualifierSet_BeginEnumeration_Stub(
  1639. IRpcStubBuffer *This,
  1640. IRpcChannelBuffer *_pRpcChannelBuffer,
  1641. PRPC_MESSAGE _pRpcMessage,
  1642. DWORD *_pdwStubPhase);
  1643. HRESULT STDMETHODCALLTYPE IWbemQualifierSet_Next_Proxy(
  1644. IWbemQualifierSet * This,
  1645. /* [in] */ long lFlags,
  1646. /* [unique][in][out] */ BSTR *pstrName,
  1647. /* [unique][in][out] */ VARIANT *pVal,
  1648. /* [unique][in][out] */ long *plFlavor);
  1649. void __RPC_STUB IWbemQualifierSet_Next_Stub(
  1650. IRpcStubBuffer *This,
  1651. IRpcChannelBuffer *_pRpcChannelBuffer,
  1652. PRPC_MESSAGE _pRpcMessage,
  1653. DWORD *_pdwStubPhase);
  1654. HRESULT STDMETHODCALLTYPE IWbemQualifierSet_EndEnumeration_Proxy(
  1655. IWbemQualifierSet * This);
  1656. void __RPC_STUB IWbemQualifierSet_EndEnumeration_Stub(
  1657. IRpcStubBuffer *This,
  1658. IRpcChannelBuffer *_pRpcChannelBuffer,
  1659. PRPC_MESSAGE _pRpcMessage,
  1660. DWORD *_pdwStubPhase);
  1661. #endif /* __IWbemQualifierSet_INTERFACE_DEFINED__ */
  1662. #ifndef __IWbemServices_INTERFACE_DEFINED__
  1663. #define __IWbemServices_INTERFACE_DEFINED__
  1664. /* interface IWbemServices */
  1665. /* [unique][uuid][restricted][object] */
  1666. EXTERN_C const IID IID_IWbemServices;
  1667. #if defined(__cplusplus) && !defined(CINTERFACE)
  1668. MIDL_INTERFACE("9556dc99-828c-11cf-a37e-00aa003240c7")
  1669. IWbemServices : public IUnknown
  1670. {
  1671. public:
  1672. virtual HRESULT STDMETHODCALLTYPE OpenNamespace(
  1673. /* [in] */ const BSTR strNamespace,
  1674. /* [in] */ long lFlags,
  1675. /* [in] */ IWbemContext *pCtx,
  1676. /* [unique][in][out] */ IWbemServices **ppWorkingNamespace,
  1677. /* [unique][in][out] */ IWbemCallResult **ppResult) = 0;
  1678. virtual HRESULT STDMETHODCALLTYPE CancelAsyncCall(
  1679. /* [in] */ IWbemObjectSink *pSink) = 0;
  1680. virtual HRESULT STDMETHODCALLTYPE QueryObjectSink(
  1681. /* [in] */ long lFlags,
  1682. /* [out] */ IWbemObjectSink **ppResponseHandler) = 0;
  1683. virtual HRESULT STDMETHODCALLTYPE GetObject(
  1684. /* [in] */ const BSTR strObjectPath,
  1685. /* [in] */ long lFlags,
  1686. /* [in] */ IWbemContext *pCtx,
  1687. /* [unique][in][out] */ IWbemClassObject **ppObject,
  1688. /* [unique][in][out] */ IWbemCallResult **ppCallResult) = 0;
  1689. virtual HRESULT STDMETHODCALLTYPE GetObjectAsync(
  1690. /* [in] */ const BSTR strObjectPath,
  1691. /* [in] */ long lFlags,
  1692. /* [in] */ IWbemContext *pCtx,
  1693. /* [in] */ IWbemObjectSink *pResponseHandler) = 0;
  1694. virtual HRESULT STDMETHODCALLTYPE PutClass(
  1695. /* [in] */ IWbemClassObject *pObject,
  1696. /* [in] */ long lFlags,
  1697. /* [in] */ IWbemContext *pCtx,
  1698. /* [unique][in][out] */ IWbemCallResult **ppCallResult) = 0;
  1699. virtual HRESULT STDMETHODCALLTYPE PutClassAsync(
  1700. /* [in] */ IWbemClassObject *pObject,
  1701. /* [in] */ long lFlags,
  1702. /* [in] */ IWbemContext *pCtx,
  1703. /* [in] */ IWbemObjectSink *pResponseHandler) = 0;
  1704. virtual HRESULT STDMETHODCALLTYPE DeleteClass(
  1705. /* [in] */ const BSTR strClass,
  1706. /* [in] */ long lFlags,
  1707. /* [in] */ IWbemContext *pCtx,
  1708. /* [unique][in][out] */ IWbemCallResult **ppCallResult) = 0;
  1709. virtual HRESULT STDMETHODCALLTYPE DeleteClassAsync(
  1710. /* [in] */ const BSTR strClass,
  1711. /* [in] */ long lFlags,
  1712. /* [in] */ IWbemContext *pCtx,
  1713. /* [in] */ IWbemObjectSink *pResponseHandler) = 0;
  1714. virtual HRESULT STDMETHODCALLTYPE CreateClassEnum(
  1715. /* [in] */ const BSTR strSuperclass,
  1716. /* [in] */ long lFlags,
  1717. /* [in] */ IWbemContext *pCtx,
  1718. /* [out] */ IEnumWbemClassObject **ppEnum) = 0;
  1719. virtual HRESULT STDMETHODCALLTYPE CreateClassEnumAsync(
  1720. /* [in] */ const BSTR strSuperclass,
  1721. /* [in] */ long lFlags,
  1722. /* [in] */ IWbemContext *pCtx,
  1723. /* [in] */ IWbemObjectSink *pResponseHandler) = 0;
  1724. virtual HRESULT STDMETHODCALLTYPE PutInstance(
  1725. /* [in] */ IWbemClassObject *pInst,
  1726. /* [in] */ long lFlags,
  1727. /* [in] */ IWbemContext *pCtx,
  1728. /* [unique][in][out] */ IWbemCallResult **ppCallResult) = 0;
  1729. virtual HRESULT STDMETHODCALLTYPE PutInstanceAsync(
  1730. /* [in] */ IWbemClassObject *pInst,
  1731. /* [in] */ long lFlags,
  1732. /* [in] */ IWbemContext *pCtx,
  1733. /* [in] */ IWbemObjectSink *pResponseHandler) = 0;
  1734. virtual HRESULT STDMETHODCALLTYPE DeleteInstance(
  1735. /* [in] */ const BSTR strObjectPath,
  1736. /* [in] */ long lFlags,
  1737. /* [in] */ IWbemContext *pCtx,
  1738. /* [unique][in][out] */ IWbemCallResult **ppCallResult) = 0;
  1739. virtual HRESULT STDMETHODCALLTYPE DeleteInstanceAsync(
  1740. /* [in] */ const BSTR strObjectPath,
  1741. /* [in] */ long lFlags,
  1742. /* [in] */ IWbemContext *pCtx,
  1743. /* [in] */ IWbemObjectSink *pResponseHandler) = 0;
  1744. virtual HRESULT STDMETHODCALLTYPE CreateInstanceEnum(
  1745. /* [in] */ const BSTR strFilter,
  1746. /* [in] */ long lFlags,
  1747. /* [in] */ IWbemContext *pCtx,
  1748. /* [out] */ IEnumWbemClassObject **ppEnum) = 0;
  1749. virtual HRESULT STDMETHODCALLTYPE CreateInstanceEnumAsync(
  1750. /* [in] */ const BSTR strFilter,
  1751. /* [in] */ long lFlags,
  1752. /* [in] */ IWbemContext *pCtx,
  1753. /* [in] */ IWbemObjectSink *pResponseHandler) = 0;
  1754. virtual HRESULT STDMETHODCALLTYPE ExecQuery(
  1755. /* [in] */ const BSTR strQueryLanguage,
  1756. /* [in] */ const BSTR strQuery,
  1757. /* [in] */ long lFlags,
  1758. /* [in] */ IWbemContext *pCtx,
  1759. /* [out] */ IEnumWbemClassObject **ppEnum) = 0;
  1760. virtual HRESULT STDMETHODCALLTYPE ExecQueryAsync(
  1761. /* [in] */ const BSTR strQueryLanguage,
  1762. /* [in] */ const BSTR strQuery,
  1763. /* [in] */ long lFlags,
  1764. /* [in] */ IWbemContext *pCtx,
  1765. /* [in] */ IWbemObjectSink *pResponseHandler) = 0;
  1766. virtual HRESULT STDMETHODCALLTYPE ExecNotificationQuery(
  1767. /* [in] */ const BSTR strQueryLanguage,
  1768. /* [in] */ const BSTR strQuery,
  1769. /* [in] */ long lFlags,
  1770. /* [in] */ IWbemContext *pCtx,
  1771. /* [out] */ IEnumWbemClassObject **ppEnum) = 0;
  1772. virtual HRESULT STDMETHODCALLTYPE ExecNotificationQueryAsync(
  1773. /* [in] */ const BSTR strQueryLanguage,
  1774. /* [in] */ const BSTR strQuery,
  1775. /* [in] */ long lFlags,
  1776. /* [in] */ IWbemContext *pCtx,
  1777. /* [in] */ IWbemObjectSink *pResponseHandler) = 0;
  1778. virtual HRESULT STDMETHODCALLTYPE ExecMethod(
  1779. /* [in] */ const BSTR strObjectPath,
  1780. /* [in] */ const BSTR strMethodName,
  1781. /* [in] */ long lFlags,
  1782. /* [in] */ IWbemContext *pCtx,
  1783. /* [in] */ IWbemClassObject *pInParams,
  1784. /* [unique][in][out] */ IWbemClassObject **ppOutParams,
  1785. /* [unique][in][out] */ IWbemCallResult **ppCallResult) = 0;
  1786. virtual HRESULT STDMETHODCALLTYPE ExecMethodAsync(
  1787. /* [in] */ const BSTR strObjectPath,
  1788. /* [in] */ const BSTR strMethodName,
  1789. /* [in] */ long lFlags,
  1790. /* [in] */ IWbemContext *pCtx,
  1791. /* [in] */ IWbemClassObject *pInParams,
  1792. /* [in] */ IWbemObjectSink *pResponseHandler) = 0;
  1793. };
  1794. #else /* C style interface */
  1795. typedef struct IWbemServicesVtbl
  1796. {
  1797. BEGIN_INTERFACE
  1798. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1799. IWbemServices * This,
  1800. /* [in] */ REFIID riid,
  1801. /* [iid_is][out] */ void **ppvObject);
  1802. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1803. IWbemServices * This);
  1804. ULONG ( STDMETHODCALLTYPE *Release )(
  1805. IWbemServices * This);
  1806. HRESULT ( STDMETHODCALLTYPE *OpenNamespace )(
  1807. IWbemServices * This,
  1808. /* [in] */ const BSTR strNamespace,
  1809. /* [in] */ long lFlags,
  1810. /* [in] */ IWbemContext *pCtx,
  1811. /* [unique][in][out] */ IWbemServices **ppWorkingNamespace,
  1812. /* [unique][in][out] */ IWbemCallResult **ppResult);
  1813. HRESULT ( STDMETHODCALLTYPE *CancelAsyncCall )(
  1814. IWbemServices * This,
  1815. /* [in] */ IWbemObjectSink *pSink);
  1816. HRESULT ( STDMETHODCALLTYPE *QueryObjectSink )(
  1817. IWbemServices * This,
  1818. /* [in] */ long lFlags,
  1819. /* [out] */ IWbemObjectSink **ppResponseHandler);
  1820. HRESULT ( STDMETHODCALLTYPE *GetObject )(
  1821. IWbemServices * This,
  1822. /* [in] */ const BSTR strObjectPath,
  1823. /* [in] */ long lFlags,
  1824. /* [in] */ IWbemContext *pCtx,
  1825. /* [unique][in][out] */ IWbemClassObject **ppObject,
  1826. /* [unique][in][out] */ IWbemCallResult **ppCallResult);
  1827. HRESULT ( STDMETHODCALLTYPE *GetObjectAsync )(
  1828. IWbemServices * This,
  1829. /* [in] */ const BSTR strObjectPath,
  1830. /* [in] */ long lFlags,
  1831. /* [in] */ IWbemContext *pCtx,
  1832. /* [in] */ IWbemObjectSink *pResponseHandler);
  1833. HRESULT ( STDMETHODCALLTYPE *PutClass )(
  1834. IWbemServices * This,
  1835. /* [in] */ IWbemClassObject *pObject,
  1836. /* [in] */ long lFlags,
  1837. /* [in] */ IWbemContext *pCtx,
  1838. /* [unique][in][out] */ IWbemCallResult **ppCallResult);
  1839. HRESULT ( STDMETHODCALLTYPE *PutClassAsync )(
  1840. IWbemServices * This,
  1841. /* [in] */ IWbemClassObject *pObject,
  1842. /* [in] */ long lFlags,
  1843. /* [in] */ IWbemContext *pCtx,
  1844. /* [in] */ IWbemObjectSink *pResponseHandler);
  1845. HRESULT ( STDMETHODCALLTYPE *DeleteClass )(
  1846. IWbemServices * This,
  1847. /* [in] */ const BSTR strClass,
  1848. /* [in] */ long lFlags,
  1849. /* [in] */ IWbemContext *pCtx,
  1850. /* [unique][in][out] */ IWbemCallResult **ppCallResult);
  1851. HRESULT ( STDMETHODCALLTYPE *DeleteClassAsync )(
  1852. IWbemServices * This,
  1853. /* [in] */ const BSTR strClass,
  1854. /* [in] */ long lFlags,
  1855. /* [in] */ IWbemContext *pCtx,
  1856. /* [in] */ IWbemObjectSink *pResponseHandler);
  1857. HRESULT ( STDMETHODCALLTYPE *CreateClassEnum )(
  1858. IWbemServices * This,
  1859. /* [in] */ const BSTR strSuperclass,
  1860. /* [in] */ long lFlags,
  1861. /* [in] */ IWbemContext *pCtx,
  1862. /* [out] */ IEnumWbemClassObject **ppEnum);
  1863. HRESULT ( STDMETHODCALLTYPE *CreateClassEnumAsync )(
  1864. IWbemServices * This,
  1865. /* [in] */ const BSTR strSuperclass,
  1866. /* [in] */ long lFlags,
  1867. /* [in] */ IWbemContext *pCtx,
  1868. /* [in] */ IWbemObjectSink *pResponseHandler);
  1869. HRESULT ( STDMETHODCALLTYPE *PutInstance )(
  1870. IWbemServices * This,
  1871. /* [in] */ IWbemClassObject *pInst,
  1872. /* [in] */ long lFlags,
  1873. /* [in] */ IWbemContext *pCtx,
  1874. /* [unique][in][out] */ IWbemCallResult **ppCallResult);
  1875. HRESULT ( STDMETHODCALLTYPE *PutInstanceAsync )(
  1876. IWbemServices * This,
  1877. /* [in] */ IWbemClassObject *pInst,
  1878. /* [in] */ long lFlags,
  1879. /* [in] */ IWbemContext *pCtx,
  1880. /* [in] */ IWbemObjectSink *pResponseHandler);
  1881. HRESULT ( STDMETHODCALLTYPE *DeleteInstance )(
  1882. IWbemServices * This,
  1883. /* [in] */ const BSTR strObjectPath,
  1884. /* [in] */ long lFlags,
  1885. /* [in] */ IWbemContext *pCtx,
  1886. /* [unique][in][out] */ IWbemCallResult **ppCallResult);
  1887. HRESULT ( STDMETHODCALLTYPE *DeleteInstanceAsync )(
  1888. IWbemServices * This,
  1889. /* [in] */ const BSTR strObjectPath,
  1890. /* [in] */ long lFlags,
  1891. /* [in] */ IWbemContext *pCtx,
  1892. /* [in] */ IWbemObjectSink *pResponseHandler);
  1893. HRESULT ( STDMETHODCALLTYPE *CreateInstanceEnum )(
  1894. IWbemServices * This,
  1895. /* [in] */ const BSTR strFilter,
  1896. /* [in] */ long lFlags,
  1897. /* [in] */ IWbemContext *pCtx,
  1898. /* [out] */ IEnumWbemClassObject **ppEnum);
  1899. HRESULT ( STDMETHODCALLTYPE *CreateInstanceEnumAsync )(
  1900. IWbemServices * This,
  1901. /* [in] */ const BSTR strFilter,
  1902. /* [in] */ long lFlags,
  1903. /* [in] */ IWbemContext *pCtx,
  1904. /* [in] */ IWbemObjectSink *pResponseHandler);
  1905. HRESULT ( STDMETHODCALLTYPE *ExecQuery )(
  1906. IWbemServices * This,
  1907. /* [in] */ const BSTR strQueryLanguage,
  1908. /* [in] */ const BSTR strQuery,
  1909. /* [in] */ long lFlags,
  1910. /* [in] */ IWbemContext *pCtx,
  1911. /* [out] */ IEnumWbemClassObject **ppEnum);
  1912. HRESULT ( STDMETHODCALLTYPE *ExecQueryAsync )(
  1913. IWbemServices * This,
  1914. /* [in] */ const BSTR strQueryLanguage,
  1915. /* [in] */ const BSTR strQuery,
  1916. /* [in] */ long lFlags,
  1917. /* [in] */ IWbemContext *pCtx,
  1918. /* [in] */ IWbemObjectSink *pResponseHandler);
  1919. HRESULT ( STDMETHODCALLTYPE *ExecNotificationQuery )(
  1920. IWbemServices * This,
  1921. /* [in] */ const BSTR strQueryLanguage,
  1922. /* [in] */ const BSTR strQuery,
  1923. /* [in] */ long lFlags,
  1924. /* [in] */ IWbemContext *pCtx,
  1925. /* [out] */ IEnumWbemClassObject **ppEnum);
  1926. HRESULT ( STDMETHODCALLTYPE *ExecNotificationQueryAsync )(
  1927. IWbemServices * This,
  1928. /* [in] */ const BSTR strQueryLanguage,
  1929. /* [in] */ const BSTR strQuery,
  1930. /* [in] */ long lFlags,
  1931. /* [in] */ IWbemContext *pCtx,
  1932. /* [in] */ IWbemObjectSink *pResponseHandler);
  1933. HRESULT ( STDMETHODCALLTYPE *ExecMethod )(
  1934. IWbemServices * This,
  1935. /* [in] */ const BSTR strObjectPath,
  1936. /* [in] */ const BSTR strMethodName,
  1937. /* [in] */ long lFlags,
  1938. /* [in] */ IWbemContext *pCtx,
  1939. /* [in] */ IWbemClassObject *pInParams,
  1940. /* [unique][in][out] */ IWbemClassObject **ppOutParams,
  1941. /* [unique][in][out] */ IWbemCallResult **ppCallResult);
  1942. HRESULT ( STDMETHODCALLTYPE *ExecMethodAsync )(
  1943. IWbemServices * This,
  1944. /* [in] */ const BSTR strObjectPath,
  1945. /* [in] */ const BSTR strMethodName,
  1946. /* [in] */ long lFlags,
  1947. /* [in] */ IWbemContext *pCtx,
  1948. /* [in] */ IWbemClassObject *pInParams,
  1949. /* [in] */ IWbemObjectSink *pResponseHandler);
  1950. END_INTERFACE
  1951. } IWbemServicesVtbl;
  1952. interface IWbemServices
  1953. {
  1954. CONST_VTBL struct IWbemServicesVtbl *lpVtbl;
  1955. };
  1956. #ifdef COBJMACROS
  1957. #define IWbemServices_QueryInterface(This,riid,ppvObject) \
  1958. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1959. #define IWbemServices_AddRef(This) \
  1960. (This)->lpVtbl -> AddRef(This)
  1961. #define IWbemServices_Release(This) \
  1962. (This)->lpVtbl -> Release(This)
  1963. #define IWbemServices_OpenNamespace(This,strNamespace,lFlags,pCtx,ppWorkingNamespace,ppResult) \
  1964. (This)->lpVtbl -> OpenNamespace(This,strNamespace,lFlags,pCtx,ppWorkingNamespace,ppResult)
  1965. #define IWbemServices_CancelAsyncCall(This,pSink) \
  1966. (This)->lpVtbl -> CancelAsyncCall(This,pSink)
  1967. #define IWbemServices_QueryObjectSink(This,lFlags,ppResponseHandler) \
  1968. (This)->lpVtbl -> QueryObjectSink(This,lFlags,ppResponseHandler)
  1969. #define IWbemServices_GetObject(This,strObjectPath,lFlags,pCtx,ppObject,ppCallResult) \
  1970. (This)->lpVtbl -> GetObject(This,strObjectPath,lFlags,pCtx,ppObject,ppCallResult)
  1971. #define IWbemServices_GetObjectAsync(This,strObjectPath,lFlags,pCtx,pResponseHandler) \
  1972. (This)->lpVtbl -> GetObjectAsync(This,strObjectPath,lFlags,pCtx,pResponseHandler)
  1973. #define IWbemServices_PutClass(This,pObject,lFlags,pCtx,ppCallResult) \
  1974. (This)->lpVtbl -> PutClass(This,pObject,lFlags,pCtx,ppCallResult)
  1975. #define IWbemServices_PutClassAsync(This,pObject,lFlags,pCtx,pResponseHandler) \
  1976. (This)->lpVtbl -> PutClassAsync(This,pObject,lFlags,pCtx,pResponseHandler)
  1977. #define IWbemServices_DeleteClass(This,strClass,lFlags,pCtx,ppCallResult) \
  1978. (This)->lpVtbl -> DeleteClass(This,strClass,lFlags,pCtx,ppCallResult)
  1979. #define IWbemServices_DeleteClassAsync(This,strClass,lFlags,pCtx,pResponseHandler) \
  1980. (This)->lpVtbl -> DeleteClassAsync(This,strClass,lFlags,pCtx,pResponseHandler)
  1981. #define IWbemServices_CreateClassEnum(This,strSuperclass,lFlags,pCtx,ppEnum) \
  1982. (This)->lpVtbl -> CreateClassEnum(This,strSuperclass,lFlags,pCtx,ppEnum)
  1983. #define IWbemServices_CreateClassEnumAsync(This,strSuperclass,lFlags,pCtx,pResponseHandler) \
  1984. (This)->lpVtbl -> CreateClassEnumAsync(This,strSuperclass,lFlags,pCtx,pResponseHandler)
  1985. #define IWbemServices_PutInstance(This,pInst,lFlags,pCtx,ppCallResult) \
  1986. (This)->lpVtbl -> PutInstance(This,pInst,lFlags,pCtx,ppCallResult)
  1987. #define IWbemServices_PutInstanceAsync(This,pInst,lFlags,pCtx,pResponseHandler) \
  1988. (This)->lpVtbl -> PutInstanceAsync(This,pInst,lFlags,pCtx,pResponseHandler)
  1989. #define IWbemServices_DeleteInstance(This,strObjectPath,lFlags,pCtx,ppCallResult) \
  1990. (This)->lpVtbl -> DeleteInstance(This,strObjectPath,lFlags,pCtx,ppCallResult)
  1991. #define IWbemServices_DeleteInstanceAsync(This,strObjectPath,lFlags,pCtx,pResponseHandler) \
  1992. (This)->lpVtbl -> DeleteInstanceAsync(This,strObjectPath,lFlags,pCtx,pResponseHandler)
  1993. #define IWbemServices_CreateInstanceEnum(This,strFilter,lFlags,pCtx,ppEnum) \
  1994. (This)->lpVtbl -> CreateInstanceEnum(This,strFilter,lFlags,pCtx,ppEnum)
  1995. #define IWbemServices_CreateInstanceEnumAsync(This,strFilter,lFlags,pCtx,pResponseHandler) \
  1996. (This)->lpVtbl -> CreateInstanceEnumAsync(This,strFilter,lFlags,pCtx,pResponseHandler)
  1997. #define IWbemServices_ExecQuery(This,strQueryLanguage,strQuery,lFlags,pCtx,ppEnum) \
  1998. (This)->lpVtbl -> ExecQuery(This,strQueryLanguage,strQuery,lFlags,pCtx,ppEnum)
  1999. #define IWbemServices_ExecQueryAsync(This,strQueryLanguage,strQuery,lFlags,pCtx,pResponseHandler) \
  2000. (This)->lpVtbl -> ExecQueryAsync(This,strQueryLanguage,strQuery,lFlags,pCtx,pResponseHandler)
  2001. #define IWbemServices_ExecNotificationQuery(This,strQueryLanguage,strQuery,lFlags,pCtx,ppEnum) \
  2002. (This)->lpVtbl -> ExecNotificationQuery(This,strQueryLanguage,strQuery,lFlags,pCtx,ppEnum)
  2003. #define IWbemServices_ExecNotificationQueryAsync(This,strQueryLanguage,strQuery,lFlags,pCtx,pResponseHandler) \
  2004. (This)->lpVtbl -> ExecNotificationQueryAsync(This,strQueryLanguage,strQuery,lFlags,pCtx,pResponseHandler)
  2005. #define IWbemServices_ExecMethod(This,strObjectPath,strMethodName,lFlags,pCtx,pInParams,ppOutParams,ppCallResult) \
  2006. (This)->lpVtbl -> ExecMethod(This,strObjectPath,strMethodName,lFlags,pCtx,pInParams,ppOutParams,ppCallResult)
  2007. #define IWbemServices_ExecMethodAsync(This,strObjectPath,strMethodName,lFlags,pCtx,pInParams,pResponseHandler) \
  2008. (This)->lpVtbl -> ExecMethodAsync(This,strObjectPath,strMethodName,lFlags,pCtx,pInParams,pResponseHandler)
  2009. #endif /* COBJMACROS */
  2010. #endif /* C style interface */
  2011. HRESULT STDMETHODCALLTYPE IWbemServices_OpenNamespace_Proxy(
  2012. IWbemServices * This,
  2013. /* [in] */ const BSTR strNamespace,
  2014. /* [in] */ long lFlags,
  2015. /* [in] */ IWbemContext *pCtx,
  2016. /* [unique][in][out] */ IWbemServices **ppWorkingNamespace,
  2017. /* [unique][in][out] */ IWbemCallResult **ppResult);
  2018. void __RPC_STUB IWbemServices_OpenNamespace_Stub(
  2019. IRpcStubBuffer *This,
  2020. IRpcChannelBuffer *_pRpcChannelBuffer,
  2021. PRPC_MESSAGE _pRpcMessage,
  2022. DWORD *_pdwStubPhase);
  2023. HRESULT STDMETHODCALLTYPE IWbemServices_CancelAsyncCall_Proxy(
  2024. IWbemServices * This,
  2025. /* [in] */ IWbemObjectSink *pSink);
  2026. void __RPC_STUB IWbemServices_CancelAsyncCall_Stub(
  2027. IRpcStubBuffer *This,
  2028. IRpcChannelBuffer *_pRpcChannelBuffer,
  2029. PRPC_MESSAGE _pRpcMessage,
  2030. DWORD *_pdwStubPhase);
  2031. HRESULT STDMETHODCALLTYPE IWbemServices_QueryObjectSink_Proxy(
  2032. IWbemServices * This,
  2033. /* [in] */ long lFlags,
  2034. /* [out] */ IWbemObjectSink **ppResponseHandler);
  2035. void __RPC_STUB IWbemServices_QueryObjectSink_Stub(
  2036. IRpcStubBuffer *This,
  2037. IRpcChannelBuffer *_pRpcChannelBuffer,
  2038. PRPC_MESSAGE _pRpcMessage,
  2039. DWORD *_pdwStubPhase);
  2040. HRESULT STDMETHODCALLTYPE IWbemServices_GetObject_Proxy(
  2041. IWbemServices * This,
  2042. /* [in] */ const BSTR strObjectPath,
  2043. /* [in] */ long lFlags,
  2044. /* [in] */ IWbemContext *pCtx,
  2045. /* [unique][in][out] */ IWbemClassObject **ppObject,
  2046. /* [unique][in][out] */ IWbemCallResult **ppCallResult);
  2047. void __RPC_STUB IWbemServices_GetObject_Stub(
  2048. IRpcStubBuffer *This,
  2049. IRpcChannelBuffer *_pRpcChannelBuffer,
  2050. PRPC_MESSAGE _pRpcMessage,
  2051. DWORD *_pdwStubPhase);
  2052. HRESULT STDMETHODCALLTYPE IWbemServices_GetObjectAsync_Proxy(
  2053. IWbemServices * This,
  2054. /* [in] */ const BSTR strObjectPath,
  2055. /* [in] */ long lFlags,
  2056. /* [in] */ IWbemContext *pCtx,
  2057. /* [in] */ IWbemObjectSink *pResponseHandler);
  2058. void __RPC_STUB IWbemServices_GetObjectAsync_Stub(
  2059. IRpcStubBuffer *This,
  2060. IRpcChannelBuffer *_pRpcChannelBuffer,
  2061. PRPC_MESSAGE _pRpcMessage,
  2062. DWORD *_pdwStubPhase);
  2063. HRESULT STDMETHODCALLTYPE IWbemServices_PutClass_Proxy(
  2064. IWbemServices * This,
  2065. /* [in] */ IWbemClassObject *pObject,
  2066. /* [in] */ long lFlags,
  2067. /* [in] */ IWbemContext *pCtx,
  2068. /* [unique][in][out] */ IWbemCallResult **ppCallResult);
  2069. void __RPC_STUB IWbemServices_PutClass_Stub(
  2070. IRpcStubBuffer *This,
  2071. IRpcChannelBuffer *_pRpcChannelBuffer,
  2072. PRPC_MESSAGE _pRpcMessage,
  2073. DWORD *_pdwStubPhase);
  2074. HRESULT STDMETHODCALLTYPE IWbemServices_PutClassAsync_Proxy(
  2075. IWbemServices * This,
  2076. /* [in] */ IWbemClassObject *pObject,
  2077. /* [in] */ long lFlags,
  2078. /* [in] */ IWbemContext *pCtx,
  2079. /* [in] */ IWbemObjectSink *pResponseHandler);
  2080. void __RPC_STUB IWbemServices_PutClassAsync_Stub(
  2081. IRpcStubBuffer *This,
  2082. IRpcChannelBuffer *_pRpcChannelBuffer,
  2083. PRPC_MESSAGE _pRpcMessage,
  2084. DWORD *_pdwStubPhase);
  2085. HRESULT STDMETHODCALLTYPE IWbemServices_DeleteClass_Proxy(
  2086. IWbemServices * This,
  2087. /* [in] */ const BSTR strClass,
  2088. /* [in] */ long lFlags,
  2089. /* [in] */ IWbemContext *pCtx,
  2090. /* [unique][in][out] */ IWbemCallResult **ppCallResult);
  2091. void __RPC_STUB IWbemServices_DeleteClass_Stub(
  2092. IRpcStubBuffer *This,
  2093. IRpcChannelBuffer *_pRpcChannelBuffer,
  2094. PRPC_MESSAGE _pRpcMessage,
  2095. DWORD *_pdwStubPhase);
  2096. HRESULT STDMETHODCALLTYPE IWbemServices_DeleteClassAsync_Proxy(
  2097. IWbemServices * This,
  2098. /* [in] */ const BSTR strClass,
  2099. /* [in] */ long lFlags,
  2100. /* [in] */ IWbemContext *pCtx,
  2101. /* [in] */ IWbemObjectSink *pResponseHandler);
  2102. void __RPC_STUB IWbemServices_DeleteClassAsync_Stub(
  2103. IRpcStubBuffer *This,
  2104. IRpcChannelBuffer *_pRpcChannelBuffer,
  2105. PRPC_MESSAGE _pRpcMessage,
  2106. DWORD *_pdwStubPhase);
  2107. HRESULT STDMETHODCALLTYPE IWbemServices_CreateClassEnum_Proxy(
  2108. IWbemServices * This,
  2109. /* [in] */ const BSTR strSuperclass,
  2110. /* [in] */ long lFlags,
  2111. /* [in] */ IWbemContext *pCtx,
  2112. /* [out] */ IEnumWbemClassObject **ppEnum);
  2113. void __RPC_STUB IWbemServices_CreateClassEnum_Stub(
  2114. IRpcStubBuffer *This,
  2115. IRpcChannelBuffer *_pRpcChannelBuffer,
  2116. PRPC_MESSAGE _pRpcMessage,
  2117. DWORD *_pdwStubPhase);
  2118. HRESULT STDMETHODCALLTYPE IWbemServices_CreateClassEnumAsync_Proxy(
  2119. IWbemServices * This,
  2120. /* [in] */ const BSTR strSuperclass,
  2121. /* [in] */ long lFlags,
  2122. /* [in] */ IWbemContext *pCtx,
  2123. /* [in] */ IWbemObjectSink *pResponseHandler);
  2124. void __RPC_STUB IWbemServices_CreateClassEnumAsync_Stub(
  2125. IRpcStubBuffer *This,
  2126. IRpcChannelBuffer *_pRpcChannelBuffer,
  2127. PRPC_MESSAGE _pRpcMessage,
  2128. DWORD *_pdwStubPhase);
  2129. HRESULT STDMETHODCALLTYPE IWbemServices_PutInstance_Proxy(
  2130. IWbemServices * This,
  2131. /* [in] */ IWbemClassObject *pInst,
  2132. /* [in] */ long lFlags,
  2133. /* [in] */ IWbemContext *pCtx,
  2134. /* [unique][in][out] */ IWbemCallResult **ppCallResult);
  2135. void __RPC_STUB IWbemServices_PutInstance_Stub(
  2136. IRpcStubBuffer *This,
  2137. IRpcChannelBuffer *_pRpcChannelBuffer,
  2138. PRPC_MESSAGE _pRpcMessage,
  2139. DWORD *_pdwStubPhase);
  2140. HRESULT STDMETHODCALLTYPE IWbemServices_PutInstanceAsync_Proxy(
  2141. IWbemServices * This,
  2142. /* [in] */ IWbemClassObject *pInst,
  2143. /* [in] */ long lFlags,
  2144. /* [in] */ IWbemContext *pCtx,
  2145. /* [in] */ IWbemObjectSink *pResponseHandler);
  2146. void __RPC_STUB IWbemServices_PutInstanceAsync_Stub(
  2147. IRpcStubBuffer *This,
  2148. IRpcChannelBuffer *_pRpcChannelBuffer,
  2149. PRPC_MESSAGE _pRpcMessage,
  2150. DWORD *_pdwStubPhase);
  2151. HRESULT STDMETHODCALLTYPE IWbemServices_DeleteInstance_Proxy(
  2152. IWbemServices * This,
  2153. /* [in] */ const BSTR strObjectPath,
  2154. /* [in] */ long lFlags,
  2155. /* [in] */ IWbemContext *pCtx,
  2156. /* [unique][in][out] */ IWbemCallResult **ppCallResult);
  2157. void __RPC_STUB IWbemServices_DeleteInstance_Stub(
  2158. IRpcStubBuffer *This,
  2159. IRpcChannelBuffer *_pRpcChannelBuffer,
  2160. PRPC_MESSAGE _pRpcMessage,
  2161. DWORD *_pdwStubPhase);
  2162. HRESULT STDMETHODCALLTYPE IWbemServices_DeleteInstanceAsync_Proxy(
  2163. IWbemServices * This,
  2164. /* [in] */ const BSTR strObjectPath,
  2165. /* [in] */ long lFlags,
  2166. /* [in] */ IWbemContext *pCtx,
  2167. /* [in] */ IWbemObjectSink *pResponseHandler);
  2168. void __RPC_STUB IWbemServices_DeleteInstanceAsync_Stub(
  2169. IRpcStubBuffer *This,
  2170. IRpcChannelBuffer *_pRpcChannelBuffer,
  2171. PRPC_MESSAGE _pRpcMessage,
  2172. DWORD *_pdwStubPhase);
  2173. HRESULT STDMETHODCALLTYPE IWbemServices_CreateInstanceEnum_Proxy(
  2174. IWbemServices * This,
  2175. /* [in] */ const BSTR strFilter,
  2176. /* [in] */ long lFlags,
  2177. /* [in] */ IWbemContext *pCtx,
  2178. /* [out] */ IEnumWbemClassObject **ppEnum);
  2179. void __RPC_STUB IWbemServices_CreateInstanceEnum_Stub(
  2180. IRpcStubBuffer *This,
  2181. IRpcChannelBuffer *_pRpcChannelBuffer,
  2182. PRPC_MESSAGE _pRpcMessage,
  2183. DWORD *_pdwStubPhase);
  2184. HRESULT STDMETHODCALLTYPE IWbemServices_CreateInstanceEnumAsync_Proxy(
  2185. IWbemServices * This,
  2186. /* [in] */ const BSTR strFilter,
  2187. /* [in] */ long lFlags,
  2188. /* [in] */ IWbemContext *pCtx,
  2189. /* [in] */ IWbemObjectSink *pResponseHandler);
  2190. void __RPC_STUB IWbemServices_CreateInstanceEnumAsync_Stub(
  2191. IRpcStubBuffer *This,
  2192. IRpcChannelBuffer *_pRpcChannelBuffer,
  2193. PRPC_MESSAGE _pRpcMessage,
  2194. DWORD *_pdwStubPhase);
  2195. HRESULT STDMETHODCALLTYPE IWbemServices_ExecQuery_Proxy(
  2196. IWbemServices * This,
  2197. /* [in] */ const BSTR strQueryLanguage,
  2198. /* [in] */ const BSTR strQuery,
  2199. /* [in] */ long lFlags,
  2200. /* [in] */ IWbemContext *pCtx,
  2201. /* [out] */ IEnumWbemClassObject **ppEnum);
  2202. void __RPC_STUB IWbemServices_ExecQuery_Stub(
  2203. IRpcStubBuffer *This,
  2204. IRpcChannelBuffer *_pRpcChannelBuffer,
  2205. PRPC_MESSAGE _pRpcMessage,
  2206. DWORD *_pdwStubPhase);
  2207. HRESULT STDMETHODCALLTYPE IWbemServices_ExecQueryAsync_Proxy(
  2208. IWbemServices * This,
  2209. /* [in] */ const BSTR strQueryLanguage,
  2210. /* [in] */ const BSTR strQuery,
  2211. /* [in] */ long lFlags,
  2212. /* [in] */ IWbemContext *pCtx,
  2213. /* [in] */ IWbemObjectSink *pResponseHandler);
  2214. void __RPC_STUB IWbemServices_ExecQueryAsync_Stub(
  2215. IRpcStubBuffer *This,
  2216. IRpcChannelBuffer *_pRpcChannelBuffer,
  2217. PRPC_MESSAGE _pRpcMessage,
  2218. DWORD *_pdwStubPhase);
  2219. HRESULT STDMETHODCALLTYPE IWbemServices_ExecNotificationQuery_Proxy(
  2220. IWbemServices * This,
  2221. /* [in] */ const BSTR strQueryLanguage,
  2222. /* [in] */ const BSTR strQuery,
  2223. /* [in] */ long lFlags,
  2224. /* [in] */ IWbemContext *pCtx,
  2225. /* [out] */ IEnumWbemClassObject **ppEnum);
  2226. void __RPC_STUB IWbemServices_ExecNotificationQuery_Stub(
  2227. IRpcStubBuffer *This,
  2228. IRpcChannelBuffer *_pRpcChannelBuffer,
  2229. PRPC_MESSAGE _pRpcMessage,
  2230. DWORD *_pdwStubPhase);
  2231. HRESULT STDMETHODCALLTYPE IWbemServices_ExecNotificationQueryAsync_Proxy(
  2232. IWbemServices * This,
  2233. /* [in] */ const BSTR strQueryLanguage,
  2234. /* [in] */ const BSTR strQuery,
  2235. /* [in] */ long lFlags,
  2236. /* [in] */ IWbemContext *pCtx,
  2237. /* [in] */ IWbemObjectSink *pResponseHandler);
  2238. void __RPC_STUB IWbemServices_ExecNotificationQueryAsync_Stub(
  2239. IRpcStubBuffer *This,
  2240. IRpcChannelBuffer *_pRpcChannelBuffer,
  2241. PRPC_MESSAGE _pRpcMessage,
  2242. DWORD *_pdwStubPhase);
  2243. HRESULT STDMETHODCALLTYPE IWbemServices_ExecMethod_Proxy(
  2244. IWbemServices * This,
  2245. /* [in] */ const BSTR strObjectPath,
  2246. /* [in] */ const BSTR strMethodName,
  2247. /* [in] */ long lFlags,
  2248. /* [in] */ IWbemContext *pCtx,
  2249. /* [in] */ IWbemClassObject *pInParams,
  2250. /* [unique][in][out] */ IWbemClassObject **ppOutParams,
  2251. /* [unique][in][out] */ IWbemCallResult **ppCallResult);
  2252. void __RPC_STUB IWbemServices_ExecMethod_Stub(
  2253. IRpcStubBuffer *This,
  2254. IRpcChannelBuffer *_pRpcChannelBuffer,
  2255. PRPC_MESSAGE _pRpcMessage,
  2256. DWORD *_pdwStubPhase);
  2257. HRESULT STDMETHODCALLTYPE IWbemServices_ExecMethodAsync_Proxy(
  2258. IWbemServices * This,
  2259. /* [in] */ const BSTR strObjectPath,
  2260. /* [in] */ const BSTR strMethodName,
  2261. /* [in] */ long lFlags,
  2262. /* [in] */ IWbemContext *pCtx,
  2263. /* [in] */ IWbemClassObject *pInParams,
  2264. /* [in] */ IWbemObjectSink *pResponseHandler);
  2265. void __RPC_STUB IWbemServices_ExecMethodAsync_Stub(
  2266. IRpcStubBuffer *This,
  2267. IRpcChannelBuffer *_pRpcChannelBuffer,
  2268. PRPC_MESSAGE _pRpcMessage,
  2269. DWORD *_pdwStubPhase);
  2270. #endif /* __IWbemServices_INTERFACE_DEFINED__ */
  2271. #ifndef __IWbemLocator_INTERFACE_DEFINED__
  2272. #define __IWbemLocator_INTERFACE_DEFINED__
  2273. /* interface IWbemLocator */
  2274. /* [unique][uuid][local][restricted][object] */
  2275. EXTERN_C const IID IID_IWbemLocator;
  2276. #if defined(__cplusplus) && !defined(CINTERFACE)
  2277. MIDL_INTERFACE("dc12a687-737f-11cf-884d-00aa004b2e24")
  2278. IWbemLocator : public IUnknown
  2279. {
  2280. public:
  2281. virtual HRESULT STDMETHODCALLTYPE ConnectServer(
  2282. /* [in] */ const BSTR strNetworkResource,
  2283. /* [in] */ const BSTR strUser,
  2284. /* [in] */ const BSTR strPassword,
  2285. /* [in] */ const BSTR strLocale,
  2286. /* [in] */ long lSecurityFlags,
  2287. /* [in] */ const BSTR strAuthority,
  2288. /* [in] */ IWbemContext *pCtx,
  2289. /* [out] */ IWbemServices **ppNamespace) = 0;
  2290. };
  2291. #else /* C style interface */
  2292. typedef struct IWbemLocatorVtbl
  2293. {
  2294. BEGIN_INTERFACE
  2295. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2296. IWbemLocator * This,
  2297. /* [in] */ REFIID riid,
  2298. /* [iid_is][out] */ void **ppvObject);
  2299. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2300. IWbemLocator * This);
  2301. ULONG ( STDMETHODCALLTYPE *Release )(
  2302. IWbemLocator * This);
  2303. HRESULT ( STDMETHODCALLTYPE *ConnectServer )(
  2304. IWbemLocator * This,
  2305. /* [in] */ const BSTR strNetworkResource,
  2306. /* [in] */ const BSTR strUser,
  2307. /* [in] */ const BSTR strPassword,
  2308. /* [in] */ const BSTR strLocale,
  2309. /* [in] */ long lSecurityFlags,
  2310. /* [in] */ const BSTR strAuthority,
  2311. /* [in] */ IWbemContext *pCtx,
  2312. /* [out] */ IWbemServices **ppNamespace);
  2313. END_INTERFACE
  2314. } IWbemLocatorVtbl;
  2315. interface IWbemLocator
  2316. {
  2317. CONST_VTBL struct IWbemLocatorVtbl *lpVtbl;
  2318. };
  2319. #ifdef COBJMACROS
  2320. #define IWbemLocator_QueryInterface(This,riid,ppvObject) \
  2321. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2322. #define IWbemLocator_AddRef(This) \
  2323. (This)->lpVtbl -> AddRef(This)
  2324. #define IWbemLocator_Release(This) \
  2325. (This)->lpVtbl -> Release(This)
  2326. #define IWbemLocator_ConnectServer(This,strNetworkResource,strUser,strPassword,strLocale,lSecurityFlags,strAuthority,pCtx,ppNamespace) \
  2327. (This)->lpVtbl -> ConnectServer(This,strNetworkResource,strUser,strPassword,strLocale,lSecurityFlags,strAuthority,pCtx,ppNamespace)
  2328. #endif /* COBJMACROS */
  2329. #endif /* C style interface */
  2330. HRESULT STDMETHODCALLTYPE IWbemLocator_ConnectServer_Proxy(
  2331. IWbemLocator * This,
  2332. /* [in] */ const BSTR strNetworkResource,
  2333. /* [in] */ const BSTR strUser,
  2334. /* [in] */ const BSTR strPassword,
  2335. /* [in] */ const BSTR strLocale,
  2336. /* [in] */ long lSecurityFlags,
  2337. /* [in] */ const BSTR strAuthority,
  2338. /* [in] */ IWbemContext *pCtx,
  2339. /* [out] */ IWbemServices **ppNamespace);
  2340. void __RPC_STUB IWbemLocator_ConnectServer_Stub(
  2341. IRpcStubBuffer *This,
  2342. IRpcChannelBuffer *_pRpcChannelBuffer,
  2343. PRPC_MESSAGE _pRpcMessage,
  2344. DWORD *_pdwStubPhase);
  2345. #endif /* __IWbemLocator_INTERFACE_DEFINED__ */
  2346. #ifndef __IWbemObjectSink_INTERFACE_DEFINED__
  2347. #define __IWbemObjectSink_INTERFACE_DEFINED__
  2348. /* interface IWbemObjectSink */
  2349. /* [uuid][restricted][object] */
  2350. EXTERN_C const IID IID_IWbemObjectSink;
  2351. #if defined(__cplusplus) && !defined(CINTERFACE)
  2352. MIDL_INTERFACE("7c857801-7381-11cf-884d-00aa004b2e24")
  2353. IWbemObjectSink : public IUnknown
  2354. {
  2355. public:
  2356. virtual HRESULT STDMETHODCALLTYPE Indicate(
  2357. /* [in] */ long lObjectCount,
  2358. /* [size_is][in] */ IWbemClassObject **apObjArray) = 0;
  2359. virtual HRESULT STDMETHODCALLTYPE SetStatus(
  2360. /* [in] */ long lFlags,
  2361. /* [in] */ HRESULT hResult,
  2362. /* [in] */ BSTR strParam,
  2363. /* [in] */ IWbemClassObject *pObjParam) = 0;
  2364. };
  2365. #else /* C style interface */
  2366. typedef struct IWbemObjectSinkVtbl
  2367. {
  2368. BEGIN_INTERFACE
  2369. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2370. IWbemObjectSink * This,
  2371. /* [in] */ REFIID riid,
  2372. /* [iid_is][out] */ void **ppvObject);
  2373. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2374. IWbemObjectSink * This);
  2375. ULONG ( STDMETHODCALLTYPE *Release )(
  2376. IWbemObjectSink * This);
  2377. HRESULT ( STDMETHODCALLTYPE *Indicate )(
  2378. IWbemObjectSink * This,
  2379. /* [in] */ long lObjectCount,
  2380. /* [size_is][in] */ IWbemClassObject **apObjArray);
  2381. HRESULT ( STDMETHODCALLTYPE *SetStatus )(
  2382. IWbemObjectSink * This,
  2383. /* [in] */ long lFlags,
  2384. /* [in] */ HRESULT hResult,
  2385. /* [in] */ BSTR strParam,
  2386. /* [in] */ IWbemClassObject *pObjParam);
  2387. END_INTERFACE
  2388. } IWbemObjectSinkVtbl;
  2389. interface IWbemObjectSink
  2390. {
  2391. CONST_VTBL struct IWbemObjectSinkVtbl *lpVtbl;
  2392. };
  2393. #ifdef COBJMACROS
  2394. #define IWbemObjectSink_QueryInterface(This,riid,ppvObject) \
  2395. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2396. #define IWbemObjectSink_AddRef(This) \
  2397. (This)->lpVtbl -> AddRef(This)
  2398. #define IWbemObjectSink_Release(This) \
  2399. (This)->lpVtbl -> Release(This)
  2400. #define IWbemObjectSink_Indicate(This,lObjectCount,apObjArray) \
  2401. (This)->lpVtbl -> Indicate(This,lObjectCount,apObjArray)
  2402. #define IWbemObjectSink_SetStatus(This,lFlags,hResult,strParam,pObjParam) \
  2403. (This)->lpVtbl -> SetStatus(This,lFlags,hResult,strParam,pObjParam)
  2404. #endif /* COBJMACROS */
  2405. #endif /* C style interface */
  2406. HRESULT STDMETHODCALLTYPE IWbemObjectSink_Indicate_Proxy(
  2407. IWbemObjectSink * This,
  2408. /* [in] */ long lObjectCount,
  2409. /* [size_is][in] */ IWbemClassObject **apObjArray);
  2410. void __RPC_STUB IWbemObjectSink_Indicate_Stub(
  2411. IRpcStubBuffer *This,
  2412. IRpcChannelBuffer *_pRpcChannelBuffer,
  2413. PRPC_MESSAGE _pRpcMessage,
  2414. DWORD *_pdwStubPhase);
  2415. HRESULT STDMETHODCALLTYPE IWbemObjectSink_SetStatus_Proxy(
  2416. IWbemObjectSink * This,
  2417. /* [in] */ long lFlags,
  2418. /* [in] */ HRESULT hResult,
  2419. /* [in] */ BSTR strParam,
  2420. /* [in] */ IWbemClassObject *pObjParam);
  2421. void __RPC_STUB IWbemObjectSink_SetStatus_Stub(
  2422. IRpcStubBuffer *This,
  2423. IRpcChannelBuffer *_pRpcChannelBuffer,
  2424. PRPC_MESSAGE _pRpcMessage,
  2425. DWORD *_pdwStubPhase);
  2426. #endif /* __IWbemObjectSink_INTERFACE_DEFINED__ */
  2427. #ifndef __IEnumWbemClassObject_INTERFACE_DEFINED__
  2428. #define __IEnumWbemClassObject_INTERFACE_DEFINED__
  2429. /* interface IEnumWbemClassObject */
  2430. /* [uuid][restricted][object] */
  2431. EXTERN_C const IID IID_IEnumWbemClassObject;
  2432. #if defined(__cplusplus) && !defined(CINTERFACE)
  2433. MIDL_INTERFACE("027947e1-d731-11ce-a357-000000000001")
  2434. IEnumWbemClassObject : public IUnknown
  2435. {
  2436. public:
  2437. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  2438. virtual HRESULT STDMETHODCALLTYPE Next(
  2439. /* [in] */ long lTimeout,
  2440. /* [in] */ ULONG uCount,
  2441. /* [length_is][size_is][out] */ IWbemClassObject **apObjects,
  2442. /* [out] */ ULONG *puReturned) = 0;
  2443. virtual HRESULT STDMETHODCALLTYPE NextAsync(
  2444. /* [in] */ ULONG uCount,
  2445. /* [in] */ IWbemObjectSink *pSink) = 0;
  2446. virtual HRESULT STDMETHODCALLTYPE Clone(
  2447. /* [out] */ IEnumWbemClassObject **ppEnum) = 0;
  2448. virtual HRESULT STDMETHODCALLTYPE Skip(
  2449. /* [in] */ long lTimeout,
  2450. /* [in] */ ULONG nCount) = 0;
  2451. };
  2452. #else /* C style interface */
  2453. typedef struct IEnumWbemClassObjectVtbl
  2454. {
  2455. BEGIN_INTERFACE
  2456. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2457. IEnumWbemClassObject * This,
  2458. /* [in] */ REFIID riid,
  2459. /* [iid_is][out] */ void **ppvObject);
  2460. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2461. IEnumWbemClassObject * This);
  2462. ULONG ( STDMETHODCALLTYPE *Release )(
  2463. IEnumWbemClassObject * This);
  2464. HRESULT ( STDMETHODCALLTYPE *Reset )(
  2465. IEnumWbemClassObject * This);
  2466. HRESULT ( STDMETHODCALLTYPE *Next )(
  2467. IEnumWbemClassObject * This,
  2468. /* [in] */ long lTimeout,
  2469. /* [in] */ ULONG uCount,
  2470. /* [length_is][size_is][out] */ IWbemClassObject **apObjects,
  2471. /* [out] */ ULONG *puReturned);
  2472. HRESULT ( STDMETHODCALLTYPE *NextAsync )(
  2473. IEnumWbemClassObject * This,
  2474. /* [in] */ ULONG uCount,
  2475. /* [in] */ IWbemObjectSink *pSink);
  2476. HRESULT ( STDMETHODCALLTYPE *Clone )(
  2477. IEnumWbemClassObject * This,
  2478. /* [out] */ IEnumWbemClassObject **ppEnum);
  2479. HRESULT ( STDMETHODCALLTYPE *Skip )(
  2480. IEnumWbemClassObject * This,
  2481. /* [in] */ long lTimeout,
  2482. /* [in] */ ULONG nCount);
  2483. END_INTERFACE
  2484. } IEnumWbemClassObjectVtbl;
  2485. interface IEnumWbemClassObject
  2486. {
  2487. CONST_VTBL struct IEnumWbemClassObjectVtbl *lpVtbl;
  2488. };
  2489. #ifdef COBJMACROS
  2490. #define IEnumWbemClassObject_QueryInterface(This,riid,ppvObject) \
  2491. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2492. #define IEnumWbemClassObject_AddRef(This) \
  2493. (This)->lpVtbl -> AddRef(This)
  2494. #define IEnumWbemClassObject_Release(This) \
  2495. (This)->lpVtbl -> Release(This)
  2496. #define IEnumWbemClassObject_Reset(This) \
  2497. (This)->lpVtbl -> Reset(This)
  2498. #define IEnumWbemClassObject_Next(This,lTimeout,uCount,apObjects,puReturned) \
  2499. (This)->lpVtbl -> Next(This,lTimeout,uCount,apObjects,puReturned)
  2500. #define IEnumWbemClassObject_NextAsync(This,uCount,pSink) \
  2501. (This)->lpVtbl -> NextAsync(This,uCount,pSink)
  2502. #define IEnumWbemClassObject_Clone(This,ppEnum) \
  2503. (This)->lpVtbl -> Clone(This,ppEnum)
  2504. #define IEnumWbemClassObject_Skip(This,lTimeout,nCount) \
  2505. (This)->lpVtbl -> Skip(This,lTimeout,nCount)
  2506. #endif /* COBJMACROS */
  2507. #endif /* C style interface */
  2508. HRESULT STDMETHODCALLTYPE IEnumWbemClassObject_Reset_Proxy(
  2509. IEnumWbemClassObject * This);
  2510. void __RPC_STUB IEnumWbemClassObject_Reset_Stub(
  2511. IRpcStubBuffer *This,
  2512. IRpcChannelBuffer *_pRpcChannelBuffer,
  2513. PRPC_MESSAGE _pRpcMessage,
  2514. DWORD *_pdwStubPhase);
  2515. HRESULT STDMETHODCALLTYPE IEnumWbemClassObject_Next_Proxy(
  2516. IEnumWbemClassObject * This,
  2517. /* [in] */ long lTimeout,
  2518. /* [in] */ ULONG uCount,
  2519. /* [length_is][size_is][out] */ IWbemClassObject **apObjects,
  2520. /* [out] */ ULONG *puReturned);
  2521. void __RPC_STUB IEnumWbemClassObject_Next_Stub(
  2522. IRpcStubBuffer *This,
  2523. IRpcChannelBuffer *_pRpcChannelBuffer,
  2524. PRPC_MESSAGE _pRpcMessage,
  2525. DWORD *_pdwStubPhase);
  2526. HRESULT STDMETHODCALLTYPE IEnumWbemClassObject_NextAsync_Proxy(
  2527. IEnumWbemClassObject * This,
  2528. /* [in] */ ULONG uCount,
  2529. /* [in] */ IWbemObjectSink *pSink);
  2530. void __RPC_STUB IEnumWbemClassObject_NextAsync_Stub(
  2531. IRpcStubBuffer *This,
  2532. IRpcChannelBuffer *_pRpcChannelBuffer,
  2533. PRPC_MESSAGE _pRpcMessage,
  2534. DWORD *_pdwStubPhase);
  2535. HRESULT STDMETHODCALLTYPE IEnumWbemClassObject_Clone_Proxy(
  2536. IEnumWbemClassObject * This,
  2537. /* [out] */ IEnumWbemClassObject **ppEnum);
  2538. void __RPC_STUB IEnumWbemClassObject_Clone_Stub(
  2539. IRpcStubBuffer *This,
  2540. IRpcChannelBuffer *_pRpcChannelBuffer,
  2541. PRPC_MESSAGE _pRpcMessage,
  2542. DWORD *_pdwStubPhase);
  2543. HRESULT STDMETHODCALLTYPE IEnumWbemClassObject_Skip_Proxy(
  2544. IEnumWbemClassObject * This,
  2545. /* [in] */ long lTimeout,
  2546. /* [in] */ ULONG nCount);
  2547. void __RPC_STUB IEnumWbemClassObject_Skip_Stub(
  2548. IRpcStubBuffer *This,
  2549. IRpcChannelBuffer *_pRpcChannelBuffer,
  2550. PRPC_MESSAGE _pRpcMessage,
  2551. DWORD *_pdwStubPhase);
  2552. #endif /* __IEnumWbemClassObject_INTERFACE_DEFINED__ */
  2553. #ifndef __IWbemCallResult_INTERFACE_DEFINED__
  2554. #define __IWbemCallResult_INTERFACE_DEFINED__
  2555. /* interface IWbemCallResult */
  2556. /* [uuid][restricted][object] */
  2557. EXTERN_C const IID IID_IWbemCallResult;
  2558. #if defined(__cplusplus) && !defined(CINTERFACE)
  2559. MIDL_INTERFACE("44aca675-e8fc-11d0-a07c-00c04fb68820")
  2560. IWbemCallResult : public IUnknown
  2561. {
  2562. public:
  2563. virtual HRESULT STDMETHODCALLTYPE GetResultObject(
  2564. /* [in] */ long lTimeout,
  2565. /* [out] */ IWbemClassObject **ppResultObject) = 0;
  2566. virtual HRESULT STDMETHODCALLTYPE GetResultString(
  2567. /* [in] */ long lTimeout,
  2568. /* [out] */ BSTR *pstrResultString) = 0;
  2569. virtual HRESULT STDMETHODCALLTYPE GetResultServices(
  2570. /* [in] */ long lTimeout,
  2571. /* [out] */ IWbemServices **ppServices) = 0;
  2572. virtual HRESULT STDMETHODCALLTYPE GetCallStatus(
  2573. /* [in] */ long lTimeout,
  2574. /* [out] */ long *plStatus) = 0;
  2575. };
  2576. #else /* C style interface */
  2577. typedef struct IWbemCallResultVtbl
  2578. {
  2579. BEGIN_INTERFACE
  2580. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2581. IWbemCallResult * This,
  2582. /* [in] */ REFIID riid,
  2583. /* [iid_is][out] */ void **ppvObject);
  2584. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2585. IWbemCallResult * This);
  2586. ULONG ( STDMETHODCALLTYPE *Release )(
  2587. IWbemCallResult * This);
  2588. HRESULT ( STDMETHODCALLTYPE *GetResultObject )(
  2589. IWbemCallResult * This,
  2590. /* [in] */ long lTimeout,
  2591. /* [out] */ IWbemClassObject **ppResultObject);
  2592. HRESULT ( STDMETHODCALLTYPE *GetResultString )(
  2593. IWbemCallResult * This,
  2594. /* [in] */ long lTimeout,
  2595. /* [out] */ BSTR *pstrResultString);
  2596. HRESULT ( STDMETHODCALLTYPE *GetResultServices )(
  2597. IWbemCallResult * This,
  2598. /* [in] */ long lTimeout,
  2599. /* [out] */ IWbemServices **ppServices);
  2600. HRESULT ( STDMETHODCALLTYPE *GetCallStatus )(
  2601. IWbemCallResult * This,
  2602. /* [in] */ long lTimeout,
  2603. /* [out] */ long *plStatus);
  2604. END_INTERFACE
  2605. } IWbemCallResultVtbl;
  2606. interface IWbemCallResult
  2607. {
  2608. CONST_VTBL struct IWbemCallResultVtbl *lpVtbl;
  2609. };
  2610. #ifdef COBJMACROS
  2611. #define IWbemCallResult_QueryInterface(This,riid,ppvObject) \
  2612. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2613. #define IWbemCallResult_AddRef(This) \
  2614. (This)->lpVtbl -> AddRef(This)
  2615. #define IWbemCallResult_Release(This) \
  2616. (This)->lpVtbl -> Release(This)
  2617. #define IWbemCallResult_GetResultObject(This,lTimeout,ppResultObject) \
  2618. (This)->lpVtbl -> GetResultObject(This,lTimeout,ppResultObject)
  2619. #define IWbemCallResult_GetResultString(This,lTimeout,pstrResultString) \
  2620. (This)->lpVtbl -> GetResultString(This,lTimeout,pstrResultString)
  2621. #define IWbemCallResult_GetResultServices(This,lTimeout,ppServices) \
  2622. (This)->lpVtbl -> GetResultServices(This,lTimeout,ppServices)
  2623. #define IWbemCallResult_GetCallStatus(This,lTimeout,plStatus) \
  2624. (This)->lpVtbl -> GetCallStatus(This,lTimeout,plStatus)
  2625. #endif /* COBJMACROS */
  2626. #endif /* C style interface */
  2627. HRESULT STDMETHODCALLTYPE IWbemCallResult_GetResultObject_Proxy(
  2628. IWbemCallResult * This,
  2629. /* [in] */ long lTimeout,
  2630. /* [out] */ IWbemClassObject **ppResultObject);
  2631. void __RPC_STUB IWbemCallResult_GetResultObject_Stub(
  2632. IRpcStubBuffer *This,
  2633. IRpcChannelBuffer *_pRpcChannelBuffer,
  2634. PRPC_MESSAGE _pRpcMessage,
  2635. DWORD *_pdwStubPhase);
  2636. HRESULT STDMETHODCALLTYPE IWbemCallResult_GetResultString_Proxy(
  2637. IWbemCallResult * This,
  2638. /* [in] */ long lTimeout,
  2639. /* [out] */ BSTR *pstrResultString);
  2640. void __RPC_STUB IWbemCallResult_GetResultString_Stub(
  2641. IRpcStubBuffer *This,
  2642. IRpcChannelBuffer *_pRpcChannelBuffer,
  2643. PRPC_MESSAGE _pRpcMessage,
  2644. DWORD *_pdwStubPhase);
  2645. HRESULT STDMETHODCALLTYPE IWbemCallResult_GetResultServices_Proxy(
  2646. IWbemCallResult * This,
  2647. /* [in] */ long lTimeout,
  2648. /* [out] */ IWbemServices **ppServices);
  2649. void __RPC_STUB IWbemCallResult_GetResultServices_Stub(
  2650. IRpcStubBuffer *This,
  2651. IRpcChannelBuffer *_pRpcChannelBuffer,
  2652. PRPC_MESSAGE _pRpcMessage,
  2653. DWORD *_pdwStubPhase);
  2654. HRESULT STDMETHODCALLTYPE IWbemCallResult_GetCallStatus_Proxy(
  2655. IWbemCallResult * This,
  2656. /* [in] */ long lTimeout,
  2657. /* [out] */ long *plStatus);
  2658. void __RPC_STUB IWbemCallResult_GetCallStatus_Stub(
  2659. IRpcStubBuffer *This,
  2660. IRpcChannelBuffer *_pRpcChannelBuffer,
  2661. PRPC_MESSAGE _pRpcMessage,
  2662. DWORD *_pdwStubPhase);
  2663. #endif /* __IWbemCallResult_INTERFACE_DEFINED__ */
  2664. #ifndef __IWbemContext_INTERFACE_DEFINED__
  2665. #define __IWbemContext_INTERFACE_DEFINED__
  2666. /* interface IWbemContext */
  2667. /* [uuid][local][restricted][object] */
  2668. EXTERN_C const IID IID_IWbemContext;
  2669. #if defined(__cplusplus) && !defined(CINTERFACE)
  2670. MIDL_INTERFACE("44aca674-e8fc-11d0-a07c-00c04fb68820")
  2671. IWbemContext : public IUnknown
  2672. {
  2673. public:
  2674. virtual HRESULT STDMETHODCALLTYPE Clone(
  2675. /* [out] */ IWbemContext **ppNewCopy) = 0;
  2676. virtual HRESULT STDMETHODCALLTYPE GetNames(
  2677. /* [in] */ long lFlags,
  2678. /* [out] */ SAFEARRAY * *pNames) = 0;
  2679. virtual HRESULT STDMETHODCALLTYPE BeginEnumeration(
  2680. /* [in] */ long lFlags) = 0;
  2681. virtual HRESULT STDMETHODCALLTYPE Next(
  2682. /* [in] */ long lFlags,
  2683. /* [out] */ BSTR *pstrName,
  2684. /* [out] */ VARIANT *pValue) = 0;
  2685. virtual HRESULT STDMETHODCALLTYPE EndEnumeration( void) = 0;
  2686. virtual HRESULT STDMETHODCALLTYPE SetValue(
  2687. /* [string][in] */ LPCWSTR wszName,
  2688. /* [in] */ long lFlags,
  2689. /* [in] */ VARIANT *pValue) = 0;
  2690. virtual HRESULT STDMETHODCALLTYPE GetValue(
  2691. /* [string][in] */ LPCWSTR wszName,
  2692. /* [in] */ long lFlags,
  2693. /* [out] */ VARIANT *pValue) = 0;
  2694. virtual HRESULT STDMETHODCALLTYPE DeleteValue(
  2695. /* [string][in] */ LPCWSTR wszName,
  2696. /* [in] */ long lFlags) = 0;
  2697. virtual HRESULT STDMETHODCALLTYPE DeleteAll( void) = 0;
  2698. };
  2699. #else /* C style interface */
  2700. typedef struct IWbemContextVtbl
  2701. {
  2702. BEGIN_INTERFACE
  2703. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2704. IWbemContext * This,
  2705. /* [in] */ REFIID riid,
  2706. /* [iid_is][out] */ void **ppvObject);
  2707. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2708. IWbemContext * This);
  2709. ULONG ( STDMETHODCALLTYPE *Release )(
  2710. IWbemContext * This);
  2711. HRESULT ( STDMETHODCALLTYPE *Clone )(
  2712. IWbemContext * This,
  2713. /* [out] */ IWbemContext **ppNewCopy);
  2714. HRESULT ( STDMETHODCALLTYPE *GetNames )(
  2715. IWbemContext * This,
  2716. /* [in] */ long lFlags,
  2717. /* [out] */ SAFEARRAY * *pNames);
  2718. HRESULT ( STDMETHODCALLTYPE *BeginEnumeration )(
  2719. IWbemContext * This,
  2720. /* [in] */ long lFlags);
  2721. HRESULT ( STDMETHODCALLTYPE *Next )(
  2722. IWbemContext * This,
  2723. /* [in] */ long lFlags,
  2724. /* [out] */ BSTR *pstrName,
  2725. /* [out] */ VARIANT *pValue);
  2726. HRESULT ( STDMETHODCALLTYPE *EndEnumeration )(
  2727. IWbemContext * This);
  2728. HRESULT ( STDMETHODCALLTYPE *SetValue )(
  2729. IWbemContext * This,
  2730. /* [string][in] */ LPCWSTR wszName,
  2731. /* [in] */ long lFlags,
  2732. /* [in] */ VARIANT *pValue);
  2733. HRESULT ( STDMETHODCALLTYPE *GetValue )(
  2734. IWbemContext * This,
  2735. /* [string][in] */ LPCWSTR wszName,
  2736. /* [in] */ long lFlags,
  2737. /* [out] */ VARIANT *pValue);
  2738. HRESULT ( STDMETHODCALLTYPE *DeleteValue )(
  2739. IWbemContext * This,
  2740. /* [string][in] */ LPCWSTR wszName,
  2741. /* [in] */ long lFlags);
  2742. HRESULT ( STDMETHODCALLTYPE *DeleteAll )(
  2743. IWbemContext * This);
  2744. END_INTERFACE
  2745. } IWbemContextVtbl;
  2746. interface IWbemContext
  2747. {
  2748. CONST_VTBL struct IWbemContextVtbl *lpVtbl;
  2749. };
  2750. #ifdef COBJMACROS
  2751. #define IWbemContext_QueryInterface(This,riid,ppvObject) \
  2752. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2753. #define IWbemContext_AddRef(This) \
  2754. (This)->lpVtbl -> AddRef(This)
  2755. #define IWbemContext_Release(This) \
  2756. (This)->lpVtbl -> Release(This)
  2757. #define IWbemContext_Clone(This,ppNewCopy) \
  2758. (This)->lpVtbl -> Clone(This,ppNewCopy)
  2759. #define IWbemContext_GetNames(This,lFlags,pNames) \
  2760. (This)->lpVtbl -> GetNames(This,lFlags,pNames)
  2761. #define IWbemContext_BeginEnumeration(This,lFlags) \
  2762. (This)->lpVtbl -> BeginEnumeration(This,lFlags)
  2763. #define IWbemContext_Next(This,lFlags,pstrName,pValue) \
  2764. (This)->lpVtbl -> Next(This,lFlags,pstrName,pValue)
  2765. #define IWbemContext_EndEnumeration(This) \
  2766. (This)->lpVtbl -> EndEnumeration(This)
  2767. #define IWbemContext_SetValue(This,wszName,lFlags,pValue) \
  2768. (This)->lpVtbl -> SetValue(This,wszName,lFlags,pValue)
  2769. #define IWbemContext_GetValue(This,wszName,lFlags,pValue) \
  2770. (This)->lpVtbl -> GetValue(This,wszName,lFlags,pValue)
  2771. #define IWbemContext_DeleteValue(This,wszName,lFlags) \
  2772. (This)->lpVtbl -> DeleteValue(This,wszName,lFlags)
  2773. #define IWbemContext_DeleteAll(This) \
  2774. (This)->lpVtbl -> DeleteAll(This)
  2775. #endif /* COBJMACROS */
  2776. #endif /* C style interface */
  2777. HRESULT STDMETHODCALLTYPE IWbemContext_Clone_Proxy(
  2778. IWbemContext * This,
  2779. /* [out] */ IWbemContext **ppNewCopy);
  2780. void __RPC_STUB IWbemContext_Clone_Stub(
  2781. IRpcStubBuffer *This,
  2782. IRpcChannelBuffer *_pRpcChannelBuffer,
  2783. PRPC_MESSAGE _pRpcMessage,
  2784. DWORD *_pdwStubPhase);
  2785. HRESULT STDMETHODCALLTYPE IWbemContext_GetNames_Proxy(
  2786. IWbemContext * This,
  2787. /* [in] */ long lFlags,
  2788. /* [out] */ SAFEARRAY * *pNames);
  2789. void __RPC_STUB IWbemContext_GetNames_Stub(
  2790. IRpcStubBuffer *This,
  2791. IRpcChannelBuffer *_pRpcChannelBuffer,
  2792. PRPC_MESSAGE _pRpcMessage,
  2793. DWORD *_pdwStubPhase);
  2794. HRESULT STDMETHODCALLTYPE IWbemContext_BeginEnumeration_Proxy(
  2795. IWbemContext * This,
  2796. /* [in] */ long lFlags);
  2797. void __RPC_STUB IWbemContext_BeginEnumeration_Stub(
  2798. IRpcStubBuffer *This,
  2799. IRpcChannelBuffer *_pRpcChannelBuffer,
  2800. PRPC_MESSAGE _pRpcMessage,
  2801. DWORD *_pdwStubPhase);
  2802. HRESULT STDMETHODCALLTYPE IWbemContext_Next_Proxy(
  2803. IWbemContext * This,
  2804. /* [in] */ long lFlags,
  2805. /* [out] */ BSTR *pstrName,
  2806. /* [out] */ VARIANT *pValue);
  2807. void __RPC_STUB IWbemContext_Next_Stub(
  2808. IRpcStubBuffer *This,
  2809. IRpcChannelBuffer *_pRpcChannelBuffer,
  2810. PRPC_MESSAGE _pRpcMessage,
  2811. DWORD *_pdwStubPhase);
  2812. HRESULT STDMETHODCALLTYPE IWbemContext_EndEnumeration_Proxy(
  2813. IWbemContext * This);
  2814. void __RPC_STUB IWbemContext_EndEnumeration_Stub(
  2815. IRpcStubBuffer *This,
  2816. IRpcChannelBuffer *_pRpcChannelBuffer,
  2817. PRPC_MESSAGE _pRpcMessage,
  2818. DWORD *_pdwStubPhase);
  2819. HRESULT STDMETHODCALLTYPE IWbemContext_SetValue_Proxy(
  2820. IWbemContext * This,
  2821. /* [string][in] */ LPCWSTR wszName,
  2822. /* [in] */ long lFlags,
  2823. /* [in] */ VARIANT *pValue);
  2824. void __RPC_STUB IWbemContext_SetValue_Stub(
  2825. IRpcStubBuffer *This,
  2826. IRpcChannelBuffer *_pRpcChannelBuffer,
  2827. PRPC_MESSAGE _pRpcMessage,
  2828. DWORD *_pdwStubPhase);
  2829. HRESULT STDMETHODCALLTYPE IWbemContext_GetValue_Proxy(
  2830. IWbemContext * This,
  2831. /* [string][in] */ LPCWSTR wszName,
  2832. /* [in] */ long lFlags,
  2833. /* [out] */ VARIANT *pValue);
  2834. void __RPC_STUB IWbemContext_GetValue_Stub(
  2835. IRpcStubBuffer *This,
  2836. IRpcChannelBuffer *_pRpcChannelBuffer,
  2837. PRPC_MESSAGE _pRpcMessage,
  2838. DWORD *_pdwStubPhase);
  2839. HRESULT STDMETHODCALLTYPE IWbemContext_DeleteValue_Proxy(
  2840. IWbemContext * This,
  2841. /* [string][in] */ LPCWSTR wszName,
  2842. /* [in] */ long lFlags);
  2843. void __RPC_STUB IWbemContext_DeleteValue_Stub(
  2844. IRpcStubBuffer *This,
  2845. IRpcChannelBuffer *_pRpcChannelBuffer,
  2846. PRPC_MESSAGE _pRpcMessage,
  2847. DWORD *_pdwStubPhase);
  2848. HRESULT STDMETHODCALLTYPE IWbemContext_DeleteAll_Proxy(
  2849. IWbemContext * This);
  2850. void __RPC_STUB IWbemContext_DeleteAll_Stub(
  2851. IRpcStubBuffer *This,
  2852. IRpcChannelBuffer *_pRpcChannelBuffer,
  2853. PRPC_MESSAGE _pRpcMessage,
  2854. DWORD *_pdwStubPhase);
  2855. #endif /* __IWbemContext_INTERFACE_DEFINED__ */
  2856. #ifndef __IUnsecuredApartment_INTERFACE_DEFINED__
  2857. #define __IUnsecuredApartment_INTERFACE_DEFINED__
  2858. /* interface IUnsecuredApartment */
  2859. /* [object][uuid][restricted] */
  2860. EXTERN_C const IID IID_IUnsecuredApartment;
  2861. #if defined(__cplusplus) && !defined(CINTERFACE)
  2862. MIDL_INTERFACE("1cfaba8c-1523-11d1-ad79-00c04fd8fdff")
  2863. IUnsecuredApartment : public IUnknown
  2864. {
  2865. public:
  2866. virtual HRESULT STDMETHODCALLTYPE CreateObjectStub(
  2867. /* [in] */ IUnknown *pObject,
  2868. /* [out] */ IUnknown **ppStub) = 0;
  2869. };
  2870. #else /* C style interface */
  2871. typedef struct IUnsecuredApartmentVtbl
  2872. {
  2873. BEGIN_INTERFACE
  2874. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2875. IUnsecuredApartment * This,
  2876. /* [in] */ REFIID riid,
  2877. /* [iid_is][out] */ void **ppvObject);
  2878. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2879. IUnsecuredApartment * This);
  2880. ULONG ( STDMETHODCALLTYPE *Release )(
  2881. IUnsecuredApartment * This);
  2882. HRESULT ( STDMETHODCALLTYPE *CreateObjectStub )(
  2883. IUnsecuredApartment * This,
  2884. /* [in] */ IUnknown *pObject,
  2885. /* [out] */ IUnknown **ppStub);
  2886. END_INTERFACE
  2887. } IUnsecuredApartmentVtbl;
  2888. interface IUnsecuredApartment
  2889. {
  2890. CONST_VTBL struct IUnsecuredApartmentVtbl *lpVtbl;
  2891. };
  2892. #ifdef COBJMACROS
  2893. #define IUnsecuredApartment_QueryInterface(This,riid,ppvObject) \
  2894. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2895. #define IUnsecuredApartment_AddRef(This) \
  2896. (This)->lpVtbl -> AddRef(This)
  2897. #define IUnsecuredApartment_Release(This) \
  2898. (This)->lpVtbl -> Release(This)
  2899. #define IUnsecuredApartment_CreateObjectStub(This,pObject,ppStub) \
  2900. (This)->lpVtbl -> CreateObjectStub(This,pObject,ppStub)
  2901. #endif /* COBJMACROS */
  2902. #endif /* C style interface */
  2903. HRESULT STDMETHODCALLTYPE IUnsecuredApartment_CreateObjectStub_Proxy(
  2904. IUnsecuredApartment * This,
  2905. /* [in] */ IUnknown *pObject,
  2906. /* [out] */ IUnknown **ppStub);
  2907. void __RPC_STUB IUnsecuredApartment_CreateObjectStub_Stub(
  2908. IRpcStubBuffer *This,
  2909. IRpcChannelBuffer *_pRpcChannelBuffer,
  2910. PRPC_MESSAGE _pRpcMessage,
  2911. DWORD *_pdwStubPhase);
  2912. #endif /* __IUnsecuredApartment_INTERFACE_DEFINED__ */
  2913. #ifndef __IWbemUnsecuredApartment_INTERFACE_DEFINED__
  2914. #define __IWbemUnsecuredApartment_INTERFACE_DEFINED__
  2915. /* interface IWbemUnsecuredApartment */
  2916. /* [object][uuid][restricted] */
  2917. EXTERN_C const IID IID_IWbemUnsecuredApartment;
  2918. #if defined(__cplusplus) && !defined(CINTERFACE)
  2919. MIDL_INTERFACE("31739d04-3471-4cf4-9a7c-57a44ae71956")
  2920. IWbemUnsecuredApartment : public IUnsecuredApartment
  2921. {
  2922. public:
  2923. virtual HRESULT STDMETHODCALLTYPE CreateSinkStub(
  2924. /* [in] */ IWbemObjectSink *pSink,
  2925. /* [in] */ DWORD dwFlags,
  2926. /* [unique][in] */ LPCWSTR wszReserved,
  2927. /* [out] */ IWbemObjectSink **ppStub) = 0;
  2928. };
  2929. #else /* C style interface */
  2930. typedef struct IWbemUnsecuredApartmentVtbl
  2931. {
  2932. BEGIN_INTERFACE
  2933. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2934. IWbemUnsecuredApartment * This,
  2935. /* [in] */ REFIID riid,
  2936. /* [iid_is][out] */ void **ppvObject);
  2937. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2938. IWbemUnsecuredApartment * This);
  2939. ULONG ( STDMETHODCALLTYPE *Release )(
  2940. IWbemUnsecuredApartment * This);
  2941. HRESULT ( STDMETHODCALLTYPE *CreateObjectStub )(
  2942. IWbemUnsecuredApartment * This,
  2943. /* [in] */ IUnknown *pObject,
  2944. /* [out] */ IUnknown **ppStub);
  2945. HRESULT ( STDMETHODCALLTYPE *CreateSinkStub )(
  2946. IWbemUnsecuredApartment * This,
  2947. /* [in] */ IWbemObjectSink *pSink,
  2948. /* [in] */ DWORD dwFlags,
  2949. /* [unique][in] */ LPCWSTR wszReserved,
  2950. /* [out] */ IWbemObjectSink **ppStub);
  2951. END_INTERFACE
  2952. } IWbemUnsecuredApartmentVtbl;
  2953. interface IWbemUnsecuredApartment
  2954. {
  2955. CONST_VTBL struct IWbemUnsecuredApartmentVtbl *lpVtbl;
  2956. };
  2957. #ifdef COBJMACROS
  2958. #define IWbemUnsecuredApartment_QueryInterface(This,riid,ppvObject) \
  2959. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2960. #define IWbemUnsecuredApartment_AddRef(This) \
  2961. (This)->lpVtbl -> AddRef(This)
  2962. #define IWbemUnsecuredApartment_Release(This) \
  2963. (This)->lpVtbl -> Release(This)
  2964. #define IWbemUnsecuredApartment_CreateObjectStub(This,pObject,ppStub) \
  2965. (This)->lpVtbl -> CreateObjectStub(This,pObject,ppStub)
  2966. #define IWbemUnsecuredApartment_CreateSinkStub(This,pSink,dwFlags,wszReserved,ppStub) \
  2967. (This)->lpVtbl -> CreateSinkStub(This,pSink,dwFlags,wszReserved,ppStub)
  2968. #endif /* COBJMACROS */
  2969. #endif /* C style interface */
  2970. HRESULT STDMETHODCALLTYPE IWbemUnsecuredApartment_CreateSinkStub_Proxy(
  2971. IWbemUnsecuredApartment * This,
  2972. /* [in] */ IWbemObjectSink *pSink,
  2973. /* [in] */ DWORD dwFlags,
  2974. /* [unique][in] */ LPCWSTR wszReserved,
  2975. /* [out] */ IWbemObjectSink **ppStub);
  2976. void __RPC_STUB IWbemUnsecuredApartment_CreateSinkStub_Stub(
  2977. IRpcStubBuffer *This,
  2978. IRpcChannelBuffer *_pRpcChannelBuffer,
  2979. PRPC_MESSAGE _pRpcMessage,
  2980. DWORD *_pdwStubPhase);
  2981. #endif /* __IWbemUnsecuredApartment_INTERFACE_DEFINED__ */
  2982. #ifndef __IWbemStatusCodeText_INTERFACE_DEFINED__
  2983. #define __IWbemStatusCodeText_INTERFACE_DEFINED__
  2984. /* interface IWbemStatusCodeText */
  2985. /* [uuid][object][local] */
  2986. EXTERN_C const IID IID_IWbemStatusCodeText;
  2987. #if defined(__cplusplus) && !defined(CINTERFACE)
  2988. MIDL_INTERFACE("eb87e1bc-3233-11d2-aec9-00c04fb68820")
  2989. IWbemStatusCodeText : public IUnknown
  2990. {
  2991. public:
  2992. virtual HRESULT STDMETHODCALLTYPE GetErrorCodeText(
  2993. /* [in] */ HRESULT hRes,
  2994. /* [in] */ LCID LocaleId,
  2995. /* [in] */ long lFlags,
  2996. /* [out] */ BSTR *MessageText) = 0;
  2997. virtual HRESULT STDMETHODCALLTYPE GetFacilityCodeText(
  2998. /* [in] */ HRESULT hRes,
  2999. /* [in] */ LCID LocaleId,
  3000. /* [in] */ long lFlags,
  3001. /* [out] */ BSTR *MessageText) = 0;
  3002. };
  3003. #else /* C style interface */
  3004. typedef struct IWbemStatusCodeTextVtbl
  3005. {
  3006. BEGIN_INTERFACE
  3007. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3008. IWbemStatusCodeText * This,
  3009. /* [in] */ REFIID riid,
  3010. /* [iid_is][out] */ void **ppvObject);
  3011. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3012. IWbemStatusCodeText * This);
  3013. ULONG ( STDMETHODCALLTYPE *Release )(
  3014. IWbemStatusCodeText * This);
  3015. HRESULT ( STDMETHODCALLTYPE *GetErrorCodeText )(
  3016. IWbemStatusCodeText * This,
  3017. /* [in] */ HRESULT hRes,
  3018. /* [in] */ LCID LocaleId,
  3019. /* [in] */ long lFlags,
  3020. /* [out] */ BSTR *MessageText);
  3021. HRESULT ( STDMETHODCALLTYPE *GetFacilityCodeText )(
  3022. IWbemStatusCodeText * This,
  3023. /* [in] */ HRESULT hRes,
  3024. /* [in] */ LCID LocaleId,
  3025. /* [in] */ long lFlags,
  3026. /* [out] */ BSTR *MessageText);
  3027. END_INTERFACE
  3028. } IWbemStatusCodeTextVtbl;
  3029. interface IWbemStatusCodeText
  3030. {
  3031. CONST_VTBL struct IWbemStatusCodeTextVtbl *lpVtbl;
  3032. };
  3033. #ifdef COBJMACROS
  3034. #define IWbemStatusCodeText_QueryInterface(This,riid,ppvObject) \
  3035. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3036. #define IWbemStatusCodeText_AddRef(This) \
  3037. (This)->lpVtbl -> AddRef(This)
  3038. #define IWbemStatusCodeText_Release(This) \
  3039. (This)->lpVtbl -> Release(This)
  3040. #define IWbemStatusCodeText_GetErrorCodeText(This,hRes,LocaleId,lFlags,MessageText) \
  3041. (This)->lpVtbl -> GetErrorCodeText(This,hRes,LocaleId,lFlags,MessageText)
  3042. #define IWbemStatusCodeText_GetFacilityCodeText(This,hRes,LocaleId,lFlags,MessageText) \
  3043. (This)->lpVtbl -> GetFacilityCodeText(This,hRes,LocaleId,lFlags,MessageText)
  3044. #endif /* COBJMACROS */
  3045. #endif /* C style interface */
  3046. HRESULT STDMETHODCALLTYPE IWbemStatusCodeText_GetErrorCodeText_Proxy(
  3047. IWbemStatusCodeText * This,
  3048. /* [in] */ HRESULT hRes,
  3049. /* [in] */ LCID LocaleId,
  3050. /* [in] */ long lFlags,
  3051. /* [out] */ BSTR *MessageText);
  3052. void __RPC_STUB IWbemStatusCodeText_GetErrorCodeText_Stub(
  3053. IRpcStubBuffer *This,
  3054. IRpcChannelBuffer *_pRpcChannelBuffer,
  3055. PRPC_MESSAGE _pRpcMessage,
  3056. DWORD *_pdwStubPhase);
  3057. HRESULT STDMETHODCALLTYPE IWbemStatusCodeText_GetFacilityCodeText_Proxy(
  3058. IWbemStatusCodeText * This,
  3059. /* [in] */ HRESULT hRes,
  3060. /* [in] */ LCID LocaleId,
  3061. /* [in] */ long lFlags,
  3062. /* [out] */ BSTR *MessageText);
  3063. void __RPC_STUB IWbemStatusCodeText_GetFacilityCodeText_Stub(
  3064. IRpcStubBuffer *This,
  3065. IRpcChannelBuffer *_pRpcChannelBuffer,
  3066. PRPC_MESSAGE _pRpcMessage,
  3067. DWORD *_pdwStubPhase);
  3068. #endif /* __IWbemStatusCodeText_INTERFACE_DEFINED__ */
  3069. #ifndef __IWbemBackupRestore_INTERFACE_DEFINED__
  3070. #define __IWbemBackupRestore_INTERFACE_DEFINED__
  3071. /* interface IWbemBackupRestore */
  3072. /* [uuid][restricted][object] */
  3073. EXTERN_C const IID IID_IWbemBackupRestore;
  3074. #if defined(__cplusplus) && !defined(CINTERFACE)
  3075. MIDL_INTERFACE("C49E32C7-BC8B-11d2-85D4-00105A1F8304")
  3076. IWbemBackupRestore : public IUnknown
  3077. {
  3078. public:
  3079. virtual HRESULT STDMETHODCALLTYPE Backup(
  3080. /* [string][in] */ LPCWSTR strBackupToFile,
  3081. /* [in] */ long lFlags) = 0;
  3082. virtual HRESULT STDMETHODCALLTYPE Restore(
  3083. /* [string][in] */ LPCWSTR strRestoreFromFile,
  3084. /* [in] */ long lFlags) = 0;
  3085. };
  3086. #else /* C style interface */
  3087. typedef struct IWbemBackupRestoreVtbl
  3088. {
  3089. BEGIN_INTERFACE
  3090. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3091. IWbemBackupRestore * This,
  3092. /* [in] */ REFIID riid,
  3093. /* [iid_is][out] */ void **ppvObject);
  3094. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3095. IWbemBackupRestore * This);
  3096. ULONG ( STDMETHODCALLTYPE *Release )(
  3097. IWbemBackupRestore * This);
  3098. HRESULT ( STDMETHODCALLTYPE *Backup )(
  3099. IWbemBackupRestore * This,
  3100. /* [string][in] */ LPCWSTR strBackupToFile,
  3101. /* [in] */ long lFlags);
  3102. HRESULT ( STDMETHODCALLTYPE *Restore )(
  3103. IWbemBackupRestore * This,
  3104. /* [string][in] */ LPCWSTR strRestoreFromFile,
  3105. /* [in] */ long lFlags);
  3106. END_INTERFACE
  3107. } IWbemBackupRestoreVtbl;
  3108. interface IWbemBackupRestore
  3109. {
  3110. CONST_VTBL struct IWbemBackupRestoreVtbl *lpVtbl;
  3111. };
  3112. #ifdef COBJMACROS
  3113. #define IWbemBackupRestore_QueryInterface(This,riid,ppvObject) \
  3114. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3115. #define IWbemBackupRestore_AddRef(This) \
  3116. (This)->lpVtbl -> AddRef(This)
  3117. #define IWbemBackupRestore_Release(This) \
  3118. (This)->lpVtbl -> Release(This)
  3119. #define IWbemBackupRestore_Backup(This,strBackupToFile,lFlags) \
  3120. (This)->lpVtbl -> Backup(This,strBackupToFile,lFlags)
  3121. #define IWbemBackupRestore_Restore(This,strRestoreFromFile,lFlags) \
  3122. (This)->lpVtbl -> Restore(This,strRestoreFromFile,lFlags)
  3123. #endif /* COBJMACROS */
  3124. #endif /* C style interface */
  3125. HRESULT STDMETHODCALLTYPE IWbemBackupRestore_Backup_Proxy(
  3126. IWbemBackupRestore * This,
  3127. /* [string][in] */ LPCWSTR strBackupToFile,
  3128. /* [in] */ long lFlags);
  3129. void __RPC_STUB IWbemBackupRestore_Backup_Stub(
  3130. IRpcStubBuffer *This,
  3131. IRpcChannelBuffer *_pRpcChannelBuffer,
  3132. PRPC_MESSAGE _pRpcMessage,
  3133. DWORD *_pdwStubPhase);
  3134. HRESULT STDMETHODCALLTYPE IWbemBackupRestore_Restore_Proxy(
  3135. IWbemBackupRestore * This,
  3136. /* [string][in] */ LPCWSTR strRestoreFromFile,
  3137. /* [in] */ long lFlags);
  3138. void __RPC_STUB IWbemBackupRestore_Restore_Stub(
  3139. IRpcStubBuffer *This,
  3140. IRpcChannelBuffer *_pRpcChannelBuffer,
  3141. PRPC_MESSAGE _pRpcMessage,
  3142. DWORD *_pdwStubPhase);
  3143. #endif /* __IWbemBackupRestore_INTERFACE_DEFINED__ */
  3144. #ifndef __IWbemBackupRestoreEx_INTERFACE_DEFINED__
  3145. #define __IWbemBackupRestoreEx_INTERFACE_DEFINED__
  3146. /* interface IWbemBackupRestoreEx */
  3147. /* [uuid][restricted][object] */
  3148. EXTERN_C const IID IID_IWbemBackupRestoreEx;
  3149. #if defined(__cplusplus) && !defined(CINTERFACE)
  3150. MIDL_INTERFACE("A359DEC5-E813-4834-8A2A-BA7F1D777D76")
  3151. IWbemBackupRestoreEx : public IWbemBackupRestore
  3152. {
  3153. public:
  3154. virtual HRESULT STDMETHODCALLTYPE Pause( void) = 0;
  3155. virtual HRESULT STDMETHODCALLTYPE Resume( void) = 0;
  3156. };
  3157. #else /* C style interface */
  3158. typedef struct IWbemBackupRestoreExVtbl
  3159. {
  3160. BEGIN_INTERFACE
  3161. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3162. IWbemBackupRestoreEx * This,
  3163. /* [in] */ REFIID riid,
  3164. /* [iid_is][out] */ void **ppvObject);
  3165. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3166. IWbemBackupRestoreEx * This);
  3167. ULONG ( STDMETHODCALLTYPE *Release )(
  3168. IWbemBackupRestoreEx * This);
  3169. HRESULT ( STDMETHODCALLTYPE *Backup )(
  3170. IWbemBackupRestoreEx * This,
  3171. /* [string][in] */ LPCWSTR strBackupToFile,
  3172. /* [in] */ long lFlags);
  3173. HRESULT ( STDMETHODCALLTYPE *Restore )(
  3174. IWbemBackupRestoreEx * This,
  3175. /* [string][in] */ LPCWSTR strRestoreFromFile,
  3176. /* [in] */ long lFlags);
  3177. HRESULT ( STDMETHODCALLTYPE *Pause )(
  3178. IWbemBackupRestoreEx * This);
  3179. HRESULT ( STDMETHODCALLTYPE *Resume )(
  3180. IWbemBackupRestoreEx * This);
  3181. END_INTERFACE
  3182. } IWbemBackupRestoreExVtbl;
  3183. interface IWbemBackupRestoreEx
  3184. {
  3185. CONST_VTBL struct IWbemBackupRestoreExVtbl *lpVtbl;
  3186. };
  3187. #ifdef COBJMACROS
  3188. #define IWbemBackupRestoreEx_QueryInterface(This,riid,ppvObject) \
  3189. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3190. #define IWbemBackupRestoreEx_AddRef(This) \
  3191. (This)->lpVtbl -> AddRef(This)
  3192. #define IWbemBackupRestoreEx_Release(This) \
  3193. (This)->lpVtbl -> Release(This)
  3194. #define IWbemBackupRestoreEx_Backup(This,strBackupToFile,lFlags) \
  3195. (This)->lpVtbl -> Backup(This,strBackupToFile,lFlags)
  3196. #define IWbemBackupRestoreEx_Restore(This,strRestoreFromFile,lFlags) \
  3197. (This)->lpVtbl -> Restore(This,strRestoreFromFile,lFlags)
  3198. #define IWbemBackupRestoreEx_Pause(This) \
  3199. (This)->lpVtbl -> Pause(This)
  3200. #define IWbemBackupRestoreEx_Resume(This) \
  3201. (This)->lpVtbl -> Resume(This)
  3202. #endif /* COBJMACROS */
  3203. #endif /* C style interface */
  3204. HRESULT STDMETHODCALLTYPE IWbemBackupRestoreEx_Pause_Proxy(
  3205. IWbemBackupRestoreEx * This);
  3206. void __RPC_STUB IWbemBackupRestoreEx_Pause_Stub(
  3207. IRpcStubBuffer *This,
  3208. IRpcChannelBuffer *_pRpcChannelBuffer,
  3209. PRPC_MESSAGE _pRpcMessage,
  3210. DWORD *_pdwStubPhase);
  3211. HRESULT STDMETHODCALLTYPE IWbemBackupRestoreEx_Resume_Proxy(
  3212. IWbemBackupRestoreEx * This);
  3213. void __RPC_STUB IWbemBackupRestoreEx_Resume_Stub(
  3214. IRpcStubBuffer *This,
  3215. IRpcChannelBuffer *_pRpcChannelBuffer,
  3216. PRPC_MESSAGE _pRpcMessage,
  3217. DWORD *_pdwStubPhase);
  3218. #endif /* __IWbemBackupRestoreEx_INTERFACE_DEFINED__ */
  3219. #ifndef __IWbemRefresher_INTERFACE_DEFINED__
  3220. #define __IWbemRefresher_INTERFACE_DEFINED__
  3221. /* interface IWbemRefresher */
  3222. /* [uuid][object][restricted][local] */
  3223. EXTERN_C const IID IID_IWbemRefresher;
  3224. #if defined(__cplusplus) && !defined(CINTERFACE)
  3225. MIDL_INTERFACE("49353c99-516b-11d1-aea6-00c04fb68820")
  3226. IWbemRefresher : public IUnknown
  3227. {
  3228. public:
  3229. virtual HRESULT STDMETHODCALLTYPE Refresh(
  3230. /* [in] */ long lFlags) = 0;
  3231. };
  3232. #else /* C style interface */
  3233. typedef struct IWbemRefresherVtbl
  3234. {
  3235. BEGIN_INTERFACE
  3236. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3237. IWbemRefresher * This,
  3238. /* [in] */ REFIID riid,
  3239. /* [iid_is][out] */ void **ppvObject);
  3240. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3241. IWbemRefresher * This);
  3242. ULONG ( STDMETHODCALLTYPE *Release )(
  3243. IWbemRefresher * This);
  3244. HRESULT ( STDMETHODCALLTYPE *Refresh )(
  3245. IWbemRefresher * This,
  3246. /* [in] */ long lFlags);
  3247. END_INTERFACE
  3248. } IWbemRefresherVtbl;
  3249. interface IWbemRefresher
  3250. {
  3251. CONST_VTBL struct IWbemRefresherVtbl *lpVtbl;
  3252. };
  3253. #ifdef COBJMACROS
  3254. #define IWbemRefresher_QueryInterface(This,riid,ppvObject) \
  3255. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3256. #define IWbemRefresher_AddRef(This) \
  3257. (This)->lpVtbl -> AddRef(This)
  3258. #define IWbemRefresher_Release(This) \
  3259. (This)->lpVtbl -> Release(This)
  3260. #define IWbemRefresher_Refresh(This,lFlags) \
  3261. (This)->lpVtbl -> Refresh(This,lFlags)
  3262. #endif /* COBJMACROS */
  3263. #endif /* C style interface */
  3264. HRESULT STDMETHODCALLTYPE IWbemRefresher_Refresh_Proxy(
  3265. IWbemRefresher * This,
  3266. /* [in] */ long lFlags);
  3267. void __RPC_STUB IWbemRefresher_Refresh_Stub(
  3268. IRpcStubBuffer *This,
  3269. IRpcChannelBuffer *_pRpcChannelBuffer,
  3270. PRPC_MESSAGE _pRpcMessage,
  3271. DWORD *_pdwStubPhase);
  3272. #endif /* __IWbemRefresher_INTERFACE_DEFINED__ */
  3273. #ifndef __IWbemHiPerfEnum_INTERFACE_DEFINED__
  3274. #define __IWbemHiPerfEnum_INTERFACE_DEFINED__
  3275. /* interface IWbemHiPerfEnum */
  3276. /* [uuid][object][restricted][local] */
  3277. EXTERN_C const IID IID_IWbemHiPerfEnum;
  3278. #if defined(__cplusplus) && !defined(CINTERFACE)
  3279. MIDL_INTERFACE("2705C288-79AE-11d2-B348-00105A1F8177")
  3280. IWbemHiPerfEnum : public IUnknown
  3281. {
  3282. public:
  3283. virtual HRESULT STDMETHODCALLTYPE AddObjects(
  3284. /* [in] */ long lFlags,
  3285. /* [in] */ ULONG uNumObjects,
  3286. /* [size_is][in] */ long *apIds,
  3287. /* [size_is][in] */ IWbemObjectAccess **apObj) = 0;
  3288. virtual HRESULT STDMETHODCALLTYPE RemoveObjects(
  3289. /* [in] */ long lFlags,
  3290. /* [in] */ ULONG uNumObjects,
  3291. /* [size_is][in] */ long *apIds) = 0;
  3292. virtual HRESULT STDMETHODCALLTYPE GetObjects(
  3293. /* [in] */ long lFlags,
  3294. /* [in] */ ULONG uNumObjects,
  3295. /* [length_is][size_is][out] */ IWbemObjectAccess **apObj,
  3296. /* [out] */ ULONG *puReturned) = 0;
  3297. virtual HRESULT STDMETHODCALLTYPE RemoveAll(
  3298. /* [in] */ long lFlags) = 0;
  3299. };
  3300. #else /* C style interface */
  3301. typedef struct IWbemHiPerfEnumVtbl
  3302. {
  3303. BEGIN_INTERFACE
  3304. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3305. IWbemHiPerfEnum * This,
  3306. /* [in] */ REFIID riid,
  3307. /* [iid_is][out] */ void **ppvObject);
  3308. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3309. IWbemHiPerfEnum * This);
  3310. ULONG ( STDMETHODCALLTYPE *Release )(
  3311. IWbemHiPerfEnum * This);
  3312. HRESULT ( STDMETHODCALLTYPE *AddObjects )(
  3313. IWbemHiPerfEnum * This,
  3314. /* [in] */ long lFlags,
  3315. /* [in] */ ULONG uNumObjects,
  3316. /* [size_is][in] */ long *apIds,
  3317. /* [size_is][in] */ IWbemObjectAccess **apObj);
  3318. HRESULT ( STDMETHODCALLTYPE *RemoveObjects )(
  3319. IWbemHiPerfEnum * This,
  3320. /* [in] */ long lFlags,
  3321. /* [in] */ ULONG uNumObjects,
  3322. /* [size_is][in] */ long *apIds);
  3323. HRESULT ( STDMETHODCALLTYPE *GetObjects )(
  3324. IWbemHiPerfEnum * This,
  3325. /* [in] */ long lFlags,
  3326. /* [in] */ ULONG uNumObjects,
  3327. /* [length_is][size_is][out] */ IWbemObjectAccess **apObj,
  3328. /* [out] */ ULONG *puReturned);
  3329. HRESULT ( STDMETHODCALLTYPE *RemoveAll )(
  3330. IWbemHiPerfEnum * This,
  3331. /* [in] */ long lFlags);
  3332. END_INTERFACE
  3333. } IWbemHiPerfEnumVtbl;
  3334. interface IWbemHiPerfEnum
  3335. {
  3336. CONST_VTBL struct IWbemHiPerfEnumVtbl *lpVtbl;
  3337. };
  3338. #ifdef COBJMACROS
  3339. #define IWbemHiPerfEnum_QueryInterface(This,riid,ppvObject) \
  3340. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3341. #define IWbemHiPerfEnum_AddRef(This) \
  3342. (This)->lpVtbl -> AddRef(This)
  3343. #define IWbemHiPerfEnum_Release(This) \
  3344. (This)->lpVtbl -> Release(This)
  3345. #define IWbemHiPerfEnum_AddObjects(This,lFlags,uNumObjects,apIds,apObj) \
  3346. (This)->lpVtbl -> AddObjects(This,lFlags,uNumObjects,apIds,apObj)
  3347. #define IWbemHiPerfEnum_RemoveObjects(This,lFlags,uNumObjects,apIds) \
  3348. (This)->lpVtbl -> RemoveObjects(This,lFlags,uNumObjects,apIds)
  3349. #define IWbemHiPerfEnum_GetObjects(This,lFlags,uNumObjects,apObj,puReturned) \
  3350. (This)->lpVtbl -> GetObjects(This,lFlags,uNumObjects,apObj,puReturned)
  3351. #define IWbemHiPerfEnum_RemoveAll(This,lFlags) \
  3352. (This)->lpVtbl -> RemoveAll(This,lFlags)
  3353. #endif /* COBJMACROS */
  3354. #endif /* C style interface */
  3355. HRESULT STDMETHODCALLTYPE IWbemHiPerfEnum_AddObjects_Proxy(
  3356. IWbemHiPerfEnum * This,
  3357. /* [in] */ long lFlags,
  3358. /* [in] */ ULONG uNumObjects,
  3359. /* [size_is][in] */ long *apIds,
  3360. /* [size_is][in] */ IWbemObjectAccess **apObj);
  3361. void __RPC_STUB IWbemHiPerfEnum_AddObjects_Stub(
  3362. IRpcStubBuffer *This,
  3363. IRpcChannelBuffer *_pRpcChannelBuffer,
  3364. PRPC_MESSAGE _pRpcMessage,
  3365. DWORD *_pdwStubPhase);
  3366. HRESULT STDMETHODCALLTYPE IWbemHiPerfEnum_RemoveObjects_Proxy(
  3367. IWbemHiPerfEnum * This,
  3368. /* [in] */ long lFlags,
  3369. /* [in] */ ULONG uNumObjects,
  3370. /* [size_is][in] */ long *apIds);
  3371. void __RPC_STUB IWbemHiPerfEnum_RemoveObjects_Stub(
  3372. IRpcStubBuffer *This,
  3373. IRpcChannelBuffer *_pRpcChannelBuffer,
  3374. PRPC_MESSAGE _pRpcMessage,
  3375. DWORD *_pdwStubPhase);
  3376. HRESULT STDMETHODCALLTYPE IWbemHiPerfEnum_GetObjects_Proxy(
  3377. IWbemHiPerfEnum * This,
  3378. /* [in] */ long lFlags,
  3379. /* [in] */ ULONG uNumObjects,
  3380. /* [length_is][size_is][out] */ IWbemObjectAccess **apObj,
  3381. /* [out] */ ULONG *puReturned);
  3382. void __RPC_STUB IWbemHiPerfEnum_GetObjects_Stub(
  3383. IRpcStubBuffer *This,
  3384. IRpcChannelBuffer *_pRpcChannelBuffer,
  3385. PRPC_MESSAGE _pRpcMessage,
  3386. DWORD *_pdwStubPhase);
  3387. HRESULT STDMETHODCALLTYPE IWbemHiPerfEnum_RemoveAll_Proxy(
  3388. IWbemHiPerfEnum * This,
  3389. /* [in] */ long lFlags);
  3390. void __RPC_STUB IWbemHiPerfEnum_RemoveAll_Stub(
  3391. IRpcStubBuffer *This,
  3392. IRpcChannelBuffer *_pRpcChannelBuffer,
  3393. PRPC_MESSAGE _pRpcMessage,
  3394. DWORD *_pdwStubPhase);
  3395. #endif /* __IWbemHiPerfEnum_INTERFACE_DEFINED__ */
  3396. #ifndef __IWbemConfigureRefresher_INTERFACE_DEFINED__
  3397. #define __IWbemConfigureRefresher_INTERFACE_DEFINED__
  3398. /* interface IWbemConfigureRefresher */
  3399. /* [uuid][object][restricted][local] */
  3400. EXTERN_C const IID IID_IWbemConfigureRefresher;
  3401. #if defined(__cplusplus) && !defined(CINTERFACE)
  3402. MIDL_INTERFACE("49353c92-516b-11d1-aea6-00c04fb68820")
  3403. IWbemConfigureRefresher : public IUnknown
  3404. {
  3405. public:
  3406. virtual HRESULT STDMETHODCALLTYPE AddObjectByPath(
  3407. /* [in] */ IWbemServices *pNamespace,
  3408. /* [string][in] */ LPCWSTR wszPath,
  3409. /* [in] */ long lFlags,
  3410. /* [in] */ IWbemContext *pContext,
  3411. /* [out] */ IWbemClassObject **ppRefreshable,
  3412. /* [unique][in][out] */ long *plId) = 0;
  3413. virtual HRESULT STDMETHODCALLTYPE AddObjectByTemplate(
  3414. /* [in] */ IWbemServices *pNamespace,
  3415. /* [in] */ IWbemClassObject *pTemplate,
  3416. /* [in] */ long lFlags,
  3417. /* [in] */ IWbemContext *pContext,
  3418. /* [out] */ IWbemClassObject **ppRefreshable,
  3419. /* [unique][in][out] */ long *plId) = 0;
  3420. virtual HRESULT STDMETHODCALLTYPE AddRefresher(
  3421. /* [in] */ IWbemRefresher *pRefresher,
  3422. /* [in] */ long lFlags,
  3423. /* [unique][in][out] */ long *plId) = 0;
  3424. virtual HRESULT STDMETHODCALLTYPE Remove(
  3425. /* [in] */ long lId,
  3426. /* [in] */ long lFlags) = 0;
  3427. virtual HRESULT STDMETHODCALLTYPE AddEnum(
  3428. /* [in] */ IWbemServices *pNamespace,
  3429. /* [string][in] */ LPCWSTR wszClassName,
  3430. /* [in] */ long lFlags,
  3431. /* [in] */ IWbemContext *pContext,
  3432. /* [out] */ IWbemHiPerfEnum **ppEnum,
  3433. /* [unique][in][out] */ long *plId) = 0;
  3434. };
  3435. #else /* C style interface */
  3436. typedef struct IWbemConfigureRefresherVtbl
  3437. {
  3438. BEGIN_INTERFACE
  3439. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3440. IWbemConfigureRefresher * This,
  3441. /* [in] */ REFIID riid,
  3442. /* [iid_is][out] */ void **ppvObject);
  3443. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3444. IWbemConfigureRefresher * This);
  3445. ULONG ( STDMETHODCALLTYPE *Release )(
  3446. IWbemConfigureRefresher * This);
  3447. HRESULT ( STDMETHODCALLTYPE *AddObjectByPath )(
  3448. IWbemConfigureRefresher * This,
  3449. /* [in] */ IWbemServices *pNamespace,
  3450. /* [string][in] */ LPCWSTR wszPath,
  3451. /* [in] */ long lFlags,
  3452. /* [in] */ IWbemContext *pContext,
  3453. /* [out] */ IWbemClassObject **ppRefreshable,
  3454. /* [unique][in][out] */ long *plId);
  3455. HRESULT ( STDMETHODCALLTYPE *AddObjectByTemplate )(
  3456. IWbemConfigureRefresher * This,
  3457. /* [in] */ IWbemServices *pNamespace,
  3458. /* [in] */ IWbemClassObject *pTemplate,
  3459. /* [in] */ long lFlags,
  3460. /* [in] */ IWbemContext *pContext,
  3461. /* [out] */ IWbemClassObject **ppRefreshable,
  3462. /* [unique][in][out] */ long *plId);
  3463. HRESULT ( STDMETHODCALLTYPE *AddRefresher )(
  3464. IWbemConfigureRefresher * This,
  3465. /* [in] */ IWbemRefresher *pRefresher,
  3466. /* [in] */ long lFlags,
  3467. /* [unique][in][out] */ long *plId);
  3468. HRESULT ( STDMETHODCALLTYPE *Remove )(
  3469. IWbemConfigureRefresher * This,
  3470. /* [in] */ long lId,
  3471. /* [in] */ long lFlags);
  3472. HRESULT ( STDMETHODCALLTYPE *AddEnum )(
  3473. IWbemConfigureRefresher * This,
  3474. /* [in] */ IWbemServices *pNamespace,
  3475. /* [string][in] */ LPCWSTR wszClassName,
  3476. /* [in] */ long lFlags,
  3477. /* [in] */ IWbemContext *pContext,
  3478. /* [out] */ IWbemHiPerfEnum **ppEnum,
  3479. /* [unique][in][out] */ long *plId);
  3480. END_INTERFACE
  3481. } IWbemConfigureRefresherVtbl;
  3482. interface IWbemConfigureRefresher
  3483. {
  3484. CONST_VTBL struct IWbemConfigureRefresherVtbl *lpVtbl;
  3485. };
  3486. #ifdef COBJMACROS
  3487. #define IWbemConfigureRefresher_QueryInterface(This,riid,ppvObject) \
  3488. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3489. #define IWbemConfigureRefresher_AddRef(This) \
  3490. (This)->lpVtbl -> AddRef(This)
  3491. #define IWbemConfigureRefresher_Release(This) \
  3492. (This)->lpVtbl -> Release(This)
  3493. #define IWbemConfigureRefresher_AddObjectByPath(This,pNamespace,wszPath,lFlags,pContext,ppRefreshable,plId) \
  3494. (This)->lpVtbl -> AddObjectByPath(This,pNamespace,wszPath,lFlags,pContext,ppRefreshable,plId)
  3495. #define IWbemConfigureRefresher_AddObjectByTemplate(This,pNamespace,pTemplate,lFlags,pContext,ppRefreshable,plId) \
  3496. (This)->lpVtbl -> AddObjectByTemplate(This,pNamespace,pTemplate,lFlags,pContext,ppRefreshable,plId)
  3497. #define IWbemConfigureRefresher_AddRefresher(This,pRefresher,lFlags,plId) \
  3498. (This)->lpVtbl -> AddRefresher(This,pRefresher,lFlags,plId)
  3499. #define IWbemConfigureRefresher_Remove(This,lId,lFlags) \
  3500. (This)->lpVtbl -> Remove(This,lId,lFlags)
  3501. #define IWbemConfigureRefresher_AddEnum(This,pNamespace,wszClassName,lFlags,pContext,ppEnum,plId) \
  3502. (This)->lpVtbl -> AddEnum(This,pNamespace,wszClassName,lFlags,pContext,ppEnum,plId)
  3503. #endif /* COBJMACROS */
  3504. #endif /* C style interface */
  3505. HRESULT STDMETHODCALLTYPE IWbemConfigureRefresher_AddObjectByPath_Proxy(
  3506. IWbemConfigureRefresher * This,
  3507. /* [in] */ IWbemServices *pNamespace,
  3508. /* [string][in] */ LPCWSTR wszPath,
  3509. /* [in] */ long lFlags,
  3510. /* [in] */ IWbemContext *pContext,
  3511. /* [out] */ IWbemClassObject **ppRefreshable,
  3512. /* [unique][in][out] */ long *plId);
  3513. void __RPC_STUB IWbemConfigureRefresher_AddObjectByPath_Stub(
  3514. IRpcStubBuffer *This,
  3515. IRpcChannelBuffer *_pRpcChannelBuffer,
  3516. PRPC_MESSAGE _pRpcMessage,
  3517. DWORD *_pdwStubPhase);
  3518. HRESULT STDMETHODCALLTYPE IWbemConfigureRefresher_AddObjectByTemplate_Proxy(
  3519. IWbemConfigureRefresher * This,
  3520. /* [in] */ IWbemServices *pNamespace,
  3521. /* [in] */ IWbemClassObject *pTemplate,
  3522. /* [in] */ long lFlags,
  3523. /* [in] */ IWbemContext *pContext,
  3524. /* [out] */ IWbemClassObject **ppRefreshable,
  3525. /* [unique][in][out] */ long *plId);
  3526. void __RPC_STUB IWbemConfigureRefresher_AddObjectByTemplate_Stub(
  3527. IRpcStubBuffer *This,
  3528. IRpcChannelBuffer *_pRpcChannelBuffer,
  3529. PRPC_MESSAGE _pRpcMessage,
  3530. DWORD *_pdwStubPhase);
  3531. HRESULT STDMETHODCALLTYPE IWbemConfigureRefresher_AddRefresher_Proxy(
  3532. IWbemConfigureRefresher * This,
  3533. /* [in] */ IWbemRefresher *pRefresher,
  3534. /* [in] */ long lFlags,
  3535. /* [unique][in][out] */ long *plId);
  3536. void __RPC_STUB IWbemConfigureRefresher_AddRefresher_Stub(
  3537. IRpcStubBuffer *This,
  3538. IRpcChannelBuffer *_pRpcChannelBuffer,
  3539. PRPC_MESSAGE _pRpcMessage,
  3540. DWORD *_pdwStubPhase);
  3541. HRESULT STDMETHODCALLTYPE IWbemConfigureRefresher_Remove_Proxy(
  3542. IWbemConfigureRefresher * This,
  3543. /* [in] */ long lId,
  3544. /* [in] */ long lFlags);
  3545. void __RPC_STUB IWbemConfigureRefresher_Remove_Stub(
  3546. IRpcStubBuffer *This,
  3547. IRpcChannelBuffer *_pRpcChannelBuffer,
  3548. PRPC_MESSAGE _pRpcMessage,
  3549. DWORD *_pdwStubPhase);
  3550. HRESULT STDMETHODCALLTYPE IWbemConfigureRefresher_AddEnum_Proxy(
  3551. IWbemConfigureRefresher * This,
  3552. /* [in] */ IWbemServices *pNamespace,
  3553. /* [string][in] */ LPCWSTR wszClassName,
  3554. /* [in] */ long lFlags,
  3555. /* [in] */ IWbemContext *pContext,
  3556. /* [out] */ IWbemHiPerfEnum **ppEnum,
  3557. /* [unique][in][out] */ long *plId);
  3558. void __RPC_STUB IWbemConfigureRefresher_AddEnum_Stub(
  3559. IRpcStubBuffer *This,
  3560. IRpcChannelBuffer *_pRpcChannelBuffer,
  3561. PRPC_MESSAGE _pRpcMessage,
  3562. DWORD *_pdwStubPhase);
  3563. #endif /* __IWbemConfigureRefresher_INTERFACE_DEFINED__ */
  3564. EXTERN_C const CLSID CLSID_WbemLocator;
  3565. #ifdef __cplusplus
  3566. class DECLSPEC_UUID("4590f811-1d3a-11d0-891f-00aa004b2e24")
  3567. WbemLocator;
  3568. #endif
  3569. EXTERN_C const CLSID CLSID_WbemContext;
  3570. #ifdef __cplusplus
  3571. class DECLSPEC_UUID("674B6698-EE92-11d0-AD71-00C04FD8FDFF")
  3572. WbemContext;
  3573. #endif
  3574. EXTERN_C const CLSID CLSID_UnsecuredApartment;
  3575. #ifdef __cplusplus
  3576. class DECLSPEC_UUID("49bd2028-1523-11d1-ad79-00c04fd8fdff")
  3577. UnsecuredApartment;
  3578. #endif
  3579. EXTERN_C const CLSID CLSID_WbemClassObject;
  3580. #ifdef __cplusplus
  3581. class DECLSPEC_UUID("9A653086-174F-11d2-B5F9-00104B703EFD")
  3582. WbemClassObject;
  3583. #endif
  3584. EXTERN_C const CLSID CLSID_MofCompiler;
  3585. #ifdef __cplusplus
  3586. class DECLSPEC_UUID("6daf9757-2e37-11d2-aec9-00c04fb68820")
  3587. MofCompiler;
  3588. #endif
  3589. EXTERN_C const CLSID CLSID_WbemStatusCodeText;
  3590. #ifdef __cplusplus
  3591. class DECLSPEC_UUID("eb87e1bd-3233-11d2-aec9-00c04fb68820")
  3592. WbemStatusCodeText;
  3593. #endif
  3594. EXTERN_C const CLSID CLSID_WbemBackupRestore;
  3595. #ifdef __cplusplus
  3596. class DECLSPEC_UUID("C49E32C6-BC8B-11d2-85D4-00105A1F8304")
  3597. WbemBackupRestore;
  3598. #endif
  3599. EXTERN_C const CLSID CLSID_WbemRefresher;
  3600. #ifdef __cplusplus
  3601. class DECLSPEC_UUID("c71566f2-561e-11d1-ad87-00c04fd8fdff")
  3602. WbemRefresher;
  3603. #endif
  3604. EXTERN_C const CLSID CLSID_WbemObjectTextSrc;
  3605. #ifdef __cplusplus
  3606. class DECLSPEC_UUID("8D1C559D-84F0-4bb3-A7D5-56A7435A9BA6")
  3607. WbemObjectTextSrc;
  3608. #endif
  3609. #endif /* __WbemClient_v1_LIBRARY_DEFINED__ */
  3610. /* interface __MIDL_itf_wbemcli_0000 */
  3611. /* [local] */
  3612. /*******************************************************************************/
  3613. /* */
  3614. /* Copyright � Microsoft Corporation. All rights reserved. */
  3615. /* */
  3616. /* Interfaces for WBEM clients. These interfaces are implemented by CIMOM */
  3617. /* and used by clients. Additional interfaces needed by WBEM providers can */
  3618. /* be found in WBEMPROV.IDL */
  3619. /* */
  3620. /*******************************************************************************/
  3621. extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0000_v0_0_c_ifspec;
  3622. extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0000_v0_0_s_ifspec;
  3623. /* interface __MIDL_itf_wbemcli_0116 */
  3624. /* [local] */
  3625. extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0116_v0_0_c_ifspec;
  3626. extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0116_v0_0_s_ifspec;
  3627. #ifndef __IWbemShutdown_INTERFACE_DEFINED__
  3628. #define __IWbemShutdown_INTERFACE_DEFINED__
  3629. /* interface IWbemShutdown */
  3630. /* [uuid][object] */
  3631. EXTERN_C const IID IID_IWbemShutdown;
  3632. #if defined(__cplusplus) && !defined(CINTERFACE)
  3633. MIDL_INTERFACE("b7b31df9-d515-11d3-a11c-00105a1f515a")
  3634. IWbemShutdown : public IUnknown
  3635. {
  3636. public:
  3637. virtual HRESULT STDMETHODCALLTYPE Shutdown(
  3638. /* [in] */ LONG uReason,
  3639. /* [in] */ ULONG uMaxMilliseconds,
  3640. /* [in] */ IWbemContext *pCtx) = 0;
  3641. };
  3642. #else /* C style interface */
  3643. typedef struct IWbemShutdownVtbl
  3644. {
  3645. BEGIN_INTERFACE
  3646. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3647. IWbemShutdown * This,
  3648. /* [in] */ REFIID riid,
  3649. /* [iid_is][out] */ void **ppvObject);
  3650. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3651. IWbemShutdown * This);
  3652. ULONG ( STDMETHODCALLTYPE *Release )(
  3653. IWbemShutdown * This);
  3654. HRESULT ( STDMETHODCALLTYPE *Shutdown )(
  3655. IWbemShutdown * This,
  3656. /* [in] */ LONG uReason,
  3657. /* [in] */ ULONG uMaxMilliseconds,
  3658. /* [in] */ IWbemContext *pCtx);
  3659. END_INTERFACE
  3660. } IWbemShutdownVtbl;
  3661. interface IWbemShutdown
  3662. {
  3663. CONST_VTBL struct IWbemShutdownVtbl *lpVtbl;
  3664. };
  3665. #ifdef COBJMACROS
  3666. #define IWbemShutdown_QueryInterface(This,riid,ppvObject) \
  3667. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3668. #define IWbemShutdown_AddRef(This) \
  3669. (This)->lpVtbl -> AddRef(This)
  3670. #define IWbemShutdown_Release(This) \
  3671. (This)->lpVtbl -> Release(This)
  3672. #define IWbemShutdown_Shutdown(This,uReason,uMaxMilliseconds,pCtx) \
  3673. (This)->lpVtbl -> Shutdown(This,uReason,uMaxMilliseconds,pCtx)
  3674. #endif /* COBJMACROS */
  3675. #endif /* C style interface */
  3676. HRESULT STDMETHODCALLTYPE IWbemShutdown_Shutdown_Proxy(
  3677. IWbemShutdown * This,
  3678. /* [in] */ LONG uReason,
  3679. /* [in] */ ULONG uMaxMilliseconds,
  3680. /* [in] */ IWbemContext *pCtx);
  3681. void __RPC_STUB IWbemShutdown_Shutdown_Stub(
  3682. IRpcStubBuffer *This,
  3683. IRpcChannelBuffer *_pRpcChannelBuffer,
  3684. PRPC_MESSAGE _pRpcMessage,
  3685. DWORD *_pdwStubPhase);
  3686. #endif /* __IWbemShutdown_INTERFACE_DEFINED__ */
  3687. /* interface __MIDL_itf_wbemcli_0123 */
  3688. /* [local] */
  3689. typedef /* [v1_enum] */
  3690. enum tag_WMI_OBJ_TEXT
  3691. { WMI_OBJ_TEXT_CIM_DTD_2_0 = 1,
  3692. WMI_OBJ_TEXT_WMI_DTD_2_0 = 2,
  3693. WMI_OBJ_TEXT_WMI_EXT1 = 3,
  3694. WMI_OBJ_TEXT_WMI_EXT2 = 4,
  3695. WMI_OBJ_TEXT_WMI_EXT3 = 5,
  3696. WMI_OBJ_TEXT_WMI_EXT4 = 6,
  3697. WMI_OBJ_TEXT_WMI_EXT5 = 7,
  3698. WMI_OBJ_TEXT_WMI_EXT6 = 8,
  3699. WMI_OBJ_TEXT_WMI_EXT7 = 9,
  3700. WMI_OBJ_TEXT_WMI_EXT8 = 10,
  3701. WMI_OBJ_TEXT_WMI_EXT9 = 11,
  3702. WMI_OBJ_TEXT_WMI_EXT10 = 12,
  3703. WMI_OBJ_TEXT_LAST = 13
  3704. } WMI_OBJ_TEXT;
  3705. extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0123_v0_0_c_ifspec;
  3706. extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0123_v0_0_s_ifspec;
  3707. #ifndef __IWbemObjectTextSrc_INTERFACE_DEFINED__
  3708. #define __IWbemObjectTextSrc_INTERFACE_DEFINED__
  3709. /* interface IWbemObjectTextSrc */
  3710. /* [uuid][local][restricted][object] */
  3711. EXTERN_C const IID IID_IWbemObjectTextSrc;
  3712. #if defined(__cplusplus) && !defined(CINTERFACE)
  3713. MIDL_INTERFACE("bfbf883a-cad7-11d3-a11b-00105a1f515a")
  3714. IWbemObjectTextSrc : public IUnknown
  3715. {
  3716. public:
  3717. virtual HRESULT STDMETHODCALLTYPE GetText(
  3718. /* [in] */ long lFlags,
  3719. /* [in] */ IWbemClassObject *pObj,
  3720. /* [in] */ ULONG uObjTextFormat,
  3721. /* [in] */ IWbemContext *pCtx,
  3722. /* [out] */ BSTR *strText) = 0;
  3723. virtual HRESULT STDMETHODCALLTYPE CreateFromText(
  3724. /* [in] */ long lFlags,
  3725. /* [in] */ BSTR strText,
  3726. /* [in] */ ULONG uObjTextFormat,
  3727. /* [in] */ IWbemContext *pCtx,
  3728. /* [out] */ IWbemClassObject **pNewObj) = 0;
  3729. };
  3730. #else /* C style interface */
  3731. typedef struct IWbemObjectTextSrcVtbl
  3732. {
  3733. BEGIN_INTERFACE
  3734. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3735. IWbemObjectTextSrc * This,
  3736. /* [in] */ REFIID riid,
  3737. /* [iid_is][out] */ void **ppvObject);
  3738. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3739. IWbemObjectTextSrc * This);
  3740. ULONG ( STDMETHODCALLTYPE *Release )(
  3741. IWbemObjectTextSrc * This);
  3742. HRESULT ( STDMETHODCALLTYPE *GetText )(
  3743. IWbemObjectTextSrc * This,
  3744. /* [in] */ long lFlags,
  3745. /* [in] */ IWbemClassObject *pObj,
  3746. /* [in] */ ULONG uObjTextFormat,
  3747. /* [in] */ IWbemContext *pCtx,
  3748. /* [out] */ BSTR *strText);
  3749. HRESULT ( STDMETHODCALLTYPE *CreateFromText )(
  3750. IWbemObjectTextSrc * This,
  3751. /* [in] */ long lFlags,
  3752. /* [in] */ BSTR strText,
  3753. /* [in] */ ULONG uObjTextFormat,
  3754. /* [in] */ IWbemContext *pCtx,
  3755. /* [out] */ IWbemClassObject **pNewObj);
  3756. END_INTERFACE
  3757. } IWbemObjectTextSrcVtbl;
  3758. interface IWbemObjectTextSrc
  3759. {
  3760. CONST_VTBL struct IWbemObjectTextSrcVtbl *lpVtbl;
  3761. };
  3762. #ifdef COBJMACROS
  3763. #define IWbemObjectTextSrc_QueryInterface(This,riid,ppvObject) \
  3764. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3765. #define IWbemObjectTextSrc_AddRef(This) \
  3766. (This)->lpVtbl -> AddRef(This)
  3767. #define IWbemObjectTextSrc_Release(This) \
  3768. (This)->lpVtbl -> Release(This)
  3769. #define IWbemObjectTextSrc_GetText(This,lFlags,pObj,uObjTextFormat,pCtx,strText) \
  3770. (This)->lpVtbl -> GetText(This,lFlags,pObj,uObjTextFormat,pCtx,strText)
  3771. #define IWbemObjectTextSrc_CreateFromText(This,lFlags,strText,uObjTextFormat,pCtx,pNewObj) \
  3772. (This)->lpVtbl -> CreateFromText(This,lFlags,strText,uObjTextFormat,pCtx,pNewObj)
  3773. #endif /* COBJMACROS */
  3774. #endif /* C style interface */
  3775. HRESULT STDMETHODCALLTYPE IWbemObjectTextSrc_GetText_Proxy(
  3776. IWbemObjectTextSrc * This,
  3777. /* [in] */ long lFlags,
  3778. /* [in] */ IWbemClassObject *pObj,
  3779. /* [in] */ ULONG uObjTextFormat,
  3780. /* [in] */ IWbemContext *pCtx,
  3781. /* [out] */ BSTR *strText);
  3782. void __RPC_STUB IWbemObjectTextSrc_GetText_Stub(
  3783. IRpcStubBuffer *This,
  3784. IRpcChannelBuffer *_pRpcChannelBuffer,
  3785. PRPC_MESSAGE _pRpcMessage,
  3786. DWORD *_pdwStubPhase);
  3787. HRESULT STDMETHODCALLTYPE IWbemObjectTextSrc_CreateFromText_Proxy(
  3788. IWbemObjectTextSrc * This,
  3789. /* [in] */ long lFlags,
  3790. /* [in] */ BSTR strText,
  3791. /* [in] */ ULONG uObjTextFormat,
  3792. /* [in] */ IWbemContext *pCtx,
  3793. /* [out] */ IWbemClassObject **pNewObj);
  3794. void __RPC_STUB IWbemObjectTextSrc_CreateFromText_Stub(
  3795. IRpcStubBuffer *This,
  3796. IRpcChannelBuffer *_pRpcChannelBuffer,
  3797. PRPC_MESSAGE _pRpcMessage,
  3798. DWORD *_pdwStubPhase);
  3799. #endif /* __IWbemObjectTextSrc_INTERFACE_DEFINED__ */
  3800. /* interface __MIDL_itf_wbemcli_0125 */
  3801. /* [local] */
  3802. typedef struct tag_CompileStatusInfo
  3803. {
  3804. long lPhaseError;
  3805. HRESULT hRes;
  3806. long ObjectNum;
  3807. long FirstLine;
  3808. long LastLine;
  3809. DWORD dwOutFlags;
  3810. } WBEM_COMPILE_STATUS_INFO;
  3811. typedef /* [v1_enum] */
  3812. enum tag_WBEM_COMPILER_OPTIONS
  3813. { WBEM_FLAG_CHECK_ONLY = 0x1,
  3814. WBEM_FLAG_AUTORECOVER = 0x2,
  3815. WBEM_FLAG_WMI_CHECK = 0x4,
  3816. WBEM_FLAG_CONSOLE_PRINT = 0x8,
  3817. WBEM_FLAG_DONT_ADD_TO_LIST = 0x10,
  3818. WBEM_FLAG_SPLIT_FILES = 0x20,
  3819. WBEM_FLAG_STORE_FILE = 0x100
  3820. } WBEM_COMPILER_OPTIONS;
  3821. typedef /* [v1_enum] */
  3822. enum tag_WBEM_CONNECT_OPTIONS
  3823. { WBEM_FLAG_CONNECT_REPOSITORY_ONLY = 0x40,
  3824. WBEM_FLAG_CONNECT_USE_MAX_WAIT = 0x80,
  3825. WBEM_FLAG_CONNECT_PROVIDERS = 0x100
  3826. } WBEM_CONNECT_OPTIONS;
  3827. extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0125_v0_0_c_ifspec;
  3828. extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0125_v0_0_s_ifspec;
  3829. #ifndef __IMofCompiler_INTERFACE_DEFINED__
  3830. #define __IMofCompiler_INTERFACE_DEFINED__
  3831. /* interface IMofCompiler */
  3832. /* [uuid][object][local] */
  3833. EXTERN_C const IID IID_IMofCompiler;
  3834. #if defined(__cplusplus) && !defined(CINTERFACE)
  3835. MIDL_INTERFACE("6daf974e-2e37-11d2-aec9-00c04fb68820")
  3836. IMofCompiler : public IUnknown
  3837. {
  3838. public:
  3839. virtual HRESULT STDMETHODCALLTYPE CompileFile(
  3840. /* [string][in] */ LPWSTR FileName,
  3841. /* [string][in] */ LPWSTR ServerAndNamespace,
  3842. /* [string][in] */ LPWSTR User,
  3843. /* [string][in] */ LPWSTR Authority,
  3844. /* [string][in] */ LPWSTR Password,
  3845. /* [in] */ LONG lOptionFlags,
  3846. /* [in] */ LONG lClassFlags,
  3847. /* [in] */ LONG lInstanceFlags,
  3848. /* [out][in] */ WBEM_COMPILE_STATUS_INFO *pInfo) = 0;
  3849. virtual HRESULT STDMETHODCALLTYPE CompileBuffer(
  3850. /* [in] */ long BuffSize,
  3851. /* [size_is][in] */ BYTE *pBuffer,
  3852. /* [string][in] */ LPWSTR ServerAndNamespace,
  3853. /* [string][in] */ LPWSTR User,
  3854. /* [string][in] */ LPWSTR Authority,
  3855. /* [string][in] */ LPWSTR Password,
  3856. /* [in] */ LONG lOptionFlags,
  3857. /* [in] */ LONG lClassFlags,
  3858. /* [in] */ LONG lInstanceFlags,
  3859. /* [out][in] */ WBEM_COMPILE_STATUS_INFO *pInfo) = 0;
  3860. virtual HRESULT STDMETHODCALLTYPE CreateBMOF(
  3861. /* [string][in] */ LPWSTR TextFileName,
  3862. /* [string][in] */ LPWSTR BMOFFileName,
  3863. /* [string][in] */ LPWSTR ServerAndNamespace,
  3864. /* [in] */ LONG lOptionFlags,
  3865. /* [in] */ LONG lClassFlags,
  3866. /* [in] */ LONG lInstanceFlags,
  3867. /* [out][in] */ WBEM_COMPILE_STATUS_INFO *pInfo) = 0;
  3868. };
  3869. #else /* C style interface */
  3870. typedef struct IMofCompilerVtbl
  3871. {
  3872. BEGIN_INTERFACE
  3873. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3874. IMofCompiler * This,
  3875. /* [in] */ REFIID riid,
  3876. /* [iid_is][out] */ void **ppvObject);
  3877. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3878. IMofCompiler * This);
  3879. ULONG ( STDMETHODCALLTYPE *Release )(
  3880. IMofCompiler * This);
  3881. HRESULT ( STDMETHODCALLTYPE *CompileFile )(
  3882. IMofCompiler * This,
  3883. /* [string][in] */ LPWSTR FileName,
  3884. /* [string][in] */ LPWSTR ServerAndNamespace,
  3885. /* [string][in] */ LPWSTR User,
  3886. /* [string][in] */ LPWSTR Authority,
  3887. /* [string][in] */ LPWSTR Password,
  3888. /* [in] */ LONG lOptionFlags,
  3889. /* [in] */ LONG lClassFlags,
  3890. /* [in] */ LONG lInstanceFlags,
  3891. /* [out][in] */ WBEM_COMPILE_STATUS_INFO *pInfo);
  3892. HRESULT ( STDMETHODCALLTYPE *CompileBuffer )(
  3893. IMofCompiler * This,
  3894. /* [in] */ long BuffSize,
  3895. /* [size_is][in] */ BYTE *pBuffer,
  3896. /* [string][in] */ LPWSTR ServerAndNamespace,
  3897. /* [string][in] */ LPWSTR User,
  3898. /* [string][in] */ LPWSTR Authority,
  3899. /* [string][in] */ LPWSTR Password,
  3900. /* [in] */ LONG lOptionFlags,
  3901. /* [in] */ LONG lClassFlags,
  3902. /* [in] */ LONG lInstanceFlags,
  3903. /* [out][in] */ WBEM_COMPILE_STATUS_INFO *pInfo);
  3904. HRESULT ( STDMETHODCALLTYPE *CreateBMOF )(
  3905. IMofCompiler * This,
  3906. /* [string][in] */ LPWSTR TextFileName,
  3907. /* [string][in] */ LPWSTR BMOFFileName,
  3908. /* [string][in] */ LPWSTR ServerAndNamespace,
  3909. /* [in] */ LONG lOptionFlags,
  3910. /* [in] */ LONG lClassFlags,
  3911. /* [in] */ LONG lInstanceFlags,
  3912. /* [out][in] */ WBEM_COMPILE_STATUS_INFO *pInfo);
  3913. END_INTERFACE
  3914. } IMofCompilerVtbl;
  3915. interface IMofCompiler
  3916. {
  3917. CONST_VTBL struct IMofCompilerVtbl *lpVtbl;
  3918. };
  3919. #ifdef COBJMACROS
  3920. #define IMofCompiler_QueryInterface(This,riid,ppvObject) \
  3921. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3922. #define IMofCompiler_AddRef(This) \
  3923. (This)->lpVtbl -> AddRef(This)
  3924. #define IMofCompiler_Release(This) \
  3925. (This)->lpVtbl -> Release(This)
  3926. #define IMofCompiler_CompileFile(This,FileName,ServerAndNamespace,User,Authority,Password,lOptionFlags,lClassFlags,lInstanceFlags,pInfo) \
  3927. (This)->lpVtbl -> CompileFile(This,FileName,ServerAndNamespace,User,Authority,Password,lOptionFlags,lClassFlags,lInstanceFlags,pInfo)
  3928. #define IMofCompiler_CompileBuffer(This,BuffSize,pBuffer,ServerAndNamespace,User,Authority,Password,lOptionFlags,lClassFlags,lInstanceFlags,pInfo) \
  3929. (This)->lpVtbl -> CompileBuffer(This,BuffSize,pBuffer,ServerAndNamespace,User,Authority,Password,lOptionFlags,lClassFlags,lInstanceFlags,pInfo)
  3930. #define IMofCompiler_CreateBMOF(This,TextFileName,BMOFFileName,ServerAndNamespace,lOptionFlags,lClassFlags,lInstanceFlags,pInfo) \
  3931. (This)->lpVtbl -> CreateBMOF(This,TextFileName,BMOFFileName,ServerAndNamespace,lOptionFlags,lClassFlags,lInstanceFlags,pInfo)
  3932. #endif /* COBJMACROS */
  3933. #endif /* C style interface */
  3934. HRESULT STDMETHODCALLTYPE IMofCompiler_CompileFile_Proxy(
  3935. IMofCompiler * This,
  3936. /* [string][in] */ LPWSTR FileName,
  3937. /* [string][in] */ LPWSTR ServerAndNamespace,
  3938. /* [string][in] */ LPWSTR User,
  3939. /* [string][in] */ LPWSTR Authority,
  3940. /* [string][in] */ LPWSTR Password,
  3941. /* [in] */ LONG lOptionFlags,
  3942. /* [in] */ LONG lClassFlags,
  3943. /* [in] */ LONG lInstanceFlags,
  3944. /* [out][in] */ WBEM_COMPILE_STATUS_INFO *pInfo);
  3945. void __RPC_STUB IMofCompiler_CompileFile_Stub(
  3946. IRpcStubBuffer *This,
  3947. IRpcChannelBuffer *_pRpcChannelBuffer,
  3948. PRPC_MESSAGE _pRpcMessage,
  3949. DWORD *_pdwStubPhase);
  3950. HRESULT STDMETHODCALLTYPE IMofCompiler_CompileBuffer_Proxy(
  3951. IMofCompiler * This,
  3952. /* [in] */ long BuffSize,
  3953. /* [size_is][in] */ BYTE *pBuffer,
  3954. /* [string][in] */ LPWSTR ServerAndNamespace,
  3955. /* [string][in] */ LPWSTR User,
  3956. /* [string][in] */ LPWSTR Authority,
  3957. /* [string][in] */ LPWSTR Password,
  3958. /* [in] */ LONG lOptionFlags,
  3959. /* [in] */ LONG lClassFlags,
  3960. /* [in] */ LONG lInstanceFlags,
  3961. /* [out][in] */ WBEM_COMPILE_STATUS_INFO *pInfo);
  3962. void __RPC_STUB IMofCompiler_CompileBuffer_Stub(
  3963. IRpcStubBuffer *This,
  3964. IRpcChannelBuffer *_pRpcChannelBuffer,
  3965. PRPC_MESSAGE _pRpcMessage,
  3966. DWORD *_pdwStubPhase);
  3967. HRESULT STDMETHODCALLTYPE IMofCompiler_CreateBMOF_Proxy(
  3968. IMofCompiler * This,
  3969. /* [string][in] */ LPWSTR TextFileName,
  3970. /* [string][in] */ LPWSTR BMOFFileName,
  3971. /* [string][in] */ LPWSTR ServerAndNamespace,
  3972. /* [in] */ LONG lOptionFlags,
  3973. /* [in] */ LONG lClassFlags,
  3974. /* [in] */ LONG lInstanceFlags,
  3975. /* [out][in] */ WBEM_COMPILE_STATUS_INFO *pInfo);
  3976. void __RPC_STUB IMofCompiler_CreateBMOF_Stub(
  3977. IRpcStubBuffer *This,
  3978. IRpcChannelBuffer *_pRpcChannelBuffer,
  3979. PRPC_MESSAGE _pRpcMessage,
  3980. DWORD *_pdwStubPhase);
  3981. #endif /* __IMofCompiler_INTERFACE_DEFINED__ */
  3982. /* interface __MIDL_itf_wbemcli_0127 */
  3983. /* [local] */
  3984. typedef /* [v1_enum] */
  3985. enum tag_WBEM_UNSECAPP_FLAG_TYPE
  3986. { WBEM_FLAG_UNSECAPP_DEFAULT_CHECK_ACCESS = 0,
  3987. WBEM_FLAG_UNSECAPP_CHECK_ACCESS = 1,
  3988. WBEM_FLAG_UNSECAPP_DONT_CHECK_ACCESS = 2
  3989. } WBEM_UNSECAPP_FLAG_TYPE;
  3990. extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0127_v0_0_c_ifspec;
  3991. extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0127_v0_0_s_ifspec;
  3992. /* interface __MIDL_itf_wbemcli_0128 */
  3993. /* [local] */
  3994. typedef /* [v1_enum] */
  3995. enum tag_WBEM_INFORMATION_FLAG_TYPE
  3996. { WBEM_FLAG_SHORT_NAME = 0x1,
  3997. WBEM_FLAG_LONG_NAME = 0x2
  3998. } WBEM_INFORMATION_FLAG_TYPE;
  3999. extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0128_v0_0_c_ifspec;
  4000. extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0128_v0_0_s_ifspec;
  4001. /* Additional Prototypes for ALL interfaces */
  4002. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  4003. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  4004. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  4005. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  4006. /* end of Additional Prototypes */
  4007. #ifdef __cplusplus
  4008. }
  4009. #endif
  4010. #endif