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.

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