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

3757 lines
125 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 3.01.75 */
  3. /* at Mon Jul 20 15:14:02 1998
  4. */
  5. /* Compiler settings for connmgrex.idl:
  6. Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
  7. error checks: none
  8. */
  9. //@@MIDL_FILE_HEADING( )
  10. #include "rpc.h"
  11. #include "rpcndr.h"
  12. #ifndef COM_NO_WINDOWS_H
  13. #include "windows.h"
  14. #include "ole2.h"
  15. #endif /*COM_NO_WINDOWS_H*/
  16. #ifndef __connmgrex_h__
  17. #define __connmgrex_h__
  18. #ifdef __cplusplus
  19. extern "C"{
  20. #endif
  21. /* Forward Declarations */
  22. #ifndef __IWbemClassObject_FWD_DEFINED__
  23. #define __IWbemClassObject_FWD_DEFINED__
  24. typedef interface IWbemClassObject IWbemClassObject;
  25. #endif /* __IWbemClassObject_FWD_DEFINED__ */
  26. #ifndef __IWbemObjectAccess_FWD_DEFINED__
  27. #define __IWbemObjectAccess_FWD_DEFINED__
  28. typedef interface IWbemObjectAccess IWbemObjectAccess;
  29. #endif /* __IWbemObjectAccess_FWD_DEFINED__ */
  30. #ifndef __IWbemQualifierSet_FWD_DEFINED__
  31. #define __IWbemQualifierSet_FWD_DEFINED__
  32. typedef interface IWbemQualifierSet IWbemQualifierSet;
  33. #endif /* __IWbemQualifierSet_FWD_DEFINED__ */
  34. #ifndef __IWbemServices_FWD_DEFINED__
  35. #define __IWbemServices_FWD_DEFINED__
  36. typedef interface IWbemServices IWbemServices;
  37. #endif /* __IWbemServices_FWD_DEFINED__ */
  38. #ifndef __IWbemLocator_FWD_DEFINED__
  39. #define __IWbemLocator_FWD_DEFINED__
  40. typedef interface IWbemLocator IWbemLocator;
  41. #endif /* __IWbemLocator_FWD_DEFINED__ */
  42. #ifndef __IWbemObjectSink_FWD_DEFINED__
  43. #define __IWbemObjectSink_FWD_DEFINED__
  44. typedef interface IWbemObjectSink IWbemObjectSink;
  45. #endif /* __IWbemObjectSink_FWD_DEFINED__ */
  46. #ifndef __IEnumWbemClassObject_FWD_DEFINED__
  47. #define __IEnumWbemClassObject_FWD_DEFINED__
  48. typedef interface IEnumWbemClassObject IEnumWbemClassObject;
  49. #endif /* __IEnumWbemClassObject_FWD_DEFINED__ */
  50. #ifndef __IWbemCallResult_FWD_DEFINED__
  51. #define __IWbemCallResult_FWD_DEFINED__
  52. typedef interface IWbemCallResult IWbemCallResult;
  53. #endif /* __IWbemCallResult_FWD_DEFINED__ */
  54. #ifndef __IWbemContext_FWD_DEFINED__
  55. #define __IWbemContext_FWD_DEFINED__
  56. typedef interface IWbemContext IWbemContext;
  57. #endif /* __IWbemContext_FWD_DEFINED__ */
  58. #ifndef __IUnsecuredApartment_FWD_DEFINED__
  59. #define __IUnsecuredApartment_FWD_DEFINED__
  60. typedef interface IUnsecuredApartment IUnsecuredApartment;
  61. #endif /* __IUnsecuredApartment_FWD_DEFINED__ */
  62. #ifndef __WbemLocator_FWD_DEFINED__
  63. #define __WbemLocator_FWD_DEFINED__
  64. #ifdef __cplusplus
  65. typedef class WbemLocator WbemLocator;
  66. #else
  67. typedef struct WbemLocator WbemLocator;
  68. #endif /* __cplusplus */
  69. #endif /* __WbemLocator_FWD_DEFINED__ */
  70. #ifndef __WbemContext_FWD_DEFINED__
  71. #define __WbemContext_FWD_DEFINED__
  72. #ifdef __cplusplus
  73. typedef class WbemContext WbemContext;
  74. #else
  75. typedef struct WbemContext WbemContext;
  76. #endif /* __cplusplus */
  77. #endif /* __WbemContext_FWD_DEFINED__ */
  78. #ifndef __UnsecuredApartment_FWD_DEFINED__
  79. #define __UnsecuredApartment_FWD_DEFINED__
  80. #ifdef __cplusplus
  81. typedef class UnsecuredApartment UnsecuredApartment;
  82. #else
  83. typedef struct UnsecuredApartment UnsecuredApartment;
  84. #endif /* __cplusplus */
  85. #endif /* __UnsecuredApartment_FWD_DEFINED__ */
  86. #ifndef __IWbemClassObject_FWD_DEFINED__
  87. #define __IWbemClassObject_FWD_DEFINED__
  88. typedef interface IWbemClassObject IWbemClassObject;
  89. #endif /* __IWbemClassObject_FWD_DEFINED__ */
  90. #ifndef __IWbemQualifierSet_FWD_DEFINED__
  91. #define __IWbemQualifierSet_FWD_DEFINED__
  92. typedef interface IWbemQualifierSet IWbemQualifierSet;
  93. #endif /* __IWbemQualifierSet_FWD_DEFINED__ */
  94. #ifndef __IWbemLocator_FWD_DEFINED__
  95. #define __IWbemLocator_FWD_DEFINED__
  96. typedef interface IWbemLocator IWbemLocator;
  97. #endif /* __IWbemLocator_FWD_DEFINED__ */
  98. #ifndef __IWbemObjectSink_FWD_DEFINED__
  99. #define __IWbemObjectSink_FWD_DEFINED__
  100. typedef interface IWbemObjectSink IWbemObjectSink;
  101. #endif /* __IWbemObjectSink_FWD_DEFINED__ */
  102. #ifndef __IEnumWbemClassObject_FWD_DEFINED__
  103. #define __IEnumWbemClassObject_FWD_DEFINED__
  104. typedef interface IEnumWbemClassObject IEnumWbemClassObject;
  105. #endif /* __IEnumWbemClassObject_FWD_DEFINED__ */
  106. #ifndef __IWbemContext_FWD_DEFINED__
  107. #define __IWbemContext_FWD_DEFINED__
  108. typedef interface IWbemContext IWbemContext;
  109. #endif /* __IWbemContext_FWD_DEFINED__ */
  110. #ifndef __IWbemCallResult_FWD_DEFINED__
  111. #define __IWbemCallResult_FWD_DEFINED__
  112. typedef interface IWbemCallResult IWbemCallResult;
  113. #endif /* __IWbemCallResult_FWD_DEFINED__ */
  114. #ifndef __IWbemServices_FWD_DEFINED__
  115. #define __IWbemServices_FWD_DEFINED__
  116. typedef interface IWbemServices IWbemServices;
  117. #endif /* __IWbemServices_FWD_DEFINED__ */
  118. #ifndef __IWbemObjectAccess_FWD_DEFINED__
  119. #define __IWbemObjectAccess_FWD_DEFINED__
  120. typedef interface IWbemObjectAccess IWbemObjectAccess;
  121. #endif /* __IWbemObjectAccess_FWD_DEFINED__ */
  122. #ifndef __IUnsecuredApartment_FWD_DEFINED__
  123. #define __IUnsecuredApartment_FWD_DEFINED__
  124. typedef interface IUnsecuredApartment IUnsecuredApartment;
  125. #endif /* __IUnsecuredApartment_FWD_DEFINED__ */
  126. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  127. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  128. #ifndef __WbemClient_v1_LIBRARY_DEFINED__
  129. #define __WbemClient_v1_LIBRARY_DEFINED__
  130. /****************************************
  131. * Generated header for library: WbemClient_v1
  132. * at Mon Jul 20 15:14:02 1998
  133. * using MIDL 3.01.75
  134. ****************************************/
  135. /* [uuid] */
  136. typedef /* [v1_enum] */
  137. enum tag_WBEM_GENUS_TYPE
  138. { WBEM_GENUS_CLASS = 1,
  139. WBEM_GENUS_INSTANCE = 2
  140. } WBEM_GENUS_TYPE;
  141. typedef /* [v1_enum] */
  142. enum tag_WBEM_CHANGE_FLAG_TYPE
  143. { WBEM_FLAG_CREATE_OR_UPDATE = 0,
  144. WBEM_FLAG_UPDATE_ONLY = 0x1,
  145. WBEM_FLAG_CREATE_ONLY = 0x2
  146. } WBEM_CHANGE_FLAG_TYPE;
  147. typedef /* [v1_enum] */
  148. enum tag_WBEM_GENERIC_FLAG_TYPE
  149. { WBEM_FLAG_RETURN_IMMEDIATELY = 0x10,
  150. WBEM_FLAG_RETURN_WBEM_COMPLETE = 0,
  151. WBEM_FLAG_BIDIRECTIONAL = 0,
  152. WBEM_FLAG_FORWARD_ONLY = 0x20,
  153. WBEM_FLAG_NO_ERROR_OBJECT = 0x40,
  154. WBEM_FLAG_RETURN_ERROR_OBJECT = 0,
  155. WBEM_FLAG_SEND_STATUS = 0x80,
  156. WBEM_FLAG_DONT_SEND_STATUS = 0,
  157. WBEM_FLAG_ENSURE_LOCATABLE = 0x100,
  158. WBEM_FLAG_SEND_ONLY_SELECTED = 0,
  159. WBEM_RETURN_WHEN_COMPLETE = 0,
  160. WBEM_RETURN_IMMEDIATELY = 0x10
  161. } WBEM_GENERIC_FLAG_TYPE;
  162. typedef
  163. enum tag_WBEM_STATUS_TYPE
  164. { WBEM_STATUS_COMPLETE = 0,
  165. WBEM_STATUS_REQUIREMENTS = 1,
  166. WBEM_STATUS_PROGRESS = 2
  167. } WBEM_STATUS_TYPE;
  168. typedef /* [v1_enum] */
  169. enum tag_WBEM_TIMEOUT_TYPE
  170. { WBEM_NO_WAIT = 0,
  171. WBEM_INFINITE = 0xffffffff
  172. } WBEM_TIMEOUT_TYPE;
  173. typedef /* [v1_enum] */
  174. enum tag_WBEM_CONDITION_FLAG_TYPE
  175. { WBEM_FLAG_ALWAYS = 0,
  176. WBEM_FLAG_ONLY_IF_TRUE = 0x1,
  177. WBEM_FLAG_ONLY_IF_FALSE = 0x2,
  178. WBEM_FLAG_ONLY_IF_IDENTICAL = 0x3,
  179. WBEM_MASK_PRIMARY_CONDITION = 0x3,
  180. WBEM_FLAG_KEYS_ONLY = 0x4,
  181. WBEM_FLAG_REFS_ONLY = 0x8,
  182. WBEM_FLAG_LOCAL_ONLY = 0x10,
  183. WBEM_FLAG_PROPAGATED_ONLY = 0x20,
  184. WBEM_FLAG_SYSTEM_ONLY = 0x30,
  185. WBEM_FLAG_NONSYSTEM_ONLY = 0x40,
  186. WBEM_MASK_CONDITION_ORIGIN = 0x70
  187. } WBEM_CONDITION_FLAG_TYPE;
  188. typedef /* [v1_enum] */
  189. enum tag_WBEM_FLAVOR_TYPE
  190. { WBEM_FLAVOR_DONT_PROPAGATE = 0,
  191. WBEM_FLAVOR_FLAG_PROPAGATE_TO_INSTANCE = 0x1,
  192. WBEM_FLAVOR_FLAG_PROPAGATE_TO_DERIVED_CLASS = 0x2,
  193. WBEM_FLAVOR_MASK_PROPAGATION = 0xf,
  194. WBEM_FLAVOR_OVERRIDABLE = 0,
  195. WBEM_FLAVOR_NOT_OVERRIDABLE = 0x10,
  196. WBEM_FLAVOR_MASK_PERMISSIONS = 0x10,
  197. WBEM_FLAVOR_ORIGIN_LOCAL = 0,
  198. WBEM_FLAVOR_ORIGIN_PROPAGATED = 0x20,
  199. WBEM_FLAVOR_ORIGIN_SYSTEM = 0x40,
  200. WBEM_FLAVOR_MASK_ORIGIN = 0x60
  201. } WBEM_FLAVOR_TYPE;
  202. typedef /* [v1_enum] */
  203. enum tag_WBEM_QUERY_FLAG_TYPE
  204. { WBEM_FLAG_DEEP = 0,
  205. WBEM_FLAG_SHALLOW = 1,
  206. WBEM_FLAG_PROTOTYPE = 2
  207. } WBEM_QUERY_FLAG_TYPE;
  208. typedef /* [v1_enum] */
  209. enum tag_WBEM_LIMITATION_FLAG_TYPE
  210. { WBEM_FLAG_EXCLUDE_OBJECT_QUALIFIERS = 0x10,
  211. WBEM_FLAG_EXCLUDE_PROPERTY_QUALIFIERS = 0x20
  212. } WBEM_LIMITATION_FLAG_TYPE;
  213. typedef /* [v1_enum] */
  214. enum tag_WBEM_TEXT_FLAG_TYPE
  215. { WBEM_FLAG_NO_FLAVORS = 0x1
  216. } WBEM_TEXT_FLAG_TYPE;
  217. typedef /* [v1_enum] */
  218. enum tag_WBEM_COMPARISON_FLAG
  219. { WBEM_COMPARISON_INCLUDE_ALL = 0,
  220. WBEM_FLAG_IGNORE_QUALIFIERS = 0x1,
  221. WBEM_FLAG_IGNORE_OBJECT_SOURCE = 0x2,
  222. WBEM_FLAG_IGNORE_DEFAULT_VALUES = 0x4,
  223. WBEM_FLAG_IGNORE_CLASS = 0x8,
  224. WBEM_FLAG_IGNORE_CASE = 0x10,
  225. WBEM_FLAG_IGNORE_FLAVOR = 0x20
  226. } WBEM_COMPARISON_FLAG;
  227. typedef /* [v1_enum] */
  228. enum tag_WBEM_LOCKING
  229. { WBEM_FLAG_ALLOW_READ = 0x1
  230. } WBEM_LOCKING_FLAG_TYPE;
  231. typedef /* [v1_enum] */
  232. enum tag_CIMTYPE_ENUMERATION
  233. { CIM_ILLEGAL = 0xfff,
  234. CIM_EMPTY = 0,
  235. CIM_SINT8 = 16,
  236. CIM_UINT8 = 17,
  237. CIM_SINT16 = 2,
  238. CIM_UINT16 = 18,
  239. CIM_SINT32 = 3,
  240. CIM_UINT32 = 19,
  241. CIM_SINT64 = 20,
  242. CIM_UINT64 = 21,
  243. CIM_REAL32 = 4,
  244. CIM_REAL64 = 5,
  245. CIM_BOOLEAN = 11,
  246. CIM_STRING = 8,
  247. CIM_DATETIME = 101,
  248. CIM_REFERENCE = 102,
  249. CIM_CHAR16 = 103,
  250. CIM_OBJECT = 13,
  251. CIM_FLAG_ARRAY = 0x2000
  252. } CIMTYPE_ENUMERATION;
  253. typedef long CIMTYPE;
  254. typedef /* [v1_enum] */
  255. enum tag_WBEMSTATUS
  256. { WBEM_NO_ERROR = 0,
  257. WBEM_S_NO_ERROR = 0,
  258. WBEM_S_SAME = 0,
  259. WBEM_S_FALSE = 1,
  260. WBEM_S_ALREADY_EXISTS = 0x40001,
  261. WBEM_S_RESET_TO_DEFAULT = WBEM_S_ALREADY_EXISTS + 1,
  262. WBEM_S_DIFFERENT = WBEM_S_RESET_TO_DEFAULT + 1,
  263. WBEM_S_TIMEDOUT = WBEM_S_DIFFERENT + 1,
  264. WBEM_S_NO_MORE_DATA = WBEM_S_TIMEDOUT + 1,
  265. WBEM_S_OPERATION_CANCELLED = WBEM_S_NO_MORE_DATA + 1,
  266. WBEM_S_PENDING = WBEM_S_OPERATION_CANCELLED + 1,
  267. WBEM_S_DUPLICATE_OBJECTS = WBEM_S_PENDING + 1,
  268. WBEM_E_FAILED = 0x80041001,
  269. WBEM_E_NOT_FOUND = WBEM_E_FAILED + 1,
  270. WBEM_E_ACCESS_DENIED = WBEM_E_NOT_FOUND + 1,
  271. WBEM_E_PROVIDER_FAILURE = WBEM_E_ACCESS_DENIED + 1,
  272. WBEM_E_TYPE_MISMATCH = WBEM_E_PROVIDER_FAILURE + 1,
  273. WBEM_E_OUT_OF_MEMORY = WBEM_E_TYPE_MISMATCH + 1,
  274. WBEM_E_INVALID_CONTEXT = WBEM_E_OUT_OF_MEMORY + 1,
  275. WBEM_E_INVALID_PARAMETER = WBEM_E_INVALID_CONTEXT + 1,
  276. WBEM_E_NOT_AVAILABLE = WBEM_E_INVALID_PARAMETER + 1,
  277. WBEM_E_CRITICAL_ERROR = WBEM_E_NOT_AVAILABLE + 1,
  278. WBEM_E_INVALID_STREAM = WBEM_E_CRITICAL_ERROR + 1,
  279. WBEM_E_NOT_SUPPORTED = WBEM_E_INVALID_STREAM + 1,
  280. WBEM_E_INVALID_SUPERCLASS = WBEM_E_NOT_SUPPORTED + 1,
  281. WBEM_E_INVALID_NAMESPACE = WBEM_E_INVALID_SUPERCLASS + 1,
  282. WBEM_E_INVALID_OBJECT = WBEM_E_INVALID_NAMESPACE + 1,
  283. WBEM_E_INVALID_CLASS = WBEM_E_INVALID_OBJECT + 1,
  284. WBEM_E_PROVIDER_NOT_FOUND = WBEM_E_INVALID_CLASS + 1,
  285. WBEM_E_INVALID_PROVIDER_REGISTRATION = WBEM_E_PROVIDER_NOT_FOUND + 1,
  286. WBEM_E_PROVIDER_LOAD_FAILURE = WBEM_E_INVALID_PROVIDER_REGISTRATION + 1,
  287. WBEM_E_INITIALIZATION_FAILURE = WBEM_E_PROVIDER_LOAD_FAILURE + 1,
  288. WBEM_E_TRANSPORT_FAILURE = WBEM_E_INITIALIZATION_FAILURE + 1,
  289. WBEM_E_INVALID_OPERATION = WBEM_E_TRANSPORT_FAILURE + 1,
  290. WBEM_E_INVALID_QUERY = WBEM_E_INVALID_OPERATION + 1,
  291. WBEM_E_INVALID_QUERY_TYPE = WBEM_E_INVALID_QUERY + 1,
  292. WBEM_E_ALREADY_EXISTS = WBEM_E_INVALID_QUERY_TYPE + 1,
  293. WBEM_E_OVERRIDE_NOT_ALLOWED = WBEM_E_ALREADY_EXISTS + 1,
  294. WBEM_E_PROPAGATED_QUALIFIER = WBEM_E_OVERRIDE_NOT_ALLOWED + 1,
  295. WBEM_E_PROPAGATED_PROPERTY = WBEM_E_PROPAGATED_QUALIFIER + 1,
  296. WBEM_E_UNEXPECTED = WBEM_E_PROPAGATED_PROPERTY + 1,
  297. WBEM_E_ILLEGAL_OPERATION = WBEM_E_UNEXPECTED + 1,
  298. WBEM_E_CANNOT_BE_KEY = WBEM_E_ILLEGAL_OPERATION + 1,
  299. WBEM_E_INCOMPLETE_CLASS = WBEM_E_CANNOT_BE_KEY + 1,
  300. WBEM_E_INVALID_SYNTAX = WBEM_E_INCOMPLETE_CLASS + 1,
  301. WBEM_E_NONDECORATED_OBJECT = WBEM_E_INVALID_SYNTAX + 1,
  302. WBEM_E_READ_ONLY = WBEM_E_NONDECORATED_OBJECT + 1,
  303. WBEM_E_PROVIDER_NOT_CAPABLE = WBEM_E_READ_ONLY + 1,
  304. WBEM_E_CLASS_HAS_CHILDREN = WBEM_E_PROVIDER_NOT_CAPABLE + 1,
  305. WBEM_E_CLASS_HAS_INSTANCES = WBEM_E_CLASS_HAS_CHILDREN + 1,
  306. WBEM_E_QUERY_NOT_IMPLEMENTED = WBEM_E_CLASS_HAS_INSTANCES + 1,
  307. WBEM_E_ILLEGAL_NULL = WBEM_E_QUERY_NOT_IMPLEMENTED + 1,
  308. WBEM_E_INVALID_QUALIFIER_TYPE = WBEM_E_ILLEGAL_NULL + 1,
  309. WBEM_E_INVALID_PROPERTY_TYPE = WBEM_E_INVALID_QUALIFIER_TYPE + 1,
  310. WBEM_E_VALUE_OUT_OF_RANGE = WBEM_E_INVALID_PROPERTY_TYPE + 1,
  311. WBEM_E_CANNOT_BE_SINGLETON = WBEM_E_VALUE_OUT_OF_RANGE + 1,
  312. WBEM_E_INVALID_CIM_TYPE = WBEM_E_CANNOT_BE_SINGLETON + 1,
  313. WBEM_E_INVALID_METHOD = WBEM_E_INVALID_CIM_TYPE + 1,
  314. WBEM_E_INVALID_METHOD_PARAMETERS = WBEM_E_INVALID_METHOD + 1,
  315. WBEM_E_SYSTEM_PROPERTY = WBEM_E_INVALID_METHOD_PARAMETERS + 1,
  316. WBEM_E_INVALID_PROPERTY = WBEM_E_SYSTEM_PROPERTY + 1,
  317. WBEM_E_CALL_CANCELLED = WBEM_E_INVALID_PROPERTY + 1,
  318. WBEM_E_SHUTTING_DOWN = WBEM_E_CALL_CANCELLED + 1,
  319. WBEM_E_PROPAGATED_METHOD = WBEM_E_SHUTTING_DOWN + 1,
  320. WBEM_E_UNSUPPORTED_PARAMETER = WBEM_E_PROPAGATED_METHOD + 1,
  321. WBEM_E_MISSING_PARAMETER_ID = WBEM_E_UNSUPPORTED_PARAMETER + 1,
  322. WBEM_E_INVALID_PARAMETER_ID = WBEM_E_MISSING_PARAMETER_ID + 1,
  323. WBEM_E_NONCONSECUTIVE_PARAMETER_IDS = WBEM_E_INVALID_PARAMETER_ID + 1,
  324. WBEM_E_PARAMETER_ID_ON_RETVAL = WBEM_E_NONCONSECUTIVE_PARAMETER_IDS + 1,
  325. WBEM_E_INVALID_OBJECT_PATH = WBEM_E_PARAMETER_ID_ON_RETVAL + 1,
  326. WBEM_E_OUT_OF_DISK_SPACE = WBEM_E_INVALID_OBJECT_PATH + 1,
  327. WBEMESS_E_REGISTRATION_TOO_BROAD = 0x80042001,
  328. WBEMESS_E_REGISTRATION_TOO_PRECISE = WBEMESS_E_REGISTRATION_TOO_BROAD + 1
  329. } WBEMSTATUS;
  330. EXTERN_C const IID LIBID_WbemClient_v1;
  331. #ifndef __IWbemClassObject_INTERFACE_DEFINED__
  332. #define __IWbemClassObject_INTERFACE_DEFINED__
  333. /****************************************
  334. * Generated header for interface: IWbemClassObject
  335. * at Mon Jul 20 15:14:02 1998
  336. * using MIDL 3.01.75
  337. ****************************************/
  338. /* [uuid][object][restricted][local] */
  339. EXTERN_C const IID IID_IWbemClassObject;
  340. #if defined(__cplusplus) && !defined(CINTERFACE)
  341. interface DECLSPEC_UUID("dc12a681-737f-11cf-884d-00aa004b2e24")
  342. IWbemClassObject : public IUnknown
  343. {
  344. public:
  345. virtual HRESULT STDMETHODCALLTYPE GetQualifierSet(
  346. /* [out] */ IWbemQualifierSet __RPC_FAR *__RPC_FAR *ppQualSet) = 0;
  347. virtual HRESULT STDMETHODCALLTYPE Get(
  348. /* [in] */ BSTR strName,
  349. /* [in] */ long lFlags,
  350. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  351. /* [unique][in][out] */ CIMTYPE __RPC_FAR *pType,
  352. /* [unique][in][out] */ long __RPC_FAR *plFlavor) = 0;
  353. virtual HRESULT STDMETHODCALLTYPE Put(
  354. /* [in] */ BSTR strName,
  355. /* [in] */ long lFlags,
  356. /* [in] */ VARIANT __RPC_FAR *pVal,
  357. /* [in] */ CIMTYPE Type) = 0;
  358. virtual HRESULT STDMETHODCALLTYPE Delete(
  359. /* [in] */ BSTR strName) = 0;
  360. virtual HRESULT STDMETHODCALLTYPE GetNames(
  361. /* [in] */ BSTR strQualifierName,
  362. /* [in] */ long lFlags,
  363. /* [in] */ VARIANT __RPC_FAR *pQualifierVal,
  364. /* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *pNames) = 0;
  365. virtual HRESULT STDMETHODCALLTYPE BeginEnumeration(
  366. /* [in] */ long lEnumFlags) = 0;
  367. virtual HRESULT STDMETHODCALLTYPE Next(
  368. /* [in] */ long lFlags,
  369. /* [unique][in][out] */ BSTR __RPC_FAR *pstrName,
  370. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  371. /* [unique][in][out] */ CIMTYPE __RPC_FAR *pType,
  372. /* [unique][in][out] */ long __RPC_FAR *plFlavor) = 0;
  373. virtual HRESULT STDMETHODCALLTYPE EndEnumeration( void) = 0;
  374. virtual HRESULT STDMETHODCALLTYPE GetPropertyQualifierSet(
  375. /* [in] */ BSTR pstrProperty,
  376. /* [out] */ IWbemQualifierSet __RPC_FAR *__RPC_FAR *ppQualSet) = 0;
  377. virtual HRESULT STDMETHODCALLTYPE Clone(
  378. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppCopy) = 0;
  379. virtual HRESULT STDMETHODCALLTYPE GetObjectText(
  380. /* [in] */ long lFlags,
  381. /* [out] */ BSTR __RPC_FAR *pstrObjectText) = 0;
  382. virtual HRESULT STDMETHODCALLTYPE SpawnDerivedClass(
  383. /* [in] */ long lFlags,
  384. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppNewClass) = 0;
  385. virtual HRESULT STDMETHODCALLTYPE SpawnInstance(
  386. /* [in] */ long lFlags,
  387. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppNewInstance) = 0;
  388. virtual HRESULT STDMETHODCALLTYPE CompareTo(
  389. /* [in] */ long lFlags,
  390. /* [in] */ IWbemClassObject __RPC_FAR *pCompareTo) = 0;
  391. virtual HRESULT STDMETHODCALLTYPE GetPropertyOrigin(
  392. /* [in] */ BSTR strName,
  393. /* [out] */ BSTR __RPC_FAR *pstrClassName) = 0;
  394. virtual HRESULT STDMETHODCALLTYPE InheritsFrom(
  395. /* [in] */ BSTR strAncestor) = 0;
  396. virtual HRESULT STDMETHODCALLTYPE GetMethod(
  397. /* [in] */ BSTR strName,
  398. /* [in] */ long lFlags,
  399. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppInSignature,
  400. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppOutSignature) = 0;
  401. virtual HRESULT STDMETHODCALLTYPE PutMethod(
  402. /* [in] */ BSTR strName,
  403. /* [in] */ long lFlags,
  404. /* [in] */ IWbemClassObject __RPC_FAR *pInSignature,
  405. /* [in] */ IWbemClassObject __RPC_FAR *pOutSignature) = 0;
  406. virtual HRESULT STDMETHODCALLTYPE DeleteMethod(
  407. /* [in] */ BSTR strName) = 0;
  408. virtual HRESULT STDMETHODCALLTYPE BeginMethodEnumeration(
  409. /* [in] */ long lEnumFlags) = 0;
  410. virtual HRESULT STDMETHODCALLTYPE NextMethod(
  411. /* [in] */ long lFlags,
  412. /* [unique][in][out] */ BSTR __RPC_FAR *pstrName,
  413. /* [unique][in][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppInSignature,
  414. /* [unique][in][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppOutSignature) = 0;
  415. virtual HRESULT STDMETHODCALLTYPE EndMethodEnumeration( void) = 0;
  416. virtual HRESULT STDMETHODCALLTYPE GetMethodQualifierSet(
  417. /* [in] */ BSTR strMethod,
  418. /* [out] */ IWbemQualifierSet __RPC_FAR *__RPC_FAR *ppQualSet) = 0;
  419. virtual HRESULT STDMETHODCALLTYPE GetMethodOrigin(
  420. /* [in] */ BSTR strMethodName,
  421. /* [out] */ BSTR __RPC_FAR *pstrClassName) = 0;
  422. };
  423. #else /* C style interface */
  424. typedef struct IWbemClassObjectVtbl
  425. {
  426. BEGIN_INTERFACE
  427. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  428. IWbemClassObject __RPC_FAR * This,
  429. /* [in] */ REFIID riid,
  430. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  431. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  432. IWbemClassObject __RPC_FAR * This);
  433. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  434. IWbemClassObject __RPC_FAR * This);
  435. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetQualifierSet )(
  436. IWbemClassObject __RPC_FAR * This,
  437. /* [out] */ IWbemQualifierSet __RPC_FAR *__RPC_FAR *ppQualSet);
  438. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Get )(
  439. IWbemClassObject __RPC_FAR * This,
  440. /* [in] */ BSTR strName,
  441. /* [in] */ long lFlags,
  442. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  443. /* [unique][in][out] */ CIMTYPE __RPC_FAR *pType,
  444. /* [unique][in][out] */ long __RPC_FAR *plFlavor);
  445. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Put )(
  446. IWbemClassObject __RPC_FAR * This,
  447. /* [in] */ BSTR strName,
  448. /* [in] */ long lFlags,
  449. /* [in] */ VARIANT __RPC_FAR *pVal,
  450. /* [in] */ CIMTYPE Type);
  451. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Delete )(
  452. IWbemClassObject __RPC_FAR * This,
  453. /* [in] */ BSTR strName);
  454. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNames )(
  455. IWbemClassObject __RPC_FAR * This,
  456. /* [in] */ BSTR strQualifierName,
  457. /* [in] */ long lFlags,
  458. /* [in] */ VARIANT __RPC_FAR *pQualifierVal,
  459. /* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *pNames);
  460. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginEnumeration )(
  461. IWbemClassObject __RPC_FAR * This,
  462. /* [in] */ long lEnumFlags);
  463. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Next )(
  464. IWbemClassObject __RPC_FAR * This,
  465. /* [in] */ long lFlags,
  466. /* [unique][in][out] */ BSTR __RPC_FAR *pstrName,
  467. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  468. /* [unique][in][out] */ CIMTYPE __RPC_FAR *pType,
  469. /* [unique][in][out] */ long __RPC_FAR *plFlavor);
  470. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndEnumeration )(
  471. IWbemClassObject __RPC_FAR * This);
  472. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPropertyQualifierSet )(
  473. IWbemClassObject __RPC_FAR * This,
  474. /* [in] */ BSTR pstrProperty,
  475. /* [out] */ IWbemQualifierSet __RPC_FAR *__RPC_FAR *ppQualSet);
  476. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Clone )(
  477. IWbemClassObject __RPC_FAR * This,
  478. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppCopy);
  479. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetObjectText )(
  480. IWbemClassObject __RPC_FAR * This,
  481. /* [in] */ long lFlags,
  482. /* [out] */ BSTR __RPC_FAR *pstrObjectText);
  483. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SpawnDerivedClass )(
  484. IWbemClassObject __RPC_FAR * This,
  485. /* [in] */ long lFlags,
  486. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppNewClass);
  487. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SpawnInstance )(
  488. IWbemClassObject __RPC_FAR * This,
  489. /* [in] */ long lFlags,
  490. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppNewInstance);
  491. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CompareTo )(
  492. IWbemClassObject __RPC_FAR * This,
  493. /* [in] */ long lFlags,
  494. /* [in] */ IWbemClassObject __RPC_FAR *pCompareTo);
  495. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPropertyOrigin )(
  496. IWbemClassObject __RPC_FAR * This,
  497. /* [in] */ BSTR strName,
  498. /* [out] */ BSTR __RPC_FAR *pstrClassName);
  499. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InheritsFrom )(
  500. IWbemClassObject __RPC_FAR * This,
  501. /* [in] */ BSTR strAncestor);
  502. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetMethod )(
  503. IWbemClassObject __RPC_FAR * This,
  504. /* [in] */ BSTR strName,
  505. /* [in] */ long lFlags,
  506. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppInSignature,
  507. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppOutSignature);
  508. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PutMethod )(
  509. IWbemClassObject __RPC_FAR * This,
  510. /* [in] */ BSTR strName,
  511. /* [in] */ long lFlags,
  512. /* [in] */ IWbemClassObject __RPC_FAR *pInSignature,
  513. /* [in] */ IWbemClassObject __RPC_FAR *pOutSignature);
  514. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteMethod )(
  515. IWbemClassObject __RPC_FAR * This,
  516. /* [in] */ BSTR strName);
  517. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginMethodEnumeration )(
  518. IWbemClassObject __RPC_FAR * This,
  519. /* [in] */ long lEnumFlags);
  520. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *NextMethod )(
  521. IWbemClassObject __RPC_FAR * This,
  522. /* [in] */ long lFlags,
  523. /* [unique][in][out] */ BSTR __RPC_FAR *pstrName,
  524. /* [unique][in][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppInSignature,
  525. /* [unique][in][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppOutSignature);
  526. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndMethodEnumeration )(
  527. IWbemClassObject __RPC_FAR * This);
  528. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetMethodQualifierSet )(
  529. IWbemClassObject __RPC_FAR * This,
  530. /* [in] */ BSTR strMethod,
  531. /* [out] */ IWbemQualifierSet __RPC_FAR *__RPC_FAR *ppQualSet);
  532. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetMethodOrigin )(
  533. IWbemClassObject __RPC_FAR * This,
  534. /* [in] */ BSTR strMethodName,
  535. /* [out] */ BSTR __RPC_FAR *pstrClassName);
  536. END_INTERFACE
  537. } IWbemClassObjectVtbl;
  538. interface IWbemClassObject
  539. {
  540. CONST_VTBL struct IWbemClassObjectVtbl __RPC_FAR *lpVtbl;
  541. };
  542. #ifdef COBJMACROS
  543. #define IWbemClassObject_QueryInterface(This,riid,ppvObject) \
  544. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  545. #define IWbemClassObject_AddRef(This) \
  546. (This)->lpVtbl -> AddRef(This)
  547. #define IWbemClassObject_Release(This) \
  548. (This)->lpVtbl -> Release(This)
  549. #define IWbemClassObject_GetQualifierSet(This,ppQualSet) \
  550. (This)->lpVtbl -> GetQualifierSet(This,ppQualSet)
  551. #define IWbemClassObject_Get(This,strName,lFlags,pVal,pType,plFlavor) \
  552. (This)->lpVtbl -> Get(This,strName,lFlags,pVal,pType,plFlavor)
  553. #define IWbemClassObject_Put(This,strName,lFlags,pVal,Type) \
  554. (This)->lpVtbl -> Put(This,strName,lFlags,pVal,Type)
  555. #define IWbemClassObject_Delete(This,strName) \
  556. (This)->lpVtbl -> Delete(This,strName)
  557. #define IWbemClassObject_GetNames(This,strQualifierName,lFlags,pQualifierVal,pNames) \
  558. (This)->lpVtbl -> GetNames(This,strQualifierName,lFlags,pQualifierVal,pNames)
  559. #define IWbemClassObject_BeginEnumeration(This,lEnumFlags) \
  560. (This)->lpVtbl -> BeginEnumeration(This,lEnumFlags)
  561. #define IWbemClassObject_Next(This,lFlags,pstrName,pVal,pType,plFlavor) \
  562. (This)->lpVtbl -> Next(This,lFlags,pstrName,pVal,pType,plFlavor)
  563. #define IWbemClassObject_EndEnumeration(This) \
  564. (This)->lpVtbl -> EndEnumeration(This)
  565. #define IWbemClassObject_GetPropertyQualifierSet(This,pstrProperty,ppQualSet) \
  566. (This)->lpVtbl -> GetPropertyQualifierSet(This,pstrProperty,ppQualSet)
  567. #define IWbemClassObject_Clone(This,ppCopy) \
  568. (This)->lpVtbl -> Clone(This,ppCopy)
  569. #define IWbemClassObject_GetObjectText(This,lFlags,pstrObjectText) \
  570. (This)->lpVtbl -> GetObjectText(This,lFlags,pstrObjectText)
  571. #define IWbemClassObject_SpawnDerivedClass(This,lFlags,ppNewClass) \
  572. (This)->lpVtbl -> SpawnDerivedClass(This,lFlags,ppNewClass)
  573. #define IWbemClassObject_SpawnInstance(This,lFlags,ppNewInstance) \
  574. (This)->lpVtbl -> SpawnInstance(This,lFlags,ppNewInstance)
  575. #define IWbemClassObject_CompareTo(This,lFlags,pCompareTo) \
  576. (This)->lpVtbl -> CompareTo(This,lFlags,pCompareTo)
  577. #define IWbemClassObject_GetPropertyOrigin(This,strName,pstrClassName) \
  578. (This)->lpVtbl -> GetPropertyOrigin(This,strName,pstrClassName)
  579. #define IWbemClassObject_InheritsFrom(This,strAncestor) \
  580. (This)->lpVtbl -> InheritsFrom(This,strAncestor)
  581. #define IWbemClassObject_GetMethod(This,strName,lFlags,ppInSignature,ppOutSignature) \
  582. (This)->lpVtbl -> GetMethod(This,strName,lFlags,ppInSignature,ppOutSignature)
  583. #define IWbemClassObject_PutMethod(This,strName,lFlags,pInSignature,pOutSignature) \
  584. (This)->lpVtbl -> PutMethod(This,strName,lFlags,pInSignature,pOutSignature)
  585. #define IWbemClassObject_DeleteMethod(This,strName) \
  586. (This)->lpVtbl -> DeleteMethod(This,strName)
  587. #define IWbemClassObject_BeginMethodEnumeration(This,lEnumFlags) \
  588. (This)->lpVtbl -> BeginMethodEnumeration(This,lEnumFlags)
  589. #define IWbemClassObject_NextMethod(This,lFlags,pstrName,ppInSignature,ppOutSignature) \
  590. (This)->lpVtbl -> NextMethod(This,lFlags,pstrName,ppInSignature,ppOutSignature)
  591. #define IWbemClassObject_EndMethodEnumeration(This) \
  592. (This)->lpVtbl -> EndMethodEnumeration(This)
  593. #define IWbemClassObject_GetMethodQualifierSet(This,strMethod,ppQualSet) \
  594. (This)->lpVtbl -> GetMethodQualifierSet(This,strMethod,ppQualSet)
  595. #define IWbemClassObject_GetMethodOrigin(This,strMethodName,pstrClassName) \
  596. (This)->lpVtbl -> GetMethodOrigin(This,strMethodName,pstrClassName)
  597. #endif /* COBJMACROS */
  598. #endif /* C style interface */
  599. HRESULT STDMETHODCALLTYPE IWbemClassObject_GetQualifierSet_Proxy(
  600. IWbemClassObject __RPC_FAR * This,
  601. /* [out] */ IWbemQualifierSet __RPC_FAR *__RPC_FAR *ppQualSet);
  602. void __RPC_STUB IWbemClassObject_GetQualifierSet_Stub(
  603. IRpcStubBuffer *This,
  604. IRpcChannelBuffer *_pRpcChannelBuffer,
  605. PRPC_MESSAGE _pRpcMessage,
  606. DWORD *_pdwStubPhase);
  607. HRESULT STDMETHODCALLTYPE IWbemClassObject_Get_Proxy(
  608. IWbemClassObject __RPC_FAR * This,
  609. /* [in] */ BSTR strName,
  610. /* [in] */ long lFlags,
  611. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  612. /* [unique][in][out] */ CIMTYPE __RPC_FAR *pType,
  613. /* [unique][in][out] */ long __RPC_FAR *plFlavor);
  614. void __RPC_STUB IWbemClassObject_Get_Stub(
  615. IRpcStubBuffer *This,
  616. IRpcChannelBuffer *_pRpcChannelBuffer,
  617. PRPC_MESSAGE _pRpcMessage,
  618. DWORD *_pdwStubPhase);
  619. HRESULT STDMETHODCALLTYPE IWbemClassObject_Put_Proxy(
  620. IWbemClassObject __RPC_FAR * This,
  621. /* [in] */ BSTR strName,
  622. /* [in] */ long lFlags,
  623. /* [in] */ VARIANT __RPC_FAR *pVal,
  624. /* [in] */ CIMTYPE Type);
  625. void __RPC_STUB IWbemClassObject_Put_Stub(
  626. IRpcStubBuffer *This,
  627. IRpcChannelBuffer *_pRpcChannelBuffer,
  628. PRPC_MESSAGE _pRpcMessage,
  629. DWORD *_pdwStubPhase);
  630. HRESULT STDMETHODCALLTYPE IWbemClassObject_Delete_Proxy(
  631. IWbemClassObject __RPC_FAR * This,
  632. /* [in] */ BSTR strName);
  633. void __RPC_STUB IWbemClassObject_Delete_Stub(
  634. IRpcStubBuffer *This,
  635. IRpcChannelBuffer *_pRpcChannelBuffer,
  636. PRPC_MESSAGE _pRpcMessage,
  637. DWORD *_pdwStubPhase);
  638. HRESULT STDMETHODCALLTYPE IWbemClassObject_GetNames_Proxy(
  639. IWbemClassObject __RPC_FAR * This,
  640. /* [in] */ BSTR strQualifierName,
  641. /* [in] */ long lFlags,
  642. /* [in] */ VARIANT __RPC_FAR *pQualifierVal,
  643. /* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *pNames);
  644. void __RPC_STUB IWbemClassObject_GetNames_Stub(
  645. IRpcStubBuffer *This,
  646. IRpcChannelBuffer *_pRpcChannelBuffer,
  647. PRPC_MESSAGE _pRpcMessage,
  648. DWORD *_pdwStubPhase);
  649. HRESULT STDMETHODCALLTYPE IWbemClassObject_BeginEnumeration_Proxy(
  650. IWbemClassObject __RPC_FAR * This,
  651. /* [in] */ long lEnumFlags);
  652. void __RPC_STUB IWbemClassObject_BeginEnumeration_Stub(
  653. IRpcStubBuffer *This,
  654. IRpcChannelBuffer *_pRpcChannelBuffer,
  655. PRPC_MESSAGE _pRpcMessage,
  656. DWORD *_pdwStubPhase);
  657. HRESULT STDMETHODCALLTYPE IWbemClassObject_Next_Proxy(
  658. IWbemClassObject __RPC_FAR * This,
  659. /* [in] */ long lFlags,
  660. /* [unique][in][out] */ BSTR __RPC_FAR *pstrName,
  661. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  662. /* [unique][in][out] */ CIMTYPE __RPC_FAR *pType,
  663. /* [unique][in][out] */ long __RPC_FAR *plFlavor);
  664. void __RPC_STUB IWbemClassObject_Next_Stub(
  665. IRpcStubBuffer *This,
  666. IRpcChannelBuffer *_pRpcChannelBuffer,
  667. PRPC_MESSAGE _pRpcMessage,
  668. DWORD *_pdwStubPhase);
  669. HRESULT STDMETHODCALLTYPE IWbemClassObject_EndEnumeration_Proxy(
  670. IWbemClassObject __RPC_FAR * This);
  671. void __RPC_STUB IWbemClassObject_EndEnumeration_Stub(
  672. IRpcStubBuffer *This,
  673. IRpcChannelBuffer *_pRpcChannelBuffer,
  674. PRPC_MESSAGE _pRpcMessage,
  675. DWORD *_pdwStubPhase);
  676. HRESULT STDMETHODCALLTYPE IWbemClassObject_GetPropertyQualifierSet_Proxy(
  677. IWbemClassObject __RPC_FAR * This,
  678. /* [in] */ BSTR pstrProperty,
  679. /* [out] */ IWbemQualifierSet __RPC_FAR *__RPC_FAR *ppQualSet);
  680. void __RPC_STUB IWbemClassObject_GetPropertyQualifierSet_Stub(
  681. IRpcStubBuffer *This,
  682. IRpcChannelBuffer *_pRpcChannelBuffer,
  683. PRPC_MESSAGE _pRpcMessage,
  684. DWORD *_pdwStubPhase);
  685. HRESULT STDMETHODCALLTYPE IWbemClassObject_Clone_Proxy(
  686. IWbemClassObject __RPC_FAR * This,
  687. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppCopy);
  688. void __RPC_STUB IWbemClassObject_Clone_Stub(
  689. IRpcStubBuffer *This,
  690. IRpcChannelBuffer *_pRpcChannelBuffer,
  691. PRPC_MESSAGE _pRpcMessage,
  692. DWORD *_pdwStubPhase);
  693. HRESULT STDMETHODCALLTYPE IWbemClassObject_GetObjectText_Proxy(
  694. IWbemClassObject __RPC_FAR * This,
  695. /* [in] */ long lFlags,
  696. /* [out] */ BSTR __RPC_FAR *pstrObjectText);
  697. void __RPC_STUB IWbemClassObject_GetObjectText_Stub(
  698. IRpcStubBuffer *This,
  699. IRpcChannelBuffer *_pRpcChannelBuffer,
  700. PRPC_MESSAGE _pRpcMessage,
  701. DWORD *_pdwStubPhase);
  702. HRESULT STDMETHODCALLTYPE IWbemClassObject_SpawnDerivedClass_Proxy(
  703. IWbemClassObject __RPC_FAR * This,
  704. /* [in] */ long lFlags,
  705. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppNewClass);
  706. void __RPC_STUB IWbemClassObject_SpawnDerivedClass_Stub(
  707. IRpcStubBuffer *This,
  708. IRpcChannelBuffer *_pRpcChannelBuffer,
  709. PRPC_MESSAGE _pRpcMessage,
  710. DWORD *_pdwStubPhase);
  711. HRESULT STDMETHODCALLTYPE IWbemClassObject_SpawnInstance_Proxy(
  712. IWbemClassObject __RPC_FAR * This,
  713. /* [in] */ long lFlags,
  714. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppNewInstance);
  715. void __RPC_STUB IWbemClassObject_SpawnInstance_Stub(
  716. IRpcStubBuffer *This,
  717. IRpcChannelBuffer *_pRpcChannelBuffer,
  718. PRPC_MESSAGE _pRpcMessage,
  719. DWORD *_pdwStubPhase);
  720. HRESULT STDMETHODCALLTYPE IWbemClassObject_CompareTo_Proxy(
  721. IWbemClassObject __RPC_FAR * This,
  722. /* [in] */ long lFlags,
  723. /* [in] */ IWbemClassObject __RPC_FAR *pCompareTo);
  724. void __RPC_STUB IWbemClassObject_CompareTo_Stub(
  725. IRpcStubBuffer *This,
  726. IRpcChannelBuffer *_pRpcChannelBuffer,
  727. PRPC_MESSAGE _pRpcMessage,
  728. DWORD *_pdwStubPhase);
  729. HRESULT STDMETHODCALLTYPE IWbemClassObject_GetPropertyOrigin_Proxy(
  730. IWbemClassObject __RPC_FAR * This,
  731. /* [in] */ BSTR strName,
  732. /* [out] */ BSTR __RPC_FAR *pstrClassName);
  733. void __RPC_STUB IWbemClassObject_GetPropertyOrigin_Stub(
  734. IRpcStubBuffer *This,
  735. IRpcChannelBuffer *_pRpcChannelBuffer,
  736. PRPC_MESSAGE _pRpcMessage,
  737. DWORD *_pdwStubPhase);
  738. HRESULT STDMETHODCALLTYPE IWbemClassObject_InheritsFrom_Proxy(
  739. IWbemClassObject __RPC_FAR * This,
  740. /* [in] */ BSTR strAncestor);
  741. void __RPC_STUB IWbemClassObject_InheritsFrom_Stub(
  742. IRpcStubBuffer *This,
  743. IRpcChannelBuffer *_pRpcChannelBuffer,
  744. PRPC_MESSAGE _pRpcMessage,
  745. DWORD *_pdwStubPhase);
  746. HRESULT STDMETHODCALLTYPE IWbemClassObject_GetMethod_Proxy(
  747. IWbemClassObject __RPC_FAR * This,
  748. /* [in] */ BSTR strName,
  749. /* [in] */ long lFlags,
  750. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppInSignature,
  751. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppOutSignature);
  752. void __RPC_STUB IWbemClassObject_GetMethod_Stub(
  753. IRpcStubBuffer *This,
  754. IRpcChannelBuffer *_pRpcChannelBuffer,
  755. PRPC_MESSAGE _pRpcMessage,
  756. DWORD *_pdwStubPhase);
  757. HRESULT STDMETHODCALLTYPE IWbemClassObject_PutMethod_Proxy(
  758. IWbemClassObject __RPC_FAR * This,
  759. /* [in] */ BSTR strName,
  760. /* [in] */ long lFlags,
  761. /* [in] */ IWbemClassObject __RPC_FAR *pInSignature,
  762. /* [in] */ IWbemClassObject __RPC_FAR *pOutSignature);
  763. void __RPC_STUB IWbemClassObject_PutMethod_Stub(
  764. IRpcStubBuffer *This,
  765. IRpcChannelBuffer *_pRpcChannelBuffer,
  766. PRPC_MESSAGE _pRpcMessage,
  767. DWORD *_pdwStubPhase);
  768. HRESULT STDMETHODCALLTYPE IWbemClassObject_DeleteMethod_Proxy(
  769. IWbemClassObject __RPC_FAR * This,
  770. /* [in] */ BSTR strName);
  771. void __RPC_STUB IWbemClassObject_DeleteMethod_Stub(
  772. IRpcStubBuffer *This,
  773. IRpcChannelBuffer *_pRpcChannelBuffer,
  774. PRPC_MESSAGE _pRpcMessage,
  775. DWORD *_pdwStubPhase);
  776. HRESULT STDMETHODCALLTYPE IWbemClassObject_BeginMethodEnumeration_Proxy(
  777. IWbemClassObject __RPC_FAR * This,
  778. /* [in] */ long lEnumFlags);
  779. void __RPC_STUB IWbemClassObject_BeginMethodEnumeration_Stub(
  780. IRpcStubBuffer *This,
  781. IRpcChannelBuffer *_pRpcChannelBuffer,
  782. PRPC_MESSAGE _pRpcMessage,
  783. DWORD *_pdwStubPhase);
  784. HRESULT STDMETHODCALLTYPE IWbemClassObject_NextMethod_Proxy(
  785. IWbemClassObject __RPC_FAR * This,
  786. /* [in] */ long lFlags,
  787. /* [unique][in][out] */ BSTR __RPC_FAR *pstrName,
  788. /* [unique][in][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppInSignature,
  789. /* [unique][in][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppOutSignature);
  790. void __RPC_STUB IWbemClassObject_NextMethod_Stub(
  791. IRpcStubBuffer *This,
  792. IRpcChannelBuffer *_pRpcChannelBuffer,
  793. PRPC_MESSAGE _pRpcMessage,
  794. DWORD *_pdwStubPhase);
  795. HRESULT STDMETHODCALLTYPE IWbemClassObject_EndMethodEnumeration_Proxy(
  796. IWbemClassObject __RPC_FAR * This);
  797. void __RPC_STUB IWbemClassObject_EndMethodEnumeration_Stub(
  798. IRpcStubBuffer *This,
  799. IRpcChannelBuffer *_pRpcChannelBuffer,
  800. PRPC_MESSAGE _pRpcMessage,
  801. DWORD *_pdwStubPhase);
  802. HRESULT STDMETHODCALLTYPE IWbemClassObject_GetMethodQualifierSet_Proxy(
  803. IWbemClassObject __RPC_FAR * This,
  804. /* [in] */ BSTR strMethod,
  805. /* [out] */ IWbemQualifierSet __RPC_FAR *__RPC_FAR *ppQualSet);
  806. void __RPC_STUB IWbemClassObject_GetMethodQualifierSet_Stub(
  807. IRpcStubBuffer *This,
  808. IRpcChannelBuffer *_pRpcChannelBuffer,
  809. PRPC_MESSAGE _pRpcMessage,
  810. DWORD *_pdwStubPhase);
  811. HRESULT STDMETHODCALLTYPE IWbemClassObject_GetMethodOrigin_Proxy(
  812. IWbemClassObject __RPC_FAR * This,
  813. /* [in] */ BSTR strMethodName,
  814. /* [out] */ BSTR __RPC_FAR *pstrClassName);
  815. void __RPC_STUB IWbemClassObject_GetMethodOrigin_Stub(
  816. IRpcStubBuffer *This,
  817. IRpcChannelBuffer *_pRpcChannelBuffer,
  818. PRPC_MESSAGE _pRpcMessage,
  819. DWORD *_pdwStubPhase);
  820. #endif /* __IWbemClassObject_INTERFACE_DEFINED__ */
  821. #ifndef __IWbemObjectAccess_INTERFACE_DEFINED__
  822. #define __IWbemObjectAccess_INTERFACE_DEFINED__
  823. /****************************************
  824. * Generated header for interface: IWbemObjectAccess
  825. * at Mon Jul 20 15:14:02 1998
  826. * using MIDL 3.01.75
  827. ****************************************/
  828. /* [uuid][object][restricted][local] */
  829. EXTERN_C const IID IID_IWbemObjectAccess;
  830. #if defined(__cplusplus) && !defined(CINTERFACE)
  831. interface DECLSPEC_UUID("49353c9a-516b-11d1-aea6-00c04fb68820")
  832. IWbemObjectAccess : public IWbemClassObject
  833. {
  834. public:
  835. virtual HRESULT STDMETHODCALLTYPE GetPropertyHandle(
  836. /* [in] */ BSTR strPropertyName,
  837. /* [out] */ CIMTYPE __RPC_FAR *pType,
  838. /* [out] */ long __RPC_FAR *plHandle) = 0;
  839. virtual HRESULT STDMETHODCALLTYPE WritePropertyValue(
  840. /* [in] */ long lHandle,
  841. /* [in] */ long lNumBytes,
  842. /* [size_is][in] */ byte __RPC_FAR *aData) = 0;
  843. virtual HRESULT STDMETHODCALLTYPE ReadPropertyValue(
  844. /* [in] */ long lHandle,
  845. /* [in] */ long lBufferSize,
  846. /* [out] */ long __RPC_FAR *plNumBytes,
  847. /* [length_is][size_is][out] */ byte __RPC_FAR *aData) = 0;
  848. virtual HRESULT STDMETHODCALLTYPE ReadDWORD(
  849. /* [in] */ long lHandle,
  850. /* [out] */ DWORD __RPC_FAR *pdw) = 0;
  851. virtual HRESULT STDMETHODCALLTYPE WriteDWORD(
  852. /* [in] */ long lHandle,
  853. /* [in] */ DWORD dw) = 0;
  854. virtual HRESULT STDMETHODCALLTYPE ReadQWORD(
  855. /* [in] */ long lHandle,
  856. /* [out] */ MIDL_uhyper __RPC_FAR *pqw) = 0;
  857. virtual HRESULT STDMETHODCALLTYPE WriteQWORD(
  858. /* [in] */ long lHandle,
  859. /* [in] */ MIDL_uhyper pw) = 0;
  860. virtual HRESULT STDMETHODCALLTYPE GetPropertyInfoByHandle(
  861. /* [in] */ long lHandle,
  862. /* [out] */ BSTR __RPC_FAR *pstrName,
  863. /* [out] */ CIMTYPE __RPC_FAR *pType) = 0;
  864. virtual HRESULT STDMETHODCALLTYPE Lock(
  865. /* [in] */ long lFlags) = 0;
  866. virtual HRESULT STDMETHODCALLTYPE Unlock(
  867. /* [in] */ long lFlags) = 0;
  868. };
  869. #else /* C style interface */
  870. typedef struct IWbemObjectAccessVtbl
  871. {
  872. BEGIN_INTERFACE
  873. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  874. IWbemObjectAccess __RPC_FAR * This,
  875. /* [in] */ REFIID riid,
  876. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  877. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  878. IWbemObjectAccess __RPC_FAR * This);
  879. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  880. IWbemObjectAccess __RPC_FAR * This);
  881. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetQualifierSet )(
  882. IWbemObjectAccess __RPC_FAR * This,
  883. /* [out] */ IWbemQualifierSet __RPC_FAR *__RPC_FAR *ppQualSet);
  884. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Get )(
  885. IWbemObjectAccess __RPC_FAR * This,
  886. /* [in] */ BSTR strName,
  887. /* [in] */ long lFlags,
  888. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  889. /* [unique][in][out] */ CIMTYPE __RPC_FAR *pType,
  890. /* [unique][in][out] */ long __RPC_FAR *plFlavor);
  891. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Put )(
  892. IWbemObjectAccess __RPC_FAR * This,
  893. /* [in] */ BSTR strName,
  894. /* [in] */ long lFlags,
  895. /* [in] */ VARIANT __RPC_FAR *pVal,
  896. /* [in] */ CIMTYPE Type);
  897. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Delete )(
  898. IWbemObjectAccess __RPC_FAR * This,
  899. /* [in] */ BSTR strName);
  900. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNames )(
  901. IWbemObjectAccess __RPC_FAR * This,
  902. /* [in] */ BSTR strQualifierName,
  903. /* [in] */ long lFlags,
  904. /* [in] */ VARIANT __RPC_FAR *pQualifierVal,
  905. /* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *pNames);
  906. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginEnumeration )(
  907. IWbemObjectAccess __RPC_FAR * This,
  908. /* [in] */ long lEnumFlags);
  909. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Next )(
  910. IWbemObjectAccess __RPC_FAR * This,
  911. /* [in] */ long lFlags,
  912. /* [unique][in][out] */ BSTR __RPC_FAR *pstrName,
  913. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  914. /* [unique][in][out] */ CIMTYPE __RPC_FAR *pType,
  915. /* [unique][in][out] */ long __RPC_FAR *plFlavor);
  916. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndEnumeration )(
  917. IWbemObjectAccess __RPC_FAR * This);
  918. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPropertyQualifierSet )(
  919. IWbemObjectAccess __RPC_FAR * This,
  920. /* [in] */ BSTR pstrProperty,
  921. /* [out] */ IWbemQualifierSet __RPC_FAR *__RPC_FAR *ppQualSet);
  922. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Clone )(
  923. IWbemObjectAccess __RPC_FAR * This,
  924. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppCopy);
  925. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetObjectText )(
  926. IWbemObjectAccess __RPC_FAR * This,
  927. /* [in] */ long lFlags,
  928. /* [out] */ BSTR __RPC_FAR *pstrObjectText);
  929. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SpawnDerivedClass )(
  930. IWbemObjectAccess __RPC_FAR * This,
  931. /* [in] */ long lFlags,
  932. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppNewClass);
  933. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SpawnInstance )(
  934. IWbemObjectAccess __RPC_FAR * This,
  935. /* [in] */ long lFlags,
  936. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppNewInstance);
  937. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CompareTo )(
  938. IWbemObjectAccess __RPC_FAR * This,
  939. /* [in] */ long lFlags,
  940. /* [in] */ IWbemClassObject __RPC_FAR *pCompareTo);
  941. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPropertyOrigin )(
  942. IWbemObjectAccess __RPC_FAR * This,
  943. /* [in] */ BSTR strName,
  944. /* [out] */ BSTR __RPC_FAR *pstrClassName);
  945. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InheritsFrom )(
  946. IWbemObjectAccess __RPC_FAR * This,
  947. /* [in] */ BSTR strAncestor);
  948. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetMethod )(
  949. IWbemObjectAccess __RPC_FAR * This,
  950. /* [in] */ BSTR strName,
  951. /* [in] */ long lFlags,
  952. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppInSignature,
  953. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppOutSignature);
  954. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PutMethod )(
  955. IWbemObjectAccess __RPC_FAR * This,
  956. /* [in] */ BSTR strName,
  957. /* [in] */ long lFlags,
  958. /* [in] */ IWbemClassObject __RPC_FAR *pInSignature,
  959. /* [in] */ IWbemClassObject __RPC_FAR *pOutSignature);
  960. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteMethod )(
  961. IWbemObjectAccess __RPC_FAR * This,
  962. /* [in] */ BSTR strName);
  963. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginMethodEnumeration )(
  964. IWbemObjectAccess __RPC_FAR * This,
  965. /* [in] */ long lEnumFlags);
  966. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *NextMethod )(
  967. IWbemObjectAccess __RPC_FAR * This,
  968. /* [in] */ long lFlags,
  969. /* [unique][in][out] */ BSTR __RPC_FAR *pstrName,
  970. /* [unique][in][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppInSignature,
  971. /* [unique][in][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppOutSignature);
  972. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndMethodEnumeration )(
  973. IWbemObjectAccess __RPC_FAR * This);
  974. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetMethodQualifierSet )(
  975. IWbemObjectAccess __RPC_FAR * This,
  976. /* [in] */ BSTR strMethod,
  977. /* [out] */ IWbemQualifierSet __RPC_FAR *__RPC_FAR *ppQualSet);
  978. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetMethodOrigin )(
  979. IWbemObjectAccess __RPC_FAR * This,
  980. /* [in] */ BSTR strMethodName,
  981. /* [out] */ BSTR __RPC_FAR *pstrClassName);
  982. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPropertyHandle )(
  983. IWbemObjectAccess __RPC_FAR * This,
  984. /* [in] */ BSTR strPropertyName,
  985. /* [out] */ CIMTYPE __RPC_FAR *pType,
  986. /* [out] */ long __RPC_FAR *plHandle);
  987. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *WritePropertyValue )(
  988. IWbemObjectAccess __RPC_FAR * This,
  989. /* [in] */ long lHandle,
  990. /* [in] */ long lNumBytes,
  991. /* [size_is][in] */ byte __RPC_FAR *aData);
  992. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ReadPropertyValue )(
  993. IWbemObjectAccess __RPC_FAR * This,
  994. /* [in] */ long lHandle,
  995. /* [in] */ long lBufferSize,
  996. /* [out] */ long __RPC_FAR *plNumBytes,
  997. /* [length_is][size_is][out] */ byte __RPC_FAR *aData);
  998. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ReadDWORD )(
  999. IWbemObjectAccess __RPC_FAR * This,
  1000. /* [in] */ long lHandle,
  1001. /* [out] */ DWORD __RPC_FAR *pdw);
  1002. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *WriteDWORD )(
  1003. IWbemObjectAccess __RPC_FAR * This,
  1004. /* [in] */ long lHandle,
  1005. /* [in] */ DWORD dw);
  1006. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ReadQWORD )(
  1007. IWbemObjectAccess __RPC_FAR * This,
  1008. /* [in] */ long lHandle,
  1009. /* [out] */ MIDL_uhyper __RPC_FAR *pqw);
  1010. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *WriteQWORD )(
  1011. IWbemObjectAccess __RPC_FAR * This,
  1012. /* [in] */ long lHandle,
  1013. /* [in] */ MIDL_uhyper pw);
  1014. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPropertyInfoByHandle )(
  1015. IWbemObjectAccess __RPC_FAR * This,
  1016. /* [in] */ long lHandle,
  1017. /* [out] */ BSTR __RPC_FAR *pstrName,
  1018. /* [out] */ CIMTYPE __RPC_FAR *pType);
  1019. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Lock )(
  1020. IWbemObjectAccess __RPC_FAR * This,
  1021. /* [in] */ long lFlags);
  1022. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Unlock )(
  1023. IWbemObjectAccess __RPC_FAR * This,
  1024. /* [in] */ long lFlags);
  1025. END_INTERFACE
  1026. } IWbemObjectAccessVtbl;
  1027. interface IWbemObjectAccess
  1028. {
  1029. CONST_VTBL struct IWbemObjectAccessVtbl __RPC_FAR *lpVtbl;
  1030. };
  1031. #ifdef COBJMACROS
  1032. #define IWbemObjectAccess_QueryInterface(This,riid,ppvObject) \
  1033. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1034. #define IWbemObjectAccess_AddRef(This) \
  1035. (This)->lpVtbl -> AddRef(This)
  1036. #define IWbemObjectAccess_Release(This) \
  1037. (This)->lpVtbl -> Release(This)
  1038. #define IWbemObjectAccess_GetQualifierSet(This,ppQualSet) \
  1039. (This)->lpVtbl -> GetQualifierSet(This,ppQualSet)
  1040. #define IWbemObjectAccess_Get(This,strName,lFlags,pVal,pType,plFlavor) \
  1041. (This)->lpVtbl -> Get(This,strName,lFlags,pVal,pType,plFlavor)
  1042. #define IWbemObjectAccess_Put(This,strName,lFlags,pVal,Type) \
  1043. (This)->lpVtbl -> Put(This,strName,lFlags,pVal,Type)
  1044. #define IWbemObjectAccess_Delete(This,strName) \
  1045. (This)->lpVtbl -> Delete(This,strName)
  1046. #define IWbemObjectAccess_GetNames(This,strQualifierName,lFlags,pQualifierVal,pNames) \
  1047. (This)->lpVtbl -> GetNames(This,strQualifierName,lFlags,pQualifierVal,pNames)
  1048. #define IWbemObjectAccess_BeginEnumeration(This,lEnumFlags) \
  1049. (This)->lpVtbl -> BeginEnumeration(This,lEnumFlags)
  1050. #define IWbemObjectAccess_Next(This,lFlags,pstrName,pVal,pType,plFlavor) \
  1051. (This)->lpVtbl -> Next(This,lFlags,pstrName,pVal,pType,plFlavor)
  1052. #define IWbemObjectAccess_EndEnumeration(This) \
  1053. (This)->lpVtbl -> EndEnumeration(This)
  1054. #define IWbemObjectAccess_GetPropertyQualifierSet(This,pstrProperty,ppQualSet) \
  1055. (This)->lpVtbl -> GetPropertyQualifierSet(This,pstrProperty,ppQualSet)
  1056. #define IWbemObjectAccess_Clone(This,ppCopy) \
  1057. (This)->lpVtbl -> Clone(This,ppCopy)
  1058. #define IWbemObjectAccess_GetObjectText(This,lFlags,pstrObjectText) \
  1059. (This)->lpVtbl -> GetObjectText(This,lFlags,pstrObjectText)
  1060. #define IWbemObjectAccess_SpawnDerivedClass(This,lFlags,ppNewClass) \
  1061. (This)->lpVtbl -> SpawnDerivedClass(This,lFlags,ppNewClass)
  1062. #define IWbemObjectAccess_SpawnInstance(This,lFlags,ppNewInstance) \
  1063. (This)->lpVtbl -> SpawnInstance(This,lFlags,ppNewInstance)
  1064. #define IWbemObjectAccess_CompareTo(This,lFlags,pCompareTo) \
  1065. (This)->lpVtbl -> CompareTo(This,lFlags,pCompareTo)
  1066. #define IWbemObjectAccess_GetPropertyOrigin(This,strName,pstrClassName) \
  1067. (This)->lpVtbl -> GetPropertyOrigin(This,strName,pstrClassName)
  1068. #define IWbemObjectAccess_InheritsFrom(This,strAncestor) \
  1069. (This)->lpVtbl -> InheritsFrom(This,strAncestor)
  1070. #define IWbemObjectAccess_GetMethod(This,strName,lFlags,ppInSignature,ppOutSignature) \
  1071. (This)->lpVtbl -> GetMethod(This,strName,lFlags,ppInSignature,ppOutSignature)
  1072. #define IWbemObjectAccess_PutMethod(This,strName,lFlags,pInSignature,pOutSignature) \
  1073. (This)->lpVtbl -> PutMethod(This,strName,lFlags,pInSignature,pOutSignature)
  1074. #define IWbemObjectAccess_DeleteMethod(This,strName) \
  1075. (This)->lpVtbl -> DeleteMethod(This,strName)
  1076. #define IWbemObjectAccess_BeginMethodEnumeration(This,lEnumFlags) \
  1077. (This)->lpVtbl -> BeginMethodEnumeration(This,lEnumFlags)
  1078. #define IWbemObjectAccess_NextMethod(This,lFlags,pstrName,ppInSignature,ppOutSignature) \
  1079. (This)->lpVtbl -> NextMethod(This,lFlags,pstrName,ppInSignature,ppOutSignature)
  1080. #define IWbemObjectAccess_EndMethodEnumeration(This) \
  1081. (This)->lpVtbl -> EndMethodEnumeration(This)
  1082. #define IWbemObjectAccess_GetMethodQualifierSet(This,strMethod,ppQualSet) \
  1083. (This)->lpVtbl -> GetMethodQualifierSet(This,strMethod,ppQualSet)
  1084. #define IWbemObjectAccess_GetMethodOrigin(This,strMethodName,pstrClassName) \
  1085. (This)->lpVtbl -> GetMethodOrigin(This,strMethodName,pstrClassName)
  1086. #define IWbemObjectAccess_GetPropertyHandle(This,strPropertyName,pType,plHandle) \
  1087. (This)->lpVtbl -> GetPropertyHandle(This,strPropertyName,pType,plHandle)
  1088. #define IWbemObjectAccess_WritePropertyValue(This,lHandle,lNumBytes,aData) \
  1089. (This)->lpVtbl -> WritePropertyValue(This,lHandle,lNumBytes,aData)
  1090. #define IWbemObjectAccess_ReadPropertyValue(This,lHandle,lBufferSize,plNumBytes,aData) \
  1091. (This)->lpVtbl -> ReadPropertyValue(This,lHandle,lBufferSize,plNumBytes,aData)
  1092. #define IWbemObjectAccess_ReadDWORD(This,lHandle,pdw) \
  1093. (This)->lpVtbl -> ReadDWORD(This,lHandle,pdw)
  1094. #define IWbemObjectAccess_WriteDWORD(This,lHandle,dw) \
  1095. (This)->lpVtbl -> WriteDWORD(This,lHandle,dw)
  1096. #define IWbemObjectAccess_ReadQWORD(This,lHandle,pqw) \
  1097. (This)->lpVtbl -> ReadQWORD(This,lHandle,pqw)
  1098. #define IWbemObjectAccess_WriteQWORD(This,lHandle,pw) \
  1099. (This)->lpVtbl -> WriteQWORD(This,lHandle,pw)
  1100. #define IWbemObjectAccess_GetPropertyInfoByHandle(This,lHandle,pstrName,pType) \
  1101. (This)->lpVtbl -> GetPropertyInfoByHandle(This,lHandle,pstrName,pType)
  1102. #define IWbemObjectAccess_Lock(This,lFlags) \
  1103. (This)->lpVtbl -> Lock(This,lFlags)
  1104. #define IWbemObjectAccess_Unlock(This,lFlags) \
  1105. (This)->lpVtbl -> Unlock(This,lFlags)
  1106. #endif /* COBJMACROS */
  1107. #endif /* C style interface */
  1108. HRESULT STDMETHODCALLTYPE IWbemObjectAccess_GetPropertyHandle_Proxy(
  1109. IWbemObjectAccess __RPC_FAR * This,
  1110. /* [in] */ BSTR strPropertyName,
  1111. /* [out] */ CIMTYPE __RPC_FAR *pType,
  1112. /* [out] */ long __RPC_FAR *plHandle);
  1113. void __RPC_STUB IWbemObjectAccess_GetPropertyHandle_Stub(
  1114. IRpcStubBuffer *This,
  1115. IRpcChannelBuffer *_pRpcChannelBuffer,
  1116. PRPC_MESSAGE _pRpcMessage,
  1117. DWORD *_pdwStubPhase);
  1118. HRESULT STDMETHODCALLTYPE IWbemObjectAccess_WritePropertyValue_Proxy(
  1119. IWbemObjectAccess __RPC_FAR * This,
  1120. /* [in] */ long lHandle,
  1121. /* [in] */ long lNumBytes,
  1122. /* [size_is][in] */ byte __RPC_FAR *aData);
  1123. void __RPC_STUB IWbemObjectAccess_WritePropertyValue_Stub(
  1124. IRpcStubBuffer *This,
  1125. IRpcChannelBuffer *_pRpcChannelBuffer,
  1126. PRPC_MESSAGE _pRpcMessage,
  1127. DWORD *_pdwStubPhase);
  1128. HRESULT STDMETHODCALLTYPE IWbemObjectAccess_ReadPropertyValue_Proxy(
  1129. IWbemObjectAccess __RPC_FAR * This,
  1130. /* [in] */ long lHandle,
  1131. /* [in] */ long lBufferSize,
  1132. /* [out] */ long __RPC_FAR *plNumBytes,
  1133. /* [length_is][size_is][out] */ byte __RPC_FAR *aData);
  1134. void __RPC_STUB IWbemObjectAccess_ReadPropertyValue_Stub(
  1135. IRpcStubBuffer *This,
  1136. IRpcChannelBuffer *_pRpcChannelBuffer,
  1137. PRPC_MESSAGE _pRpcMessage,
  1138. DWORD *_pdwStubPhase);
  1139. HRESULT STDMETHODCALLTYPE IWbemObjectAccess_ReadDWORD_Proxy(
  1140. IWbemObjectAccess __RPC_FAR * This,
  1141. /* [in] */ long lHandle,
  1142. /* [out] */ DWORD __RPC_FAR *pdw);
  1143. void __RPC_STUB IWbemObjectAccess_ReadDWORD_Stub(
  1144. IRpcStubBuffer *This,
  1145. IRpcChannelBuffer *_pRpcChannelBuffer,
  1146. PRPC_MESSAGE _pRpcMessage,
  1147. DWORD *_pdwStubPhase);
  1148. HRESULT STDMETHODCALLTYPE IWbemObjectAccess_WriteDWORD_Proxy(
  1149. IWbemObjectAccess __RPC_FAR * This,
  1150. /* [in] */ long lHandle,
  1151. /* [in] */ DWORD dw);
  1152. void __RPC_STUB IWbemObjectAccess_WriteDWORD_Stub(
  1153. IRpcStubBuffer *This,
  1154. IRpcChannelBuffer *_pRpcChannelBuffer,
  1155. PRPC_MESSAGE _pRpcMessage,
  1156. DWORD *_pdwStubPhase);
  1157. HRESULT STDMETHODCALLTYPE IWbemObjectAccess_ReadQWORD_Proxy(
  1158. IWbemObjectAccess __RPC_FAR * This,
  1159. /* [in] */ long lHandle,
  1160. /* [out] */ MIDL_uhyper __RPC_FAR *pqw);
  1161. void __RPC_STUB IWbemObjectAccess_ReadQWORD_Stub(
  1162. IRpcStubBuffer *This,
  1163. IRpcChannelBuffer *_pRpcChannelBuffer,
  1164. PRPC_MESSAGE _pRpcMessage,
  1165. DWORD *_pdwStubPhase);
  1166. HRESULT STDMETHODCALLTYPE IWbemObjectAccess_WriteQWORD_Proxy(
  1167. IWbemObjectAccess __RPC_FAR * This,
  1168. /* [in] */ long lHandle,
  1169. /* [in] */ MIDL_uhyper pw);
  1170. void __RPC_STUB IWbemObjectAccess_WriteQWORD_Stub(
  1171. IRpcStubBuffer *This,
  1172. IRpcChannelBuffer *_pRpcChannelBuffer,
  1173. PRPC_MESSAGE _pRpcMessage,
  1174. DWORD *_pdwStubPhase);
  1175. HRESULT STDMETHODCALLTYPE IWbemObjectAccess_GetPropertyInfoByHandle_Proxy(
  1176. IWbemObjectAccess __RPC_FAR * This,
  1177. /* [in] */ long lHandle,
  1178. /* [out] */ BSTR __RPC_FAR *pstrName,
  1179. /* [out] */ CIMTYPE __RPC_FAR *pType);
  1180. void __RPC_STUB IWbemObjectAccess_GetPropertyInfoByHandle_Stub(
  1181. IRpcStubBuffer *This,
  1182. IRpcChannelBuffer *_pRpcChannelBuffer,
  1183. PRPC_MESSAGE _pRpcMessage,
  1184. DWORD *_pdwStubPhase);
  1185. HRESULT STDMETHODCALLTYPE IWbemObjectAccess_Lock_Proxy(
  1186. IWbemObjectAccess __RPC_FAR * This,
  1187. /* [in] */ long lFlags);
  1188. void __RPC_STUB IWbemObjectAccess_Lock_Stub(
  1189. IRpcStubBuffer *This,
  1190. IRpcChannelBuffer *_pRpcChannelBuffer,
  1191. PRPC_MESSAGE _pRpcMessage,
  1192. DWORD *_pdwStubPhase);
  1193. HRESULT STDMETHODCALLTYPE IWbemObjectAccess_Unlock_Proxy(
  1194. IWbemObjectAccess __RPC_FAR * This,
  1195. /* [in] */ long lFlags);
  1196. void __RPC_STUB IWbemObjectAccess_Unlock_Stub(
  1197. IRpcStubBuffer *This,
  1198. IRpcChannelBuffer *_pRpcChannelBuffer,
  1199. PRPC_MESSAGE _pRpcMessage,
  1200. DWORD *_pdwStubPhase);
  1201. #endif /* __IWbemObjectAccess_INTERFACE_DEFINED__ */
  1202. #ifndef __IWbemQualifierSet_INTERFACE_DEFINED__
  1203. #define __IWbemQualifierSet_INTERFACE_DEFINED__
  1204. /****************************************
  1205. * Generated header for interface: IWbemQualifierSet
  1206. * at Mon Jul 20 15:14:02 1998
  1207. * using MIDL 3.01.75
  1208. ****************************************/
  1209. /* [uuid][local][restricted][object] */
  1210. EXTERN_C const IID IID_IWbemQualifierSet;
  1211. #if defined(__cplusplus) && !defined(CINTERFACE)
  1212. interface DECLSPEC_UUID("dc12a680-737f-11cf-884d-00aa004b2e24")
  1213. IWbemQualifierSet : public IUnknown
  1214. {
  1215. public:
  1216. virtual HRESULT STDMETHODCALLTYPE Get(
  1217. /* [in] */ BSTR strName,
  1218. /* [in] */ long lFlags,
  1219. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  1220. /* [unique][in][out] */ long __RPC_FAR *plFlavor) = 0;
  1221. virtual HRESULT STDMETHODCALLTYPE Put(
  1222. /* [in] */ BSTR strName,
  1223. /* [in] */ VARIANT __RPC_FAR *pVal,
  1224. /* [in] */ long lFlavor) = 0;
  1225. virtual HRESULT STDMETHODCALLTYPE Delete(
  1226. /* [in] */ BSTR strName) = 0;
  1227. virtual HRESULT STDMETHODCALLTYPE GetNames(
  1228. /* [in] */ long lFlags,
  1229. /* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *pNames) = 0;
  1230. virtual HRESULT STDMETHODCALLTYPE BeginEnumeration(
  1231. /* [in] */ long lFlags) = 0;
  1232. virtual HRESULT STDMETHODCALLTYPE Next(
  1233. /* [in] */ long lFlags,
  1234. /* [unique][in][out] */ BSTR __RPC_FAR *pstrName,
  1235. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  1236. /* [unique][in][out] */ long __RPC_FAR *plFlavor) = 0;
  1237. virtual HRESULT STDMETHODCALLTYPE EndEnumeration( void) = 0;
  1238. };
  1239. #else /* C style interface */
  1240. typedef struct IWbemQualifierSetVtbl
  1241. {
  1242. BEGIN_INTERFACE
  1243. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1244. IWbemQualifierSet __RPC_FAR * This,
  1245. /* [in] */ REFIID riid,
  1246. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1247. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1248. IWbemQualifierSet __RPC_FAR * This);
  1249. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1250. IWbemQualifierSet __RPC_FAR * This);
  1251. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Get )(
  1252. IWbemQualifierSet __RPC_FAR * This,
  1253. /* [in] */ BSTR strName,
  1254. /* [in] */ long lFlags,
  1255. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  1256. /* [unique][in][out] */ long __RPC_FAR *plFlavor);
  1257. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Put )(
  1258. IWbemQualifierSet __RPC_FAR * This,
  1259. /* [in] */ BSTR strName,
  1260. /* [in] */ VARIANT __RPC_FAR *pVal,
  1261. /* [in] */ long lFlavor);
  1262. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Delete )(
  1263. IWbemQualifierSet __RPC_FAR * This,
  1264. /* [in] */ BSTR strName);
  1265. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNames )(
  1266. IWbemQualifierSet __RPC_FAR * This,
  1267. /* [in] */ long lFlags,
  1268. /* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *pNames);
  1269. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginEnumeration )(
  1270. IWbemQualifierSet __RPC_FAR * This,
  1271. /* [in] */ long lFlags);
  1272. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Next )(
  1273. IWbemQualifierSet __RPC_FAR * This,
  1274. /* [in] */ long lFlags,
  1275. /* [unique][in][out] */ BSTR __RPC_FAR *pstrName,
  1276. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  1277. /* [unique][in][out] */ long __RPC_FAR *plFlavor);
  1278. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndEnumeration )(
  1279. IWbemQualifierSet __RPC_FAR * This);
  1280. END_INTERFACE
  1281. } IWbemQualifierSetVtbl;
  1282. interface IWbemQualifierSet
  1283. {
  1284. CONST_VTBL struct IWbemQualifierSetVtbl __RPC_FAR *lpVtbl;
  1285. };
  1286. #ifdef COBJMACROS
  1287. #define IWbemQualifierSet_QueryInterface(This,riid,ppvObject) \
  1288. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1289. #define IWbemQualifierSet_AddRef(This) \
  1290. (This)->lpVtbl -> AddRef(This)
  1291. #define IWbemQualifierSet_Release(This) \
  1292. (This)->lpVtbl -> Release(This)
  1293. #define IWbemQualifierSet_Get(This,strName,lFlags,pVal,plFlavor) \
  1294. (This)->lpVtbl -> Get(This,strName,lFlags,pVal,plFlavor)
  1295. #define IWbemQualifierSet_Put(This,strName,pVal,lFlavor) \
  1296. (This)->lpVtbl -> Put(This,strName,pVal,lFlavor)
  1297. #define IWbemQualifierSet_Delete(This,strName) \
  1298. (This)->lpVtbl -> Delete(This,strName)
  1299. #define IWbemQualifierSet_GetNames(This,lFlags,pNames) \
  1300. (This)->lpVtbl -> GetNames(This,lFlags,pNames)
  1301. #define IWbemQualifierSet_BeginEnumeration(This,lFlags) \
  1302. (This)->lpVtbl -> BeginEnumeration(This,lFlags)
  1303. #define IWbemQualifierSet_Next(This,lFlags,pstrName,pVal,plFlavor) \
  1304. (This)->lpVtbl -> Next(This,lFlags,pstrName,pVal,plFlavor)
  1305. #define IWbemQualifierSet_EndEnumeration(This) \
  1306. (This)->lpVtbl -> EndEnumeration(This)
  1307. #endif /* COBJMACROS */
  1308. #endif /* C style interface */
  1309. HRESULT STDMETHODCALLTYPE IWbemQualifierSet_Get_Proxy(
  1310. IWbemQualifierSet __RPC_FAR * This,
  1311. /* [in] */ BSTR strName,
  1312. /* [in] */ long lFlags,
  1313. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  1314. /* [unique][in][out] */ long __RPC_FAR *plFlavor);
  1315. void __RPC_STUB IWbemQualifierSet_Get_Stub(
  1316. IRpcStubBuffer *This,
  1317. IRpcChannelBuffer *_pRpcChannelBuffer,
  1318. PRPC_MESSAGE _pRpcMessage,
  1319. DWORD *_pdwStubPhase);
  1320. HRESULT STDMETHODCALLTYPE IWbemQualifierSet_Put_Proxy(
  1321. IWbemQualifierSet __RPC_FAR * This,
  1322. /* [in] */ BSTR strName,
  1323. /* [in] */ VARIANT __RPC_FAR *pVal,
  1324. /* [in] */ long lFlavor);
  1325. void __RPC_STUB IWbemQualifierSet_Put_Stub(
  1326. IRpcStubBuffer *This,
  1327. IRpcChannelBuffer *_pRpcChannelBuffer,
  1328. PRPC_MESSAGE _pRpcMessage,
  1329. DWORD *_pdwStubPhase);
  1330. HRESULT STDMETHODCALLTYPE IWbemQualifierSet_Delete_Proxy(
  1331. IWbemQualifierSet __RPC_FAR * This,
  1332. /* [in] */ BSTR strName);
  1333. void __RPC_STUB IWbemQualifierSet_Delete_Stub(
  1334. IRpcStubBuffer *This,
  1335. IRpcChannelBuffer *_pRpcChannelBuffer,
  1336. PRPC_MESSAGE _pRpcMessage,
  1337. DWORD *_pdwStubPhase);
  1338. HRESULT STDMETHODCALLTYPE IWbemQualifierSet_GetNames_Proxy(
  1339. IWbemQualifierSet __RPC_FAR * This,
  1340. /* [in] */ long lFlags,
  1341. /* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *pNames);
  1342. void __RPC_STUB IWbemQualifierSet_GetNames_Stub(
  1343. IRpcStubBuffer *This,
  1344. IRpcChannelBuffer *_pRpcChannelBuffer,
  1345. PRPC_MESSAGE _pRpcMessage,
  1346. DWORD *_pdwStubPhase);
  1347. HRESULT STDMETHODCALLTYPE IWbemQualifierSet_BeginEnumeration_Proxy(
  1348. IWbemQualifierSet __RPC_FAR * This,
  1349. /* [in] */ long lFlags);
  1350. void __RPC_STUB IWbemQualifierSet_BeginEnumeration_Stub(
  1351. IRpcStubBuffer *This,
  1352. IRpcChannelBuffer *_pRpcChannelBuffer,
  1353. PRPC_MESSAGE _pRpcMessage,
  1354. DWORD *_pdwStubPhase);
  1355. HRESULT STDMETHODCALLTYPE IWbemQualifierSet_Next_Proxy(
  1356. IWbemQualifierSet __RPC_FAR * This,
  1357. /* [in] */ long lFlags,
  1358. /* [unique][in][out] */ BSTR __RPC_FAR *pstrName,
  1359. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  1360. /* [unique][in][out] */ long __RPC_FAR *plFlavor);
  1361. void __RPC_STUB IWbemQualifierSet_Next_Stub(
  1362. IRpcStubBuffer *This,
  1363. IRpcChannelBuffer *_pRpcChannelBuffer,
  1364. PRPC_MESSAGE _pRpcMessage,
  1365. DWORD *_pdwStubPhase);
  1366. HRESULT STDMETHODCALLTYPE IWbemQualifierSet_EndEnumeration_Proxy(
  1367. IWbemQualifierSet __RPC_FAR * This);
  1368. void __RPC_STUB IWbemQualifierSet_EndEnumeration_Stub(
  1369. IRpcStubBuffer *This,
  1370. IRpcChannelBuffer *_pRpcChannelBuffer,
  1371. PRPC_MESSAGE _pRpcMessage,
  1372. DWORD *_pdwStubPhase);
  1373. #endif /* __IWbemQualifierSet_INTERFACE_DEFINED__ */
  1374. #ifndef __IWbemServices_INTERFACE_DEFINED__
  1375. #define __IWbemServices_INTERFACE_DEFINED__
  1376. /****************************************
  1377. * Generated header for interface: IWbemServices
  1378. * at Mon Jul 20 15:14:02 1998
  1379. * using MIDL 3.01.75
  1380. ****************************************/
  1381. /* [unique][uuid][restricted][object] */
  1382. EXTERN_C const IID IID_IWbemServices;
  1383. #if defined(__cplusplus) && !defined(CINTERFACE)
  1384. interface DECLSPEC_UUID("9556dc99-828c-11cf-a37e-00aa003240c7")
  1385. IWbemServices : public IUnknown
  1386. {
  1387. public:
  1388. virtual HRESULT STDMETHODCALLTYPE OpenNamespace(
  1389. /* [in] */ BSTR strNamespace,
  1390. /* [in] */ long lFlags,
  1391. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1392. /* [unique][in][out] */ IWbemServices __RPC_FAR *__RPC_FAR *ppWorkingNamespace,
  1393. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppResult) = 0;
  1394. virtual HRESULT STDMETHODCALLTYPE CancelAsyncCall(
  1395. /* [in] */ IWbemObjectSink __RPC_FAR *pSink) = 0;
  1396. virtual HRESULT STDMETHODCALLTYPE QueryObjectSink(
  1397. /* [in] */ long lFlags,
  1398. /* [out] */ IWbemObjectSink __RPC_FAR *__RPC_FAR *ppResponseHandler) = 0;
  1399. virtual HRESULT STDMETHODCALLTYPE GetObject(
  1400. /* [in] */ BSTR strObjectPath,
  1401. /* [in] */ long lFlags,
  1402. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1403. /* [unique][in][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppObject,
  1404. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult) = 0;
  1405. virtual HRESULT STDMETHODCALLTYPE GetObjectAsync(
  1406. /* [in] */ BSTR strObjectPath,
  1407. /* [in] */ long lFlags,
  1408. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1409. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler) = 0;
  1410. virtual HRESULT STDMETHODCALLTYPE PutClass(
  1411. /* [in] */ IWbemClassObject __RPC_FAR *pObject,
  1412. /* [in] */ long lFlags,
  1413. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1414. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult) = 0;
  1415. virtual HRESULT STDMETHODCALLTYPE PutClassAsync(
  1416. /* [in] */ IWbemClassObject __RPC_FAR *pObject,
  1417. /* [in] */ long lFlags,
  1418. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1419. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler) = 0;
  1420. virtual HRESULT STDMETHODCALLTYPE DeleteClass(
  1421. /* [in] */ BSTR strClass,
  1422. /* [in] */ long lFlags,
  1423. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1424. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult) = 0;
  1425. virtual HRESULT STDMETHODCALLTYPE DeleteClassAsync(
  1426. /* [in] */ BSTR strClass,
  1427. /* [in] */ long lFlags,
  1428. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1429. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler) = 0;
  1430. virtual HRESULT STDMETHODCALLTYPE CreateClassEnum(
  1431. /* [in] */ BSTR strSuperclass,
  1432. /* [in] */ long lFlags,
  1433. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1434. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  1435. virtual HRESULT STDMETHODCALLTYPE CreateClassEnumAsync(
  1436. /* [in] */ BSTR strSuperclass,
  1437. /* [in] */ long lFlags,
  1438. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1439. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler) = 0;
  1440. virtual HRESULT STDMETHODCALLTYPE PutInstance(
  1441. /* [in] */ IWbemClassObject __RPC_FAR *pInst,
  1442. /* [in] */ long lFlags,
  1443. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1444. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult) = 0;
  1445. virtual HRESULT STDMETHODCALLTYPE PutInstanceAsync(
  1446. /* [in] */ IWbemClassObject __RPC_FAR *pInst,
  1447. /* [in] */ long lFlags,
  1448. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1449. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler) = 0;
  1450. virtual HRESULT STDMETHODCALLTYPE DeleteInstance(
  1451. /* [in] */ BSTR strObjectPath,
  1452. /* [in] */ long lFlags,
  1453. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1454. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult) = 0;
  1455. virtual HRESULT STDMETHODCALLTYPE DeleteInstanceAsync(
  1456. /* [in] */ BSTR strObjectPath,
  1457. /* [in] */ long lFlags,
  1458. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1459. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler) = 0;
  1460. virtual HRESULT STDMETHODCALLTYPE CreateInstanceEnum(
  1461. /* [in] */ BSTR strClass,
  1462. /* [in] */ long lFlags,
  1463. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1464. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  1465. virtual HRESULT STDMETHODCALLTYPE CreateInstanceEnumAsync(
  1466. /* [in] */ BSTR strClass,
  1467. /* [in] */ long lFlags,
  1468. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1469. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler) = 0;
  1470. virtual HRESULT STDMETHODCALLTYPE ExecQuery(
  1471. /* [in] */ BSTR strQueryLanguage,
  1472. /* [in] */ BSTR strQuery,
  1473. /* [in] */ long lFlags,
  1474. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1475. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  1476. virtual HRESULT STDMETHODCALLTYPE ExecQueryAsync(
  1477. /* [in] */ BSTR strQueryLanguage,
  1478. /* [in] */ BSTR strQuery,
  1479. /* [in] */ long lFlags,
  1480. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1481. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler) = 0;
  1482. virtual HRESULT STDMETHODCALLTYPE ExecNotificationQuery(
  1483. /* [in] */ BSTR strQueryLanguage,
  1484. /* [in] */ BSTR strQuery,
  1485. /* [in] */ long lFlags,
  1486. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1487. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  1488. virtual HRESULT STDMETHODCALLTYPE ExecNotificationQueryAsync(
  1489. /* [in] */ BSTR strQueryLanguage,
  1490. /* [in] */ BSTR strQuery,
  1491. /* [in] */ long lFlags,
  1492. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1493. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler) = 0;
  1494. virtual HRESULT STDMETHODCALLTYPE ExecMethod(
  1495. /* [in] */ BSTR strObjectPath,
  1496. /* [in] */ BSTR strMethodName,
  1497. /* [in] */ long lFlags,
  1498. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1499. /* [in] */ IWbemClassObject __RPC_FAR *pInParams,
  1500. /* [unique][in][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppOutParams,
  1501. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult) = 0;
  1502. virtual HRESULT STDMETHODCALLTYPE ExecMethodAsync(
  1503. /* [in] */ BSTR strObjectPath,
  1504. /* [in] */ BSTR strMethodName,
  1505. /* [in] */ long lFlags,
  1506. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1507. /* [in] */ IWbemClassObject __RPC_FAR *pInParams,
  1508. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler) = 0;
  1509. };
  1510. #else /* C style interface */
  1511. typedef struct IWbemServicesVtbl
  1512. {
  1513. BEGIN_INTERFACE
  1514. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1515. IWbemServices __RPC_FAR * This,
  1516. /* [in] */ REFIID riid,
  1517. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1518. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1519. IWbemServices __RPC_FAR * This);
  1520. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1521. IWbemServices __RPC_FAR * This);
  1522. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OpenNamespace )(
  1523. IWbemServices __RPC_FAR * This,
  1524. /* [in] */ BSTR strNamespace,
  1525. /* [in] */ long lFlags,
  1526. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1527. /* [unique][in][out] */ IWbemServices __RPC_FAR *__RPC_FAR *ppWorkingNamespace,
  1528. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppResult);
  1529. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CancelAsyncCall )(
  1530. IWbemServices __RPC_FAR * This,
  1531. /* [in] */ IWbemObjectSink __RPC_FAR *pSink);
  1532. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryObjectSink )(
  1533. IWbemServices __RPC_FAR * This,
  1534. /* [in] */ long lFlags,
  1535. /* [out] */ IWbemObjectSink __RPC_FAR *__RPC_FAR *ppResponseHandler);
  1536. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetObject )(
  1537. IWbemServices __RPC_FAR * This,
  1538. /* [in] */ BSTR strObjectPath,
  1539. /* [in] */ long lFlags,
  1540. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1541. /* [unique][in][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppObject,
  1542. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult);
  1543. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetObjectAsync )(
  1544. IWbemServices __RPC_FAR * This,
  1545. /* [in] */ BSTR strObjectPath,
  1546. /* [in] */ long lFlags,
  1547. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1548. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1549. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PutClass )(
  1550. IWbemServices __RPC_FAR * This,
  1551. /* [in] */ IWbemClassObject __RPC_FAR *pObject,
  1552. /* [in] */ long lFlags,
  1553. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1554. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult);
  1555. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PutClassAsync )(
  1556. IWbemServices __RPC_FAR * This,
  1557. /* [in] */ IWbemClassObject __RPC_FAR *pObject,
  1558. /* [in] */ long lFlags,
  1559. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1560. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1561. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteClass )(
  1562. IWbemServices __RPC_FAR * This,
  1563. /* [in] */ BSTR strClass,
  1564. /* [in] */ long lFlags,
  1565. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1566. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult);
  1567. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteClassAsync )(
  1568. IWbemServices __RPC_FAR * This,
  1569. /* [in] */ BSTR strClass,
  1570. /* [in] */ long lFlags,
  1571. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1572. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1573. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateClassEnum )(
  1574. IWbemServices __RPC_FAR * This,
  1575. /* [in] */ BSTR strSuperclass,
  1576. /* [in] */ long lFlags,
  1577. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1578. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum);
  1579. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateClassEnumAsync )(
  1580. IWbemServices __RPC_FAR * This,
  1581. /* [in] */ BSTR strSuperclass,
  1582. /* [in] */ long lFlags,
  1583. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1584. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1585. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PutInstance )(
  1586. IWbemServices __RPC_FAR * This,
  1587. /* [in] */ IWbemClassObject __RPC_FAR *pInst,
  1588. /* [in] */ long lFlags,
  1589. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1590. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult);
  1591. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PutInstanceAsync )(
  1592. IWbemServices __RPC_FAR * This,
  1593. /* [in] */ IWbemClassObject __RPC_FAR *pInst,
  1594. /* [in] */ long lFlags,
  1595. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1596. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1597. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteInstance )(
  1598. IWbemServices __RPC_FAR * This,
  1599. /* [in] */ BSTR strObjectPath,
  1600. /* [in] */ long lFlags,
  1601. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1602. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult);
  1603. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteInstanceAsync )(
  1604. IWbemServices __RPC_FAR * This,
  1605. /* [in] */ BSTR strObjectPath,
  1606. /* [in] */ long lFlags,
  1607. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1608. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1609. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateInstanceEnum )(
  1610. IWbemServices __RPC_FAR * This,
  1611. /* [in] */ BSTR strClass,
  1612. /* [in] */ long lFlags,
  1613. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1614. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum);
  1615. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateInstanceEnumAsync )(
  1616. IWbemServices __RPC_FAR * This,
  1617. /* [in] */ BSTR strClass,
  1618. /* [in] */ long lFlags,
  1619. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1620. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1621. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ExecQuery )(
  1622. IWbemServices __RPC_FAR * This,
  1623. /* [in] */ BSTR strQueryLanguage,
  1624. /* [in] */ BSTR strQuery,
  1625. /* [in] */ long lFlags,
  1626. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1627. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum);
  1628. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ExecQueryAsync )(
  1629. IWbemServices __RPC_FAR * This,
  1630. /* [in] */ BSTR strQueryLanguage,
  1631. /* [in] */ BSTR strQuery,
  1632. /* [in] */ long lFlags,
  1633. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1634. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1635. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ExecNotificationQuery )(
  1636. IWbemServices __RPC_FAR * This,
  1637. /* [in] */ BSTR strQueryLanguage,
  1638. /* [in] */ BSTR strQuery,
  1639. /* [in] */ long lFlags,
  1640. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1641. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum);
  1642. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ExecNotificationQueryAsync )(
  1643. IWbemServices __RPC_FAR * This,
  1644. /* [in] */ BSTR strQueryLanguage,
  1645. /* [in] */ BSTR strQuery,
  1646. /* [in] */ long lFlags,
  1647. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1648. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1649. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ExecMethod )(
  1650. IWbemServices __RPC_FAR * This,
  1651. /* [in] */ BSTR strObjectPath,
  1652. /* [in] */ BSTR strMethodName,
  1653. /* [in] */ long lFlags,
  1654. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1655. /* [in] */ IWbemClassObject __RPC_FAR *pInParams,
  1656. /* [unique][in][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppOutParams,
  1657. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult);
  1658. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ExecMethodAsync )(
  1659. IWbemServices __RPC_FAR * This,
  1660. /* [in] */ BSTR strObjectPath,
  1661. /* [in] */ BSTR strMethodName,
  1662. /* [in] */ long lFlags,
  1663. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1664. /* [in] */ IWbemClassObject __RPC_FAR *pInParams,
  1665. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1666. END_INTERFACE
  1667. } IWbemServicesVtbl;
  1668. interface IWbemServices
  1669. {
  1670. CONST_VTBL struct IWbemServicesVtbl __RPC_FAR *lpVtbl;
  1671. };
  1672. #ifdef COBJMACROS
  1673. #define IWbemServices_QueryInterface(This,riid,ppvObject) \
  1674. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1675. #define IWbemServices_AddRef(This) \
  1676. (This)->lpVtbl -> AddRef(This)
  1677. #define IWbemServices_Release(This) \
  1678. (This)->lpVtbl -> Release(This)
  1679. #define IWbemServices_OpenNamespace(This,strNamespace,lFlags,pCtx,ppWorkingNamespace,ppResult) \
  1680. (This)->lpVtbl -> OpenNamespace(This,strNamespace,lFlags,pCtx,ppWorkingNamespace,ppResult)
  1681. #define IWbemServices_CancelAsyncCall(This,pSink) \
  1682. (This)->lpVtbl -> CancelAsyncCall(This,pSink)
  1683. #define IWbemServices_QueryObjectSink(This,lFlags,ppResponseHandler) \
  1684. (This)->lpVtbl -> QueryObjectSink(This,lFlags,ppResponseHandler)
  1685. #define IWbemServices_GetObject(This,strObjectPath,lFlags,pCtx,ppObject,ppCallResult) \
  1686. (This)->lpVtbl -> GetObject(This,strObjectPath,lFlags,pCtx,ppObject,ppCallResult)
  1687. #define IWbemServices_GetObjectAsync(This,strObjectPath,lFlags,pCtx,pResponseHandler) \
  1688. (This)->lpVtbl -> GetObjectAsync(This,strObjectPath,lFlags,pCtx,pResponseHandler)
  1689. #define IWbemServices_PutClass(This,pObject,lFlags,pCtx,ppCallResult) \
  1690. (This)->lpVtbl -> PutClass(This,pObject,lFlags,pCtx,ppCallResult)
  1691. #define IWbemServices_PutClassAsync(This,pObject,lFlags,pCtx,pResponseHandler) \
  1692. (This)->lpVtbl -> PutClassAsync(This,pObject,lFlags,pCtx,pResponseHandler)
  1693. #define IWbemServices_DeleteClass(This,strClass,lFlags,pCtx,ppCallResult) \
  1694. (This)->lpVtbl -> DeleteClass(This,strClass,lFlags,pCtx,ppCallResult)
  1695. #define IWbemServices_DeleteClassAsync(This,strClass,lFlags,pCtx,pResponseHandler) \
  1696. (This)->lpVtbl -> DeleteClassAsync(This,strClass,lFlags,pCtx,pResponseHandler)
  1697. #define IWbemServices_CreateClassEnum(This,strSuperclass,lFlags,pCtx,ppEnum) \
  1698. (This)->lpVtbl -> CreateClassEnum(This,strSuperclass,lFlags,pCtx,ppEnum)
  1699. #define IWbemServices_CreateClassEnumAsync(This,strSuperclass,lFlags,pCtx,pResponseHandler) \
  1700. (This)->lpVtbl -> CreateClassEnumAsync(This,strSuperclass,lFlags,pCtx,pResponseHandler)
  1701. #define IWbemServices_PutInstance(This,pInst,lFlags,pCtx,ppCallResult) \
  1702. (This)->lpVtbl -> PutInstance(This,pInst,lFlags,pCtx,ppCallResult)
  1703. #define IWbemServices_PutInstanceAsync(This,pInst,lFlags,pCtx,pResponseHandler) \
  1704. (This)->lpVtbl -> PutInstanceAsync(This,pInst,lFlags,pCtx,pResponseHandler)
  1705. #define IWbemServices_DeleteInstance(This,strObjectPath,lFlags,pCtx,ppCallResult) \
  1706. (This)->lpVtbl -> DeleteInstance(This,strObjectPath,lFlags,pCtx,ppCallResult)
  1707. #define IWbemServices_DeleteInstanceAsync(This,strObjectPath,lFlags,pCtx,pResponseHandler) \
  1708. (This)->lpVtbl -> DeleteInstanceAsync(This,strObjectPath,lFlags,pCtx,pResponseHandler)
  1709. #define IWbemServices_CreateInstanceEnum(This,strClass,lFlags,pCtx,ppEnum) \
  1710. (This)->lpVtbl -> CreateInstanceEnum(This,strClass,lFlags,pCtx,ppEnum)
  1711. #define IWbemServices_CreateInstanceEnumAsync(This,strClass,lFlags,pCtx,pResponseHandler) \
  1712. (This)->lpVtbl -> CreateInstanceEnumAsync(This,strClass,lFlags,pCtx,pResponseHandler)
  1713. #define IWbemServices_ExecQuery(This,strQueryLanguage,strQuery,lFlags,pCtx,ppEnum) \
  1714. (This)->lpVtbl -> ExecQuery(This,strQueryLanguage,strQuery,lFlags,pCtx,ppEnum)
  1715. #define IWbemServices_ExecQueryAsync(This,strQueryLanguage,strQuery,lFlags,pCtx,pResponseHandler) \
  1716. (This)->lpVtbl -> ExecQueryAsync(This,strQueryLanguage,strQuery,lFlags,pCtx,pResponseHandler)
  1717. #define IWbemServices_ExecNotificationQuery(This,strQueryLanguage,strQuery,lFlags,pCtx,ppEnum) \
  1718. (This)->lpVtbl -> ExecNotificationQuery(This,strQueryLanguage,strQuery,lFlags,pCtx,ppEnum)
  1719. #define IWbemServices_ExecNotificationQueryAsync(This,strQueryLanguage,strQuery,lFlags,pCtx,pResponseHandler) \
  1720. (This)->lpVtbl -> ExecNotificationQueryAsync(This,strQueryLanguage,strQuery,lFlags,pCtx,pResponseHandler)
  1721. #define IWbemServices_ExecMethod(This,strObjectPath,strMethodName,lFlags,pCtx,pInParams,ppOutParams,ppCallResult) \
  1722. (This)->lpVtbl -> ExecMethod(This,strObjectPath,strMethodName,lFlags,pCtx,pInParams,ppOutParams,ppCallResult)
  1723. #define IWbemServices_ExecMethodAsync(This,strObjectPath,strMethodName,lFlags,pCtx,pInParams,pResponseHandler) \
  1724. (This)->lpVtbl -> ExecMethodAsync(This,strObjectPath,strMethodName,lFlags,pCtx,pInParams,pResponseHandler)
  1725. #endif /* COBJMACROS */
  1726. #endif /* C style interface */
  1727. HRESULT STDMETHODCALLTYPE IWbemServices_OpenNamespace_Proxy(
  1728. IWbemServices __RPC_FAR * This,
  1729. /* [in] */ BSTR strNamespace,
  1730. /* [in] */ long lFlags,
  1731. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1732. /* [unique][in][out] */ IWbemServices __RPC_FAR *__RPC_FAR *ppWorkingNamespace,
  1733. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppResult);
  1734. void __RPC_STUB IWbemServices_OpenNamespace_Stub(
  1735. IRpcStubBuffer *This,
  1736. IRpcChannelBuffer *_pRpcChannelBuffer,
  1737. PRPC_MESSAGE _pRpcMessage,
  1738. DWORD *_pdwStubPhase);
  1739. HRESULT STDMETHODCALLTYPE IWbemServices_CancelAsyncCall_Proxy(
  1740. IWbemServices __RPC_FAR * This,
  1741. /* [in] */ IWbemObjectSink __RPC_FAR *pSink);
  1742. void __RPC_STUB IWbemServices_CancelAsyncCall_Stub(
  1743. IRpcStubBuffer *This,
  1744. IRpcChannelBuffer *_pRpcChannelBuffer,
  1745. PRPC_MESSAGE _pRpcMessage,
  1746. DWORD *_pdwStubPhase);
  1747. HRESULT STDMETHODCALLTYPE IWbemServices_QueryObjectSink_Proxy(
  1748. IWbemServices __RPC_FAR * This,
  1749. /* [in] */ long lFlags,
  1750. /* [out] */ IWbemObjectSink __RPC_FAR *__RPC_FAR *ppResponseHandler);
  1751. void __RPC_STUB IWbemServices_QueryObjectSink_Stub(
  1752. IRpcStubBuffer *This,
  1753. IRpcChannelBuffer *_pRpcChannelBuffer,
  1754. PRPC_MESSAGE _pRpcMessage,
  1755. DWORD *_pdwStubPhase);
  1756. HRESULT STDMETHODCALLTYPE IWbemServices_GetObject_Proxy(
  1757. IWbemServices __RPC_FAR * This,
  1758. /* [in] */ BSTR strObjectPath,
  1759. /* [in] */ long lFlags,
  1760. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1761. /* [unique][in][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppObject,
  1762. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult);
  1763. void __RPC_STUB IWbemServices_GetObject_Stub(
  1764. IRpcStubBuffer *This,
  1765. IRpcChannelBuffer *_pRpcChannelBuffer,
  1766. PRPC_MESSAGE _pRpcMessage,
  1767. DWORD *_pdwStubPhase);
  1768. HRESULT STDMETHODCALLTYPE IWbemServices_GetObjectAsync_Proxy(
  1769. IWbemServices __RPC_FAR * This,
  1770. /* [in] */ BSTR strObjectPath,
  1771. /* [in] */ long lFlags,
  1772. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1773. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1774. void __RPC_STUB IWbemServices_GetObjectAsync_Stub(
  1775. IRpcStubBuffer *This,
  1776. IRpcChannelBuffer *_pRpcChannelBuffer,
  1777. PRPC_MESSAGE _pRpcMessage,
  1778. DWORD *_pdwStubPhase);
  1779. HRESULT STDMETHODCALLTYPE IWbemServices_PutClass_Proxy(
  1780. IWbemServices __RPC_FAR * This,
  1781. /* [in] */ IWbemClassObject __RPC_FAR *pObject,
  1782. /* [in] */ long lFlags,
  1783. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1784. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult);
  1785. void __RPC_STUB IWbemServices_PutClass_Stub(
  1786. IRpcStubBuffer *This,
  1787. IRpcChannelBuffer *_pRpcChannelBuffer,
  1788. PRPC_MESSAGE _pRpcMessage,
  1789. DWORD *_pdwStubPhase);
  1790. HRESULT STDMETHODCALLTYPE IWbemServices_PutClassAsync_Proxy(
  1791. IWbemServices __RPC_FAR * This,
  1792. /* [in] */ IWbemClassObject __RPC_FAR *pObject,
  1793. /* [in] */ long lFlags,
  1794. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1795. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1796. void __RPC_STUB IWbemServices_PutClassAsync_Stub(
  1797. IRpcStubBuffer *This,
  1798. IRpcChannelBuffer *_pRpcChannelBuffer,
  1799. PRPC_MESSAGE _pRpcMessage,
  1800. DWORD *_pdwStubPhase);
  1801. HRESULT STDMETHODCALLTYPE IWbemServices_DeleteClass_Proxy(
  1802. IWbemServices __RPC_FAR * This,
  1803. /* [in] */ BSTR strClass,
  1804. /* [in] */ long lFlags,
  1805. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1806. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult);
  1807. void __RPC_STUB IWbemServices_DeleteClass_Stub(
  1808. IRpcStubBuffer *This,
  1809. IRpcChannelBuffer *_pRpcChannelBuffer,
  1810. PRPC_MESSAGE _pRpcMessage,
  1811. DWORD *_pdwStubPhase);
  1812. HRESULT STDMETHODCALLTYPE IWbemServices_DeleteClassAsync_Proxy(
  1813. IWbemServices __RPC_FAR * This,
  1814. /* [in] */ BSTR strClass,
  1815. /* [in] */ long lFlags,
  1816. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1817. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1818. void __RPC_STUB IWbemServices_DeleteClassAsync_Stub(
  1819. IRpcStubBuffer *This,
  1820. IRpcChannelBuffer *_pRpcChannelBuffer,
  1821. PRPC_MESSAGE _pRpcMessage,
  1822. DWORD *_pdwStubPhase);
  1823. HRESULT STDMETHODCALLTYPE IWbemServices_CreateClassEnum_Proxy(
  1824. IWbemServices __RPC_FAR * This,
  1825. /* [in] */ BSTR strSuperclass,
  1826. /* [in] */ long lFlags,
  1827. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1828. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum);
  1829. void __RPC_STUB IWbemServices_CreateClassEnum_Stub(
  1830. IRpcStubBuffer *This,
  1831. IRpcChannelBuffer *_pRpcChannelBuffer,
  1832. PRPC_MESSAGE _pRpcMessage,
  1833. DWORD *_pdwStubPhase);
  1834. HRESULT STDMETHODCALLTYPE IWbemServices_CreateClassEnumAsync_Proxy(
  1835. IWbemServices __RPC_FAR * This,
  1836. /* [in] */ BSTR strSuperclass,
  1837. /* [in] */ long lFlags,
  1838. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1839. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1840. void __RPC_STUB IWbemServices_CreateClassEnumAsync_Stub(
  1841. IRpcStubBuffer *This,
  1842. IRpcChannelBuffer *_pRpcChannelBuffer,
  1843. PRPC_MESSAGE _pRpcMessage,
  1844. DWORD *_pdwStubPhase);
  1845. HRESULT STDMETHODCALLTYPE IWbemServices_PutInstance_Proxy(
  1846. IWbemServices __RPC_FAR * This,
  1847. /* [in] */ IWbemClassObject __RPC_FAR *pInst,
  1848. /* [in] */ long lFlags,
  1849. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1850. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult);
  1851. void __RPC_STUB IWbemServices_PutInstance_Stub(
  1852. IRpcStubBuffer *This,
  1853. IRpcChannelBuffer *_pRpcChannelBuffer,
  1854. PRPC_MESSAGE _pRpcMessage,
  1855. DWORD *_pdwStubPhase);
  1856. HRESULT STDMETHODCALLTYPE IWbemServices_PutInstanceAsync_Proxy(
  1857. IWbemServices __RPC_FAR * This,
  1858. /* [in] */ IWbemClassObject __RPC_FAR *pInst,
  1859. /* [in] */ long lFlags,
  1860. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1861. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1862. void __RPC_STUB IWbemServices_PutInstanceAsync_Stub(
  1863. IRpcStubBuffer *This,
  1864. IRpcChannelBuffer *_pRpcChannelBuffer,
  1865. PRPC_MESSAGE _pRpcMessage,
  1866. DWORD *_pdwStubPhase);
  1867. HRESULT STDMETHODCALLTYPE IWbemServices_DeleteInstance_Proxy(
  1868. IWbemServices __RPC_FAR * This,
  1869. /* [in] */ BSTR strObjectPath,
  1870. /* [in] */ long lFlags,
  1871. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1872. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult);
  1873. void __RPC_STUB IWbemServices_DeleteInstance_Stub(
  1874. IRpcStubBuffer *This,
  1875. IRpcChannelBuffer *_pRpcChannelBuffer,
  1876. PRPC_MESSAGE _pRpcMessage,
  1877. DWORD *_pdwStubPhase);
  1878. HRESULT STDMETHODCALLTYPE IWbemServices_DeleteInstanceAsync_Proxy(
  1879. IWbemServices __RPC_FAR * This,
  1880. /* [in] */ BSTR strObjectPath,
  1881. /* [in] */ long lFlags,
  1882. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1883. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1884. void __RPC_STUB IWbemServices_DeleteInstanceAsync_Stub(
  1885. IRpcStubBuffer *This,
  1886. IRpcChannelBuffer *_pRpcChannelBuffer,
  1887. PRPC_MESSAGE _pRpcMessage,
  1888. DWORD *_pdwStubPhase);
  1889. HRESULT STDMETHODCALLTYPE IWbemServices_CreateInstanceEnum_Proxy(
  1890. IWbemServices __RPC_FAR * This,
  1891. /* [in] */ BSTR strClass,
  1892. /* [in] */ long lFlags,
  1893. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1894. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum);
  1895. void __RPC_STUB IWbemServices_CreateInstanceEnum_Stub(
  1896. IRpcStubBuffer *This,
  1897. IRpcChannelBuffer *_pRpcChannelBuffer,
  1898. PRPC_MESSAGE _pRpcMessage,
  1899. DWORD *_pdwStubPhase);
  1900. HRESULT STDMETHODCALLTYPE IWbemServices_CreateInstanceEnumAsync_Proxy(
  1901. IWbemServices __RPC_FAR * This,
  1902. /* [in] */ BSTR strClass,
  1903. /* [in] */ long lFlags,
  1904. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1905. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1906. void __RPC_STUB IWbemServices_CreateInstanceEnumAsync_Stub(
  1907. IRpcStubBuffer *This,
  1908. IRpcChannelBuffer *_pRpcChannelBuffer,
  1909. PRPC_MESSAGE _pRpcMessage,
  1910. DWORD *_pdwStubPhase);
  1911. HRESULT STDMETHODCALLTYPE IWbemServices_ExecQuery_Proxy(
  1912. IWbemServices __RPC_FAR * This,
  1913. /* [in] */ BSTR strQueryLanguage,
  1914. /* [in] */ BSTR strQuery,
  1915. /* [in] */ long lFlags,
  1916. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1917. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum);
  1918. void __RPC_STUB IWbemServices_ExecQuery_Stub(
  1919. IRpcStubBuffer *This,
  1920. IRpcChannelBuffer *_pRpcChannelBuffer,
  1921. PRPC_MESSAGE _pRpcMessage,
  1922. DWORD *_pdwStubPhase);
  1923. HRESULT STDMETHODCALLTYPE IWbemServices_ExecQueryAsync_Proxy(
  1924. IWbemServices __RPC_FAR * This,
  1925. /* [in] */ BSTR strQueryLanguage,
  1926. /* [in] */ BSTR strQuery,
  1927. /* [in] */ long lFlags,
  1928. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1929. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1930. void __RPC_STUB IWbemServices_ExecQueryAsync_Stub(
  1931. IRpcStubBuffer *This,
  1932. IRpcChannelBuffer *_pRpcChannelBuffer,
  1933. PRPC_MESSAGE _pRpcMessage,
  1934. DWORD *_pdwStubPhase);
  1935. HRESULT STDMETHODCALLTYPE IWbemServices_ExecNotificationQuery_Proxy(
  1936. IWbemServices __RPC_FAR * This,
  1937. /* [in] */ BSTR strQueryLanguage,
  1938. /* [in] */ BSTR strQuery,
  1939. /* [in] */ long lFlags,
  1940. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1941. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum);
  1942. void __RPC_STUB IWbemServices_ExecNotificationQuery_Stub(
  1943. IRpcStubBuffer *This,
  1944. IRpcChannelBuffer *_pRpcChannelBuffer,
  1945. PRPC_MESSAGE _pRpcMessage,
  1946. DWORD *_pdwStubPhase);
  1947. HRESULT STDMETHODCALLTYPE IWbemServices_ExecNotificationQueryAsync_Proxy(
  1948. IWbemServices __RPC_FAR * This,
  1949. /* [in] */ BSTR strQueryLanguage,
  1950. /* [in] */ BSTR strQuery,
  1951. /* [in] */ long lFlags,
  1952. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1953. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1954. void __RPC_STUB IWbemServices_ExecNotificationQueryAsync_Stub(
  1955. IRpcStubBuffer *This,
  1956. IRpcChannelBuffer *_pRpcChannelBuffer,
  1957. PRPC_MESSAGE _pRpcMessage,
  1958. DWORD *_pdwStubPhase);
  1959. HRESULT STDMETHODCALLTYPE IWbemServices_ExecMethod_Proxy(
  1960. IWbemServices __RPC_FAR * This,
  1961. /* [in] */ BSTR strObjectPath,
  1962. /* [in] */ BSTR strMethodName,
  1963. /* [in] */ long lFlags,
  1964. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1965. /* [in] */ IWbemClassObject __RPC_FAR *pInParams,
  1966. /* [unique][in][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppOutParams,
  1967. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult);
  1968. void __RPC_STUB IWbemServices_ExecMethod_Stub(
  1969. IRpcStubBuffer *This,
  1970. IRpcChannelBuffer *_pRpcChannelBuffer,
  1971. PRPC_MESSAGE _pRpcMessage,
  1972. DWORD *_pdwStubPhase);
  1973. HRESULT STDMETHODCALLTYPE IWbemServices_ExecMethodAsync_Proxy(
  1974. IWbemServices __RPC_FAR * This,
  1975. /* [in] */ BSTR strObjectPath,
  1976. /* [in] */ BSTR strMethodName,
  1977. /* [in] */ long lFlags,
  1978. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1979. /* [in] */ IWbemClassObject __RPC_FAR *pInParams,
  1980. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1981. void __RPC_STUB IWbemServices_ExecMethodAsync_Stub(
  1982. IRpcStubBuffer *This,
  1983. IRpcChannelBuffer *_pRpcChannelBuffer,
  1984. PRPC_MESSAGE _pRpcMessage,
  1985. DWORD *_pdwStubPhase);
  1986. #endif /* __IWbemServices_INTERFACE_DEFINED__ */
  1987. #ifndef __IWbemLocator_INTERFACE_DEFINED__
  1988. #define __IWbemLocator_INTERFACE_DEFINED__
  1989. /****************************************
  1990. * Generated header for interface: IWbemLocator
  1991. * at Mon Jul 20 15:14:02 1998
  1992. * using MIDL 3.01.75
  1993. ****************************************/
  1994. /* [unique][uuid][local][restricted][object] */
  1995. EXTERN_C const IID IID_IWbemLocator;
  1996. #if defined(__cplusplus) && !defined(CINTERFACE)
  1997. interface DECLSPEC_UUID("dc12a687-737f-11cf-884d-00aa004b2e24")
  1998. IWbemLocator : public IUnknown
  1999. {
  2000. public:
  2001. virtual HRESULT STDMETHODCALLTYPE ConnectServer(
  2002. /* [in] */ BSTR strNetworkResource,
  2003. /* [in] */ BSTR strUser,
  2004. /* [in] */ BSTR strPassword,
  2005. /* [in] */ BSTR strLocale,
  2006. /* [in] */ long lSecurityFlags,
  2007. /* [in] */ BSTR strAuthority,
  2008. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  2009. /* [out] */ IWbemServices __RPC_FAR *__RPC_FAR *ppNamespace) = 0;
  2010. };
  2011. #else /* C style interface */
  2012. typedef struct IWbemLocatorVtbl
  2013. {
  2014. BEGIN_INTERFACE
  2015. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2016. IWbemLocator __RPC_FAR * This,
  2017. /* [in] */ REFIID riid,
  2018. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2019. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2020. IWbemLocator __RPC_FAR * This);
  2021. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2022. IWbemLocator __RPC_FAR * This);
  2023. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ConnectServer )(
  2024. IWbemLocator __RPC_FAR * This,
  2025. /* [in] */ BSTR strNetworkResource,
  2026. /* [in] */ BSTR strUser,
  2027. /* [in] */ BSTR strPassword,
  2028. /* [in] */ BSTR strLocale,
  2029. /* [in] */ long lSecurityFlags,
  2030. /* [in] */ BSTR strAuthority,
  2031. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  2032. /* [out] */ IWbemServices __RPC_FAR *__RPC_FAR *ppNamespace);
  2033. END_INTERFACE
  2034. } IWbemLocatorVtbl;
  2035. interface IWbemLocator
  2036. {
  2037. CONST_VTBL struct IWbemLocatorVtbl __RPC_FAR *lpVtbl;
  2038. };
  2039. #ifdef COBJMACROS
  2040. #define IWbemLocator_QueryInterface(This,riid,ppvObject) \
  2041. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2042. #define IWbemLocator_AddRef(This) \
  2043. (This)->lpVtbl -> AddRef(This)
  2044. #define IWbemLocator_Release(This) \
  2045. (This)->lpVtbl -> Release(This)
  2046. #define IWbemLocator_ConnectServer(This,strNetworkResource,strUser,strPassword,strLocale,lSecurityFlags,strAuthority,pCtx,ppNamespace) \
  2047. (This)->lpVtbl -> ConnectServer(This,strNetworkResource,strUser,strPassword,strLocale,lSecurityFlags,strAuthority,pCtx,ppNamespace)
  2048. #endif /* COBJMACROS */
  2049. #endif /* C style interface */
  2050. HRESULT STDMETHODCALLTYPE IWbemLocator_ConnectServer_Proxy(
  2051. IWbemLocator __RPC_FAR * This,
  2052. /* [in] */ BSTR strNetworkResource,
  2053. /* [in] */ BSTR strUser,
  2054. /* [in] */ BSTR strPassword,
  2055. /* [in] */ BSTR strLocale,
  2056. /* [in] */ long lSecurityFlags,
  2057. /* [in] */ BSTR strAuthority,
  2058. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  2059. /* [out] */ IWbemServices __RPC_FAR *__RPC_FAR *ppNamespace);
  2060. void __RPC_STUB IWbemLocator_ConnectServer_Stub(
  2061. IRpcStubBuffer *This,
  2062. IRpcChannelBuffer *_pRpcChannelBuffer,
  2063. PRPC_MESSAGE _pRpcMessage,
  2064. DWORD *_pdwStubPhase);
  2065. #endif /* __IWbemLocator_INTERFACE_DEFINED__ */
  2066. #ifndef __IWbemObjectSink_INTERFACE_DEFINED__
  2067. #define __IWbemObjectSink_INTERFACE_DEFINED__
  2068. /****************************************
  2069. * Generated header for interface: IWbemObjectSink
  2070. * at Mon Jul 20 15:14:02 1998
  2071. * using MIDL 3.01.75
  2072. ****************************************/
  2073. /* [uuid][restricted][object] */
  2074. EXTERN_C const IID IID_IWbemObjectSink;
  2075. #if defined(__cplusplus) && !defined(CINTERFACE)
  2076. interface DECLSPEC_UUID("7c857801-7381-11cf-884d-00aa004b2e24")
  2077. IWbemObjectSink : public IUnknown
  2078. {
  2079. public:
  2080. virtual HRESULT STDMETHODCALLTYPE Indicate(
  2081. /* [in] */ long lObjectCount,
  2082. /* [size_is][in] */ IWbemClassObject __RPC_FAR *__RPC_FAR *apObjArray) = 0;
  2083. virtual HRESULT STDMETHODCALLTYPE SetStatus(
  2084. /* [in] */ long lFlags,
  2085. /* [in] */ HRESULT hResult,
  2086. /* [in] */ BSTR strParam,
  2087. /* [in] */ IWbemClassObject __RPC_FAR *pObjParam) = 0;
  2088. };
  2089. #else /* C style interface */
  2090. typedef struct IWbemObjectSinkVtbl
  2091. {
  2092. BEGIN_INTERFACE
  2093. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2094. IWbemObjectSink __RPC_FAR * This,
  2095. /* [in] */ REFIID riid,
  2096. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2097. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2098. IWbemObjectSink __RPC_FAR * This);
  2099. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2100. IWbemObjectSink __RPC_FAR * This);
  2101. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Indicate )(
  2102. IWbemObjectSink __RPC_FAR * This,
  2103. /* [in] */ long lObjectCount,
  2104. /* [size_is][in] */ IWbemClassObject __RPC_FAR *__RPC_FAR *apObjArray);
  2105. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetStatus )(
  2106. IWbemObjectSink __RPC_FAR * This,
  2107. /* [in] */ long lFlags,
  2108. /* [in] */ HRESULT hResult,
  2109. /* [in] */ BSTR strParam,
  2110. /* [in] */ IWbemClassObject __RPC_FAR *pObjParam);
  2111. END_INTERFACE
  2112. } IWbemObjectSinkVtbl;
  2113. interface IWbemObjectSink
  2114. {
  2115. CONST_VTBL struct IWbemObjectSinkVtbl __RPC_FAR *lpVtbl;
  2116. };
  2117. #ifdef COBJMACROS
  2118. #define IWbemObjectSink_QueryInterface(This,riid,ppvObject) \
  2119. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2120. #define IWbemObjectSink_AddRef(This) \
  2121. (This)->lpVtbl -> AddRef(This)
  2122. #define IWbemObjectSink_Release(This) \
  2123. (This)->lpVtbl -> Release(This)
  2124. #define IWbemObjectSink_Indicate(This,lObjectCount,apObjArray) \
  2125. (This)->lpVtbl -> Indicate(This,lObjectCount,apObjArray)
  2126. #define IWbemObjectSink_SetStatus(This,lFlags,hResult,strParam,pObjParam) \
  2127. (This)->lpVtbl -> SetStatus(This,lFlags,hResult,strParam,pObjParam)
  2128. #endif /* COBJMACROS */
  2129. #endif /* C style interface */
  2130. HRESULT STDMETHODCALLTYPE IWbemObjectSink_Indicate_Proxy(
  2131. IWbemObjectSink __RPC_FAR * This,
  2132. /* [in] */ long lObjectCount,
  2133. /* [size_is][in] */ IWbemClassObject __RPC_FAR *__RPC_FAR *apObjArray);
  2134. void __RPC_STUB IWbemObjectSink_Indicate_Stub(
  2135. IRpcStubBuffer *This,
  2136. IRpcChannelBuffer *_pRpcChannelBuffer,
  2137. PRPC_MESSAGE _pRpcMessage,
  2138. DWORD *_pdwStubPhase);
  2139. HRESULT STDMETHODCALLTYPE IWbemObjectSink_SetStatus_Proxy(
  2140. IWbemObjectSink __RPC_FAR * This,
  2141. /* [in] */ long lFlags,
  2142. /* [in] */ HRESULT hResult,
  2143. /* [in] */ BSTR strParam,
  2144. /* [in] */ IWbemClassObject __RPC_FAR *pObjParam);
  2145. void __RPC_STUB IWbemObjectSink_SetStatus_Stub(
  2146. IRpcStubBuffer *This,
  2147. IRpcChannelBuffer *_pRpcChannelBuffer,
  2148. PRPC_MESSAGE _pRpcMessage,
  2149. DWORD *_pdwStubPhase);
  2150. #endif /* __IWbemObjectSink_INTERFACE_DEFINED__ */
  2151. #ifndef __IEnumWbemClassObject_INTERFACE_DEFINED__
  2152. #define __IEnumWbemClassObject_INTERFACE_DEFINED__
  2153. /****************************************
  2154. * Generated header for interface: IEnumWbemClassObject
  2155. * at Mon Jul 20 15:14:02 1998
  2156. * using MIDL 3.01.75
  2157. ****************************************/
  2158. /* [uuid][restricted][object] */
  2159. EXTERN_C const IID IID_IEnumWbemClassObject;
  2160. #if defined(__cplusplus) && !defined(CINTERFACE)
  2161. interface DECLSPEC_UUID("027947e1-d731-11ce-a357-000000000001")
  2162. IEnumWbemClassObject : public IUnknown
  2163. {
  2164. public:
  2165. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  2166. virtual HRESULT STDMETHODCALLTYPE Next(
  2167. /* [in] */ long lTimeout,
  2168. /* [in] */ ULONG uCount,
  2169. /* [length_is][size_is][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *apObjects,
  2170. /* [out] */ ULONG __RPC_FAR *puReturned) = 0;
  2171. virtual HRESULT STDMETHODCALLTYPE NextAsync(
  2172. /* [in] */ ULONG uCount,
  2173. /* [in] */ IWbemObjectSink __RPC_FAR *pSink) = 0;
  2174. virtual HRESULT STDMETHODCALLTYPE Clone(
  2175. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  2176. virtual HRESULT STDMETHODCALLTYPE Skip(
  2177. /* [in] */ long lTimeout,
  2178. /* [in] */ ULONG nCount) = 0;
  2179. };
  2180. #else /* C style interface */
  2181. typedef struct IEnumWbemClassObjectVtbl
  2182. {
  2183. BEGIN_INTERFACE
  2184. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2185. IEnumWbemClassObject __RPC_FAR * This,
  2186. /* [in] */ REFIID riid,
  2187. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2188. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2189. IEnumWbemClassObject __RPC_FAR * This);
  2190. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2191. IEnumWbemClassObject __RPC_FAR * This);
  2192. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Reset )(
  2193. IEnumWbemClassObject __RPC_FAR * This);
  2194. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Next )(
  2195. IEnumWbemClassObject __RPC_FAR * This,
  2196. /* [in] */ long lTimeout,
  2197. /* [in] */ ULONG uCount,
  2198. /* [length_is][size_is][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *apObjects,
  2199. /* [out] */ ULONG __RPC_FAR *puReturned);
  2200. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *NextAsync )(
  2201. IEnumWbemClassObject __RPC_FAR * This,
  2202. /* [in] */ ULONG uCount,
  2203. /* [in] */ IWbemObjectSink __RPC_FAR *pSink);
  2204. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Clone )(
  2205. IEnumWbemClassObject __RPC_FAR * This,
  2206. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum);
  2207. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Skip )(
  2208. IEnumWbemClassObject __RPC_FAR * This,
  2209. /* [in] */ long lTimeout,
  2210. /* [in] */ ULONG nCount);
  2211. END_INTERFACE
  2212. } IEnumWbemClassObjectVtbl;
  2213. interface IEnumWbemClassObject
  2214. {
  2215. CONST_VTBL struct IEnumWbemClassObjectVtbl __RPC_FAR *lpVtbl;
  2216. };
  2217. #ifdef COBJMACROS
  2218. #define IEnumWbemClassObject_QueryInterface(This,riid,ppvObject) \
  2219. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2220. #define IEnumWbemClassObject_AddRef(This) \
  2221. (This)->lpVtbl -> AddRef(This)
  2222. #define IEnumWbemClassObject_Release(This) \
  2223. (This)->lpVtbl -> Release(This)
  2224. #define IEnumWbemClassObject_Reset(This) \
  2225. (This)->lpVtbl -> Reset(This)
  2226. #define IEnumWbemClassObject_Next(This,lTimeout,uCount,apObjects,puReturned) \
  2227. (This)->lpVtbl -> Next(This,lTimeout,uCount,apObjects,puReturned)
  2228. #define IEnumWbemClassObject_NextAsync(This,uCount,pSink) \
  2229. (This)->lpVtbl -> NextAsync(This,uCount,pSink)
  2230. #define IEnumWbemClassObject_Clone(This,ppEnum) \
  2231. (This)->lpVtbl -> Clone(This,ppEnum)
  2232. #define IEnumWbemClassObject_Skip(This,lTimeout,nCount) \
  2233. (This)->lpVtbl -> Skip(This,lTimeout,nCount)
  2234. #endif /* COBJMACROS */
  2235. #endif /* C style interface */
  2236. HRESULT STDMETHODCALLTYPE IEnumWbemClassObject_Reset_Proxy(
  2237. IEnumWbemClassObject __RPC_FAR * This);
  2238. void __RPC_STUB IEnumWbemClassObject_Reset_Stub(
  2239. IRpcStubBuffer *This,
  2240. IRpcChannelBuffer *_pRpcChannelBuffer,
  2241. PRPC_MESSAGE _pRpcMessage,
  2242. DWORD *_pdwStubPhase);
  2243. HRESULT STDMETHODCALLTYPE IEnumWbemClassObject_Next_Proxy(
  2244. IEnumWbemClassObject __RPC_FAR * This,
  2245. /* [in] */ long lTimeout,
  2246. /* [in] */ ULONG uCount,
  2247. /* [length_is][size_is][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *apObjects,
  2248. /* [out] */ ULONG __RPC_FAR *puReturned);
  2249. void __RPC_STUB IEnumWbemClassObject_Next_Stub(
  2250. IRpcStubBuffer *This,
  2251. IRpcChannelBuffer *_pRpcChannelBuffer,
  2252. PRPC_MESSAGE _pRpcMessage,
  2253. DWORD *_pdwStubPhase);
  2254. HRESULT STDMETHODCALLTYPE IEnumWbemClassObject_NextAsync_Proxy(
  2255. IEnumWbemClassObject __RPC_FAR * This,
  2256. /* [in] */ ULONG uCount,
  2257. /* [in] */ IWbemObjectSink __RPC_FAR *pSink);
  2258. void __RPC_STUB IEnumWbemClassObject_NextAsync_Stub(
  2259. IRpcStubBuffer *This,
  2260. IRpcChannelBuffer *_pRpcChannelBuffer,
  2261. PRPC_MESSAGE _pRpcMessage,
  2262. DWORD *_pdwStubPhase);
  2263. HRESULT STDMETHODCALLTYPE IEnumWbemClassObject_Clone_Proxy(
  2264. IEnumWbemClassObject __RPC_FAR * This,
  2265. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum);
  2266. void __RPC_STUB IEnumWbemClassObject_Clone_Stub(
  2267. IRpcStubBuffer *This,
  2268. IRpcChannelBuffer *_pRpcChannelBuffer,
  2269. PRPC_MESSAGE _pRpcMessage,
  2270. DWORD *_pdwStubPhase);
  2271. HRESULT STDMETHODCALLTYPE IEnumWbemClassObject_Skip_Proxy(
  2272. IEnumWbemClassObject __RPC_FAR * This,
  2273. /* [in] */ long lTimeout,
  2274. /* [in] */ ULONG nCount);
  2275. void __RPC_STUB IEnumWbemClassObject_Skip_Stub(
  2276. IRpcStubBuffer *This,
  2277. IRpcChannelBuffer *_pRpcChannelBuffer,
  2278. PRPC_MESSAGE _pRpcMessage,
  2279. DWORD *_pdwStubPhase);
  2280. #endif /* __IEnumWbemClassObject_INTERFACE_DEFINED__ */
  2281. #ifndef __IWbemCallResult_INTERFACE_DEFINED__
  2282. #define __IWbemCallResult_INTERFACE_DEFINED__
  2283. /****************************************
  2284. * Generated header for interface: IWbemCallResult
  2285. * at Mon Jul 20 15:14:02 1998
  2286. * using MIDL 3.01.75
  2287. ****************************************/
  2288. /* [uuid][restricted][object] */
  2289. EXTERN_C const IID IID_IWbemCallResult;
  2290. #if defined(__cplusplus) && !defined(CINTERFACE)
  2291. interface DECLSPEC_UUID("44aca675-e8fc-11d0-a07c-00c04fb68820")
  2292. IWbemCallResult : public IUnknown
  2293. {
  2294. public:
  2295. virtual HRESULT STDMETHODCALLTYPE GetResultObject(
  2296. /* [in] */ long lTimeout,
  2297. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppResultObject) = 0;
  2298. virtual HRESULT STDMETHODCALLTYPE GetResultString(
  2299. /* [in] */ long lTimeout,
  2300. /* [out] */ BSTR __RPC_FAR *pstrResultString) = 0;
  2301. virtual HRESULT STDMETHODCALLTYPE GetResultServices(
  2302. /* [in] */ long lTimeout,
  2303. /* [out] */ IWbemServices __RPC_FAR *__RPC_FAR *ppServices) = 0;
  2304. virtual HRESULT STDMETHODCALLTYPE GetCallStatus(
  2305. /* [in] */ long lTimeout,
  2306. /* [out] */ long __RPC_FAR *plStatus) = 0;
  2307. };
  2308. #else /* C style interface */
  2309. typedef struct IWbemCallResultVtbl
  2310. {
  2311. BEGIN_INTERFACE
  2312. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2313. IWbemCallResult __RPC_FAR * This,
  2314. /* [in] */ REFIID riid,
  2315. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2316. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2317. IWbemCallResult __RPC_FAR * This);
  2318. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2319. IWbemCallResult __RPC_FAR * This);
  2320. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetResultObject )(
  2321. IWbemCallResult __RPC_FAR * This,
  2322. /* [in] */ long lTimeout,
  2323. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppResultObject);
  2324. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetResultString )(
  2325. IWbemCallResult __RPC_FAR * This,
  2326. /* [in] */ long lTimeout,
  2327. /* [out] */ BSTR __RPC_FAR *pstrResultString);
  2328. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetResultServices )(
  2329. IWbemCallResult __RPC_FAR * This,
  2330. /* [in] */ long lTimeout,
  2331. /* [out] */ IWbemServices __RPC_FAR *__RPC_FAR *ppServices);
  2332. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCallStatus )(
  2333. IWbemCallResult __RPC_FAR * This,
  2334. /* [in] */ long lTimeout,
  2335. /* [out] */ long __RPC_FAR *plStatus);
  2336. END_INTERFACE
  2337. } IWbemCallResultVtbl;
  2338. interface IWbemCallResult
  2339. {
  2340. CONST_VTBL struct IWbemCallResultVtbl __RPC_FAR *lpVtbl;
  2341. };
  2342. #ifdef COBJMACROS
  2343. #define IWbemCallResult_QueryInterface(This,riid,ppvObject) \
  2344. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2345. #define IWbemCallResult_AddRef(This) \
  2346. (This)->lpVtbl -> AddRef(This)
  2347. #define IWbemCallResult_Release(This) \
  2348. (This)->lpVtbl -> Release(This)
  2349. #define IWbemCallResult_GetResultObject(This,lTimeout,ppResultObject) \
  2350. (This)->lpVtbl -> GetResultObject(This,lTimeout,ppResultObject)
  2351. #define IWbemCallResult_GetResultString(This,lTimeout,pstrResultString) \
  2352. (This)->lpVtbl -> GetResultString(This,lTimeout,pstrResultString)
  2353. #define IWbemCallResult_GetResultServices(This,lTimeout,ppServices) \
  2354. (This)->lpVtbl -> GetResultServices(This,lTimeout,ppServices)
  2355. #define IWbemCallResult_GetCallStatus(This,lTimeout,plStatus) \
  2356. (This)->lpVtbl -> GetCallStatus(This,lTimeout,plStatus)
  2357. #endif /* COBJMACROS */
  2358. #endif /* C style interface */
  2359. HRESULT STDMETHODCALLTYPE IWbemCallResult_GetResultObject_Proxy(
  2360. IWbemCallResult __RPC_FAR * This,
  2361. /* [in] */ long lTimeout,
  2362. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppResultObject);
  2363. void __RPC_STUB IWbemCallResult_GetResultObject_Stub(
  2364. IRpcStubBuffer *This,
  2365. IRpcChannelBuffer *_pRpcChannelBuffer,
  2366. PRPC_MESSAGE _pRpcMessage,
  2367. DWORD *_pdwStubPhase);
  2368. HRESULT STDMETHODCALLTYPE IWbemCallResult_GetResultString_Proxy(
  2369. IWbemCallResult __RPC_FAR * This,
  2370. /* [in] */ long lTimeout,
  2371. /* [out] */ BSTR __RPC_FAR *pstrResultString);
  2372. void __RPC_STUB IWbemCallResult_GetResultString_Stub(
  2373. IRpcStubBuffer *This,
  2374. IRpcChannelBuffer *_pRpcChannelBuffer,
  2375. PRPC_MESSAGE _pRpcMessage,
  2376. DWORD *_pdwStubPhase);
  2377. HRESULT STDMETHODCALLTYPE IWbemCallResult_GetResultServices_Proxy(
  2378. IWbemCallResult __RPC_FAR * This,
  2379. /* [in] */ long lTimeout,
  2380. /* [out] */ IWbemServices __RPC_FAR *__RPC_FAR *ppServices);
  2381. void __RPC_STUB IWbemCallResult_GetResultServices_Stub(
  2382. IRpcStubBuffer *This,
  2383. IRpcChannelBuffer *_pRpcChannelBuffer,
  2384. PRPC_MESSAGE _pRpcMessage,
  2385. DWORD *_pdwStubPhase);
  2386. HRESULT STDMETHODCALLTYPE IWbemCallResult_GetCallStatus_Proxy(
  2387. IWbemCallResult __RPC_FAR * This,
  2388. /* [in] */ long lTimeout,
  2389. /* [out] */ long __RPC_FAR *plStatus);
  2390. void __RPC_STUB IWbemCallResult_GetCallStatus_Stub(
  2391. IRpcStubBuffer *This,
  2392. IRpcChannelBuffer *_pRpcChannelBuffer,
  2393. PRPC_MESSAGE _pRpcMessage,
  2394. DWORD *_pdwStubPhase);
  2395. #endif /* __IWbemCallResult_INTERFACE_DEFINED__ */
  2396. #ifndef __IWbemContext_INTERFACE_DEFINED__
  2397. #define __IWbemContext_INTERFACE_DEFINED__
  2398. /****************************************
  2399. * Generated header for interface: IWbemContext
  2400. * at Mon Jul 20 15:14:02 1998
  2401. * using MIDL 3.01.75
  2402. ****************************************/
  2403. /* [uuid][local][restricted][object] */
  2404. EXTERN_C const IID IID_IWbemContext;
  2405. #if defined(__cplusplus) && !defined(CINTERFACE)
  2406. interface DECLSPEC_UUID("44aca674-e8fc-11d0-a07c-00c04fb68820")
  2407. IWbemContext : public IUnknown
  2408. {
  2409. public:
  2410. virtual HRESULT STDMETHODCALLTYPE Clone(
  2411. /* [out] */ IWbemContext __RPC_FAR *__RPC_FAR *ppNewCopy) = 0;
  2412. virtual HRESULT STDMETHODCALLTYPE GetNames(
  2413. /* [in] */ long lFlags,
  2414. /* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *pNames) = 0;
  2415. virtual HRESULT STDMETHODCALLTYPE BeginEnumeration(
  2416. /* [in] */ long lFlags) = 0;
  2417. virtual HRESULT STDMETHODCALLTYPE Next(
  2418. /* [in] */ long lFlags,
  2419. /* [out] */ BSTR __RPC_FAR *pstrName,
  2420. /* [out] */ VARIANT __RPC_FAR *pValue) = 0;
  2421. virtual HRESULT STDMETHODCALLTYPE EndEnumeration( void) = 0;
  2422. virtual HRESULT STDMETHODCALLTYPE SetValue(
  2423. /* [in] */ BSTR strName,
  2424. /* [in] */ long lFlags,
  2425. /* [in] */ VARIANT __RPC_FAR *pValue) = 0;
  2426. virtual HRESULT STDMETHODCALLTYPE GetValue(
  2427. /* [in] */ BSTR strName,
  2428. /* [in] */ long lFlags,
  2429. /* [out] */ VARIANT __RPC_FAR *pValue) = 0;
  2430. virtual HRESULT STDMETHODCALLTYPE DeleteValue(
  2431. /* [in] */ BSTR strName,
  2432. /* [in] */ long lFlags) = 0;
  2433. virtual HRESULT STDMETHODCALLTYPE DeleteAll( void) = 0;
  2434. };
  2435. #else /* C style interface */
  2436. typedef struct IWbemContextVtbl
  2437. {
  2438. BEGIN_INTERFACE
  2439. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2440. IWbemContext __RPC_FAR * This,
  2441. /* [in] */ REFIID riid,
  2442. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2443. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2444. IWbemContext __RPC_FAR * This);
  2445. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2446. IWbemContext __RPC_FAR * This);
  2447. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Clone )(
  2448. IWbemContext __RPC_FAR * This,
  2449. /* [out] */ IWbemContext __RPC_FAR *__RPC_FAR *ppNewCopy);
  2450. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNames )(
  2451. IWbemContext __RPC_FAR * This,
  2452. /* [in] */ long lFlags,
  2453. /* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *pNames);
  2454. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginEnumeration )(
  2455. IWbemContext __RPC_FAR * This,
  2456. /* [in] */ long lFlags);
  2457. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Next )(
  2458. IWbemContext __RPC_FAR * This,
  2459. /* [in] */ long lFlags,
  2460. /* [out] */ BSTR __RPC_FAR *pstrName,
  2461. /* [out] */ VARIANT __RPC_FAR *pValue);
  2462. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndEnumeration )(
  2463. IWbemContext __RPC_FAR * This);
  2464. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetValue )(
  2465. IWbemContext __RPC_FAR * This,
  2466. /* [in] */ BSTR strName,
  2467. /* [in] */ long lFlags,
  2468. /* [in] */ VARIANT __RPC_FAR *pValue);
  2469. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetValue )(
  2470. IWbemContext __RPC_FAR * This,
  2471. /* [in] */ BSTR strName,
  2472. /* [in] */ long lFlags,
  2473. /* [out] */ VARIANT __RPC_FAR *pValue);
  2474. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteValue )(
  2475. IWbemContext __RPC_FAR * This,
  2476. /* [in] */ BSTR strName,
  2477. /* [in] */ long lFlags);
  2478. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteAll )(
  2479. IWbemContext __RPC_FAR * This);
  2480. END_INTERFACE
  2481. } IWbemContextVtbl;
  2482. interface IWbemContext
  2483. {
  2484. CONST_VTBL struct IWbemContextVtbl __RPC_FAR *lpVtbl;
  2485. };
  2486. #ifdef COBJMACROS
  2487. #define IWbemContext_QueryInterface(This,riid,ppvObject) \
  2488. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2489. #define IWbemContext_AddRef(This) \
  2490. (This)->lpVtbl -> AddRef(This)
  2491. #define IWbemContext_Release(This) \
  2492. (This)->lpVtbl -> Release(This)
  2493. #define IWbemContext_Clone(This,ppNewCopy) \
  2494. (This)->lpVtbl -> Clone(This,ppNewCopy)
  2495. #define IWbemContext_GetNames(This,lFlags,pNames) \
  2496. (This)->lpVtbl -> GetNames(This,lFlags,pNames)
  2497. #define IWbemContext_BeginEnumeration(This,lFlags) \
  2498. (This)->lpVtbl -> BeginEnumeration(This,lFlags)
  2499. #define IWbemContext_Next(This,lFlags,pstrName,pValue) \
  2500. (This)->lpVtbl -> Next(This,lFlags,pstrName,pValue)
  2501. #define IWbemContext_EndEnumeration(This) \
  2502. (This)->lpVtbl -> EndEnumeration(This)
  2503. #define IWbemContext_SetValue(This,strName,lFlags,pValue) \
  2504. (This)->lpVtbl -> SetValue(This,strName,lFlags,pValue)
  2505. #define IWbemContext_GetValue(This,strName,lFlags,pValue) \
  2506. (This)->lpVtbl -> GetValue(This,strName,lFlags,pValue)
  2507. #define IWbemContext_DeleteValue(This,strName,lFlags) \
  2508. (This)->lpVtbl -> DeleteValue(This,strName,lFlags)
  2509. #define IWbemContext_DeleteAll(This) \
  2510. (This)->lpVtbl -> DeleteAll(This)
  2511. #endif /* COBJMACROS */
  2512. #endif /* C style interface */
  2513. HRESULT STDMETHODCALLTYPE IWbemContext_Clone_Proxy(
  2514. IWbemContext __RPC_FAR * This,
  2515. /* [out] */ IWbemContext __RPC_FAR *__RPC_FAR *ppNewCopy);
  2516. void __RPC_STUB IWbemContext_Clone_Stub(
  2517. IRpcStubBuffer *This,
  2518. IRpcChannelBuffer *_pRpcChannelBuffer,
  2519. PRPC_MESSAGE _pRpcMessage,
  2520. DWORD *_pdwStubPhase);
  2521. HRESULT STDMETHODCALLTYPE IWbemContext_GetNames_Proxy(
  2522. IWbemContext __RPC_FAR * This,
  2523. /* [in] */ long lFlags,
  2524. /* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *pNames);
  2525. void __RPC_STUB IWbemContext_GetNames_Stub(
  2526. IRpcStubBuffer *This,
  2527. IRpcChannelBuffer *_pRpcChannelBuffer,
  2528. PRPC_MESSAGE _pRpcMessage,
  2529. DWORD *_pdwStubPhase);
  2530. HRESULT STDMETHODCALLTYPE IWbemContext_BeginEnumeration_Proxy(
  2531. IWbemContext __RPC_FAR * This,
  2532. /* [in] */ long lFlags);
  2533. void __RPC_STUB IWbemContext_BeginEnumeration_Stub(
  2534. IRpcStubBuffer *This,
  2535. IRpcChannelBuffer *_pRpcChannelBuffer,
  2536. PRPC_MESSAGE _pRpcMessage,
  2537. DWORD *_pdwStubPhase);
  2538. HRESULT STDMETHODCALLTYPE IWbemContext_Next_Proxy(
  2539. IWbemContext __RPC_FAR * This,
  2540. /* [in] */ long lFlags,
  2541. /* [out] */ BSTR __RPC_FAR *pstrName,
  2542. /* [out] */ VARIANT __RPC_FAR *pValue);
  2543. void __RPC_STUB IWbemContext_Next_Stub(
  2544. IRpcStubBuffer *This,
  2545. IRpcChannelBuffer *_pRpcChannelBuffer,
  2546. PRPC_MESSAGE _pRpcMessage,
  2547. DWORD *_pdwStubPhase);
  2548. HRESULT STDMETHODCALLTYPE IWbemContext_EndEnumeration_Proxy(
  2549. IWbemContext __RPC_FAR * This);
  2550. void __RPC_STUB IWbemContext_EndEnumeration_Stub(
  2551. IRpcStubBuffer *This,
  2552. IRpcChannelBuffer *_pRpcChannelBuffer,
  2553. PRPC_MESSAGE _pRpcMessage,
  2554. DWORD *_pdwStubPhase);
  2555. HRESULT STDMETHODCALLTYPE IWbemContext_SetValue_Proxy(
  2556. IWbemContext __RPC_FAR * This,
  2557. /* [in] */ BSTR strName,
  2558. /* [in] */ long lFlags,
  2559. /* [in] */ VARIANT __RPC_FAR *pValue);
  2560. void __RPC_STUB IWbemContext_SetValue_Stub(
  2561. IRpcStubBuffer *This,
  2562. IRpcChannelBuffer *_pRpcChannelBuffer,
  2563. PRPC_MESSAGE _pRpcMessage,
  2564. DWORD *_pdwStubPhase);
  2565. HRESULT STDMETHODCALLTYPE IWbemContext_GetValue_Proxy(
  2566. IWbemContext __RPC_FAR * This,
  2567. /* [in] */ BSTR strName,
  2568. /* [in] */ long lFlags,
  2569. /* [out] */ VARIANT __RPC_FAR *pValue);
  2570. void __RPC_STUB IWbemContext_GetValue_Stub(
  2571. IRpcStubBuffer *This,
  2572. IRpcChannelBuffer *_pRpcChannelBuffer,
  2573. PRPC_MESSAGE _pRpcMessage,
  2574. DWORD *_pdwStubPhase);
  2575. HRESULT STDMETHODCALLTYPE IWbemContext_DeleteValue_Proxy(
  2576. IWbemContext __RPC_FAR * This,
  2577. /* [in] */ BSTR strName,
  2578. /* [in] */ long lFlags);
  2579. void __RPC_STUB IWbemContext_DeleteValue_Stub(
  2580. IRpcStubBuffer *This,
  2581. IRpcChannelBuffer *_pRpcChannelBuffer,
  2582. PRPC_MESSAGE _pRpcMessage,
  2583. DWORD *_pdwStubPhase);
  2584. HRESULT STDMETHODCALLTYPE IWbemContext_DeleteAll_Proxy(
  2585. IWbemContext __RPC_FAR * This);
  2586. void __RPC_STUB IWbemContext_DeleteAll_Stub(
  2587. IRpcStubBuffer *This,
  2588. IRpcChannelBuffer *_pRpcChannelBuffer,
  2589. PRPC_MESSAGE _pRpcMessage,
  2590. DWORD *_pdwStubPhase);
  2591. #endif /* __IWbemContext_INTERFACE_DEFINED__ */
  2592. #ifndef __IUnsecuredApartment_INTERFACE_DEFINED__
  2593. #define __IUnsecuredApartment_INTERFACE_DEFINED__
  2594. /****************************************
  2595. * Generated header for interface: IUnsecuredApartment
  2596. * at Mon Jul 20 15:14:02 1998
  2597. * using MIDL 3.01.75
  2598. ****************************************/
  2599. /* [object][uuid][restricted] */
  2600. EXTERN_C const IID IID_IUnsecuredApartment;
  2601. #if defined(__cplusplus) && !defined(CINTERFACE)
  2602. interface DECLSPEC_UUID("1cfaba8c-1523-11d1-ad79-00c04fd8fdff")
  2603. IUnsecuredApartment : public IUnknown
  2604. {
  2605. public:
  2606. virtual HRESULT STDMETHODCALLTYPE CreateObjectStub(
  2607. /* [in] */ IUnknown __RPC_FAR *pObject,
  2608. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppStub) = 0;
  2609. };
  2610. #else /* C style interface */
  2611. typedef struct IUnsecuredApartmentVtbl
  2612. {
  2613. BEGIN_INTERFACE
  2614. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2615. IUnsecuredApartment __RPC_FAR * This,
  2616. /* [in] */ REFIID riid,
  2617. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2618. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2619. IUnsecuredApartment __RPC_FAR * This);
  2620. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2621. IUnsecuredApartment __RPC_FAR * This);
  2622. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateObjectStub )(
  2623. IUnsecuredApartment __RPC_FAR * This,
  2624. /* [in] */ IUnknown __RPC_FAR *pObject,
  2625. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppStub);
  2626. END_INTERFACE
  2627. } IUnsecuredApartmentVtbl;
  2628. interface IUnsecuredApartment
  2629. {
  2630. CONST_VTBL struct IUnsecuredApartmentVtbl __RPC_FAR *lpVtbl;
  2631. };
  2632. #ifdef COBJMACROS
  2633. #define IUnsecuredApartment_QueryInterface(This,riid,ppvObject) \
  2634. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2635. #define IUnsecuredApartment_AddRef(This) \
  2636. (This)->lpVtbl -> AddRef(This)
  2637. #define IUnsecuredApartment_Release(This) \
  2638. (This)->lpVtbl -> Release(This)
  2639. #define IUnsecuredApartment_CreateObjectStub(This,pObject,ppStub) \
  2640. (This)->lpVtbl -> CreateObjectStub(This,pObject,ppStub)
  2641. #endif /* COBJMACROS */
  2642. #endif /* C style interface */
  2643. HRESULT STDMETHODCALLTYPE IUnsecuredApartment_CreateObjectStub_Proxy(
  2644. IUnsecuredApartment __RPC_FAR * This,
  2645. /* [in] */ IUnknown __RPC_FAR *pObject,
  2646. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppStub);
  2647. void __RPC_STUB IUnsecuredApartment_CreateObjectStub_Stub(
  2648. IRpcStubBuffer *This,
  2649. IRpcChannelBuffer *_pRpcChannelBuffer,
  2650. PRPC_MESSAGE _pRpcMessage,
  2651. DWORD *_pdwStubPhase);
  2652. #endif /* __IUnsecuredApartment_INTERFACE_DEFINED__ */
  2653. #ifdef __cplusplus
  2654. EXTERN_C const CLSID CLSID_WbemLocator;
  2655. class DECLSPEC_UUID("4590f811-1d3a-11d0-891f-00aa004b2e24")
  2656. WbemLocator;
  2657. #endif
  2658. #ifdef __cplusplus
  2659. EXTERN_C const CLSID CLSID_WbemContext;
  2660. class DECLSPEC_UUID("674B6698-EE92-11d0-AD71-00C04FD8FDFF")
  2661. WbemContext;
  2662. #endif
  2663. #ifdef __cplusplus
  2664. EXTERN_C const CLSID CLSID_UnsecuredApartment;
  2665. class DECLSPEC_UUID("49bd2028-1523-11d1-ad79-00c04fd8fdff")
  2666. UnsecuredApartment;
  2667. #endif
  2668. #endif /* __WbemClient_v1_LIBRARY_DEFINED__ */
  2669. /****************************************
  2670. * Generated header for interface: __MIDL_itf_connmgrex_0000
  2671. * at Mon Jul 20 15:14:02 1998
  2672. * using MIDL 3.01.75
  2673. ****************************************/
  2674. /* [local] */
  2675. extern RPC_IF_HANDLE __MIDL_itf_connmgrex_0000_v0_0_c_ifspec;
  2676. extern RPC_IF_HANDLE __MIDL_itf_connmgrex_0000_v0_0_s_ifspec;
  2677. /****************************************
  2678. * Generated header for interface: __MIDL_itf_connmgrex_0072
  2679. * at Mon Jul 20 15:14:02 1998
  2680. * using MIDL 3.01.75
  2681. ****************************************/
  2682. /* [local] */
  2683. extern RPC_IF_HANDLE __MIDL_itf_connmgrex_0072_v0_0_c_ifspec;
  2684. extern RPC_IF_HANDLE __MIDL_itf_connmgrex_0072_v0_0_s_ifspec;
  2685. /* Additional Prototypes for ALL interfaces */
  2686. unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * );
  2687. unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  2688. unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  2689. void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * );
  2690. /* end of Additional Prototypes */
  2691. #ifdef __cplusplus
  2692. }
  2693. #endif
  2694. #endif