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

5733 lines
172 KiB

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