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

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