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.

4409 lines
147 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 3.01.75 */
  3. /* at Tue Aug 19 16:16:10 1997
  4. */
  5. /* Compiler settings for wbemsvc.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 __wbemsvc_h__
  18. #define __wbemsvc_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 __IWbemQualifierSet_FWD_DEFINED__
  28. #define __IWbemQualifierSet_FWD_DEFINED__
  29. typedef interface IWbemQualifierSet IWbemQualifierSet;
  30. #endif /* __IWbemQualifierSet_FWD_DEFINED__ */
  31. #ifndef __IWbemServices_FWD_DEFINED__
  32. #define __IWbemServices_FWD_DEFINED__
  33. typedef interface IWbemServices IWbemServices;
  34. #endif /* __IWbemServices_FWD_DEFINED__ */
  35. #ifndef __IWbemLocator_FWD_DEFINED__
  36. #define __IWbemLocator_FWD_DEFINED__
  37. typedef interface IWbemLocator IWbemLocator;
  38. #endif /* __IWbemLocator_FWD_DEFINED__ */
  39. #ifndef __IWbemObjectSink_FWD_DEFINED__
  40. #define __IWbemObjectSink_FWD_DEFINED__
  41. typedef interface IWbemObjectSink IWbemObjectSink;
  42. #endif /* __IWbemObjectSink_FWD_DEFINED__ */
  43. #ifndef __IEnumWbemClassObject_FWD_DEFINED__
  44. #define __IEnumWbemClassObject_FWD_DEFINED__
  45. typedef interface IEnumWbemClassObject IEnumWbemClassObject;
  46. #endif /* __IEnumWbemClassObject_FWD_DEFINED__ */
  47. #ifndef __IWbemConfigure_FWD_DEFINED__
  48. #define __IWbemConfigure_FWD_DEFINED__
  49. typedef interface IWbemConfigure IWbemConfigure;
  50. #endif /* __IWbemConfigure_FWD_DEFINED__ */
  51. #ifndef __IWbemPropertyProvider_FWD_DEFINED__
  52. #define __IWbemPropertyProvider_FWD_DEFINED__
  53. typedef interface IWbemPropertyProvider IWbemPropertyProvider;
  54. #endif /* __IWbemPropertyProvider_FWD_DEFINED__ */
  55. #ifndef __IWbemTransport_FWD_DEFINED__
  56. #define __IWbemTransport_FWD_DEFINED__
  57. typedef interface IWbemTransport IWbemTransport;
  58. #endif /* __IWbemTransport_FWD_DEFINED__ */
  59. #ifndef __IWbemSecurityHelp_FWD_DEFINED__
  60. #define __IWbemSecurityHelp_FWD_DEFINED__
  61. typedef interface IWbemSecurityHelp IWbemSecurityHelp;
  62. #endif /* __IWbemSecurityHelp_FWD_DEFINED__ */
  63. #ifndef __IWbemLevel1Login_FWD_DEFINED__
  64. #define __IWbemLevel1Login_FWD_DEFINED__
  65. typedef interface IWbemLevel1Login IWbemLevel1Login;
  66. #endif /* __IWbemLevel1Login_FWD_DEFINED__ */
  67. #ifndef __IWbemCallResult_FWD_DEFINED__
  68. #define __IWbemCallResult_FWD_DEFINED__
  69. typedef interface IWbemCallResult IWbemCallResult;
  70. #endif /* __IWbemCallResult_FWD_DEFINED__ */
  71. #ifndef __IWbemContext_FWD_DEFINED__
  72. #define __IWbemContext_FWD_DEFINED__
  73. typedef interface IWbemContext IWbemContext;
  74. #endif /* __IWbemContext_FWD_DEFINED__ */
  75. #ifndef __IWbemUnboundObjectSink_FWD_DEFINED__
  76. #define __IWbemUnboundObjectSink_FWD_DEFINED__
  77. typedef interface IWbemUnboundObjectSink IWbemUnboundObjectSink;
  78. #endif /* __IWbemUnboundObjectSink_FWD_DEFINED__ */
  79. #ifndef __WbemLevel1Login_FWD_DEFINED__
  80. #define __WbemLevel1Login_FWD_DEFINED__
  81. #ifdef __cplusplus
  82. typedef class WbemLevel1Login WbemLevel1Login;
  83. #else
  84. typedef struct WbemLevel1Login WbemLevel1Login;
  85. #endif /* __cplusplus */
  86. #endif /* __WbemLevel1Login_FWD_DEFINED__ */
  87. #ifndef __WbemLevel1LoginHelp_FWD_DEFINED__
  88. #define __WbemLevel1LoginHelp_FWD_DEFINED__
  89. #ifdef __cplusplus
  90. typedef class WbemLevel1LoginHelp WbemLevel1LoginHelp;
  91. #else
  92. typedef struct WbemLevel1LoginHelp WbemLevel1LoginHelp;
  93. #endif /* __cplusplus */
  94. #endif /* __WbemLevel1LoginHelp_FWD_DEFINED__ */
  95. #ifndef __WbemLocator_FWD_DEFINED__
  96. #define __WbemLocator_FWD_DEFINED__
  97. #ifdef __cplusplus
  98. typedef class WbemLocator WbemLocator;
  99. #else
  100. typedef struct WbemLocator WbemLocator;
  101. #endif /* __cplusplus */
  102. #endif /* __WbemLocator_FWD_DEFINED__ */
  103. #ifndef __WbemSecurityHelp_FWD_DEFINED__
  104. #define __WbemSecurityHelp_FWD_DEFINED__
  105. #ifdef __cplusplus
  106. typedef class WbemSecurityHelp WbemSecurityHelp;
  107. #else
  108. typedef struct WbemSecurityHelp WbemSecurityHelp;
  109. #endif /* __cplusplus */
  110. #endif /* __WbemSecurityHelp_FWD_DEFINED__ */
  111. #ifndef __PrivateWbemLevel1Login_FWD_DEFINED__
  112. #define __PrivateWbemLevel1Login_FWD_DEFINED__
  113. #ifdef __cplusplus
  114. typedef class PrivateWbemLevel1Login PrivateWbemLevel1Login;
  115. #else
  116. typedef struct PrivateWbemLevel1Login PrivateWbemLevel1Login;
  117. #endif /* __cplusplus */
  118. #endif /* __PrivateWbemLevel1Login_FWD_DEFINED__ */
  119. #ifndef __InProcWbemLevel1LoginHelp_FWD_DEFINED__
  120. #define __InProcWbemLevel1LoginHelp_FWD_DEFINED__
  121. #ifdef __cplusplus
  122. typedef class InProcWbemLevel1LoginHelp InProcWbemLevel1LoginHelp;
  123. #else
  124. typedef struct InProcWbemLevel1LoginHelp InProcWbemLevel1LoginHelp;
  125. #endif /* __cplusplus */
  126. #endif /* __InProcWbemLevel1LoginHelp_FWD_DEFINED__ */
  127. #ifndef __InProcWbemLevel1Login_FWD_DEFINED__
  128. #define __InProcWbemLevel1Login_FWD_DEFINED__
  129. #ifdef __cplusplus
  130. typedef class InProcWbemLevel1Login InProcWbemLevel1Login;
  131. #else
  132. typedef struct InProcWbemLevel1Login InProcWbemLevel1Login;
  133. #endif /* __cplusplus */
  134. #endif /* __InProcWbemLevel1Login_FWD_DEFINED__ */
  135. #ifndef __WbemContext_FWD_DEFINED__
  136. #define __WbemContext_FWD_DEFINED__
  137. #ifdef __cplusplus
  138. typedef class WbemContext WbemContext;
  139. #else
  140. typedef struct WbemContext WbemContext;
  141. #endif /* __cplusplus */
  142. #endif /* __WbemContext_FWD_DEFINED__ */
  143. #ifndef __WbemClassObjectProxy_FWD_DEFINED__
  144. #define __WbemClassObjectProxy_FWD_DEFINED__
  145. #ifdef __cplusplus
  146. typedef class WbemClassObjectProxy WbemClassObjectProxy;
  147. #else
  148. typedef struct WbemClassObjectProxy WbemClassObjectProxy;
  149. #endif /* __cplusplus */
  150. #endif /* __WbemClassObjectProxy_FWD_DEFINED__ */
  151. #ifndef __IWbemClassObject_FWD_DEFINED__
  152. #define __IWbemClassObject_FWD_DEFINED__
  153. typedef interface IWbemClassObject IWbemClassObject;
  154. #endif /* __IWbemClassObject_FWD_DEFINED__ */
  155. #ifndef __IWbemQualifierSet_FWD_DEFINED__
  156. #define __IWbemQualifierSet_FWD_DEFINED__
  157. typedef interface IWbemQualifierSet IWbemQualifierSet;
  158. #endif /* __IWbemQualifierSet_FWD_DEFINED__ */
  159. #ifndef __IWbemLocator_FWD_DEFINED__
  160. #define __IWbemLocator_FWD_DEFINED__
  161. typedef interface IWbemLocator IWbemLocator;
  162. #endif /* __IWbemLocator_FWD_DEFINED__ */
  163. #ifndef __IWbemObjectSink_FWD_DEFINED__
  164. #define __IWbemObjectSink_FWD_DEFINED__
  165. typedef interface IWbemObjectSink IWbemObjectSink;
  166. #endif /* __IWbemObjectSink_FWD_DEFINED__ */
  167. #ifndef __IWbemUnboundObjectSink_FWD_DEFINED__
  168. #define __IWbemUnboundObjectSink_FWD_DEFINED__
  169. typedef interface IWbemUnboundObjectSink IWbemUnboundObjectSink;
  170. #endif /* __IWbemUnboundObjectSink_FWD_DEFINED__ */
  171. #ifndef __IEnumWbemClassObject_FWD_DEFINED__
  172. #define __IEnumWbemClassObject_FWD_DEFINED__
  173. typedef interface IEnumWbemClassObject IEnumWbemClassObject;
  174. #endif /* __IEnumWbemClassObject_FWD_DEFINED__ */
  175. #ifndef __IWbemContext_FWD_DEFINED__
  176. #define __IWbemContext_FWD_DEFINED__
  177. typedef interface IWbemContext IWbemContext;
  178. #endif /* __IWbemContext_FWD_DEFINED__ */
  179. #ifndef __IWbemCallResult_FWD_DEFINED__
  180. #define __IWbemCallResult_FWD_DEFINED__
  181. typedef interface IWbemCallResult IWbemCallResult;
  182. #endif /* __IWbemCallResult_FWD_DEFINED__ */
  183. #ifndef __IWbemServices_FWD_DEFINED__
  184. #define __IWbemServices_FWD_DEFINED__
  185. typedef interface IWbemServices IWbemServices;
  186. #endif /* __IWbemServices_FWD_DEFINED__ */
  187. #ifndef __IWbemConfigure_FWD_DEFINED__
  188. #define __IWbemConfigure_FWD_DEFINED__
  189. typedef interface IWbemConfigure IWbemConfigure;
  190. #endif /* __IWbemConfigure_FWD_DEFINED__ */
  191. #ifndef __IWbemPropertyProvider_FWD_DEFINED__
  192. #define __IWbemPropertyProvider_FWD_DEFINED__
  193. typedef interface IWbemPropertyProvider IWbemPropertyProvider;
  194. #endif /* __IWbemPropertyProvider_FWD_DEFINED__ */
  195. #ifndef __IWbemLevel1Login_FWD_DEFINED__
  196. #define __IWbemLevel1Login_FWD_DEFINED__
  197. typedef interface IWbemLevel1Login IWbemLevel1Login;
  198. #endif /* __IWbemLevel1Login_FWD_DEFINED__ */
  199. #ifndef __IWbemLevel1LoginHelp_FWD_DEFINED__
  200. #define __IWbemLevel1LoginHelp_FWD_DEFINED__
  201. typedef interface IWbemLevel1LoginHelp IWbemLevel1LoginHelp;
  202. #endif /* __IWbemLevel1LoginHelp_FWD_DEFINED__ */
  203. #ifndef __IWbemSecurityHelp_FWD_DEFINED__
  204. #define __IWbemSecurityHelp_FWD_DEFINED__
  205. typedef interface IWbemSecurityHelp IWbemSecurityHelp;
  206. #endif /* __IWbemSecurityHelp_FWD_DEFINED__ */
  207. #ifndef __IWbemTransport_FWD_DEFINED__
  208. #define __IWbemTransport_FWD_DEFINED__
  209. typedef interface IWbemTransport IWbemTransport;
  210. #endif /* __IWbemTransport_FWD_DEFINED__ */
  211. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  212. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  213. #ifndef __WbemServices_v1_LIBRARY_DEFINED__
  214. #define __WbemServices_v1_LIBRARY_DEFINED__
  215. /****************************************
  216. * Generated header for library: WbemServices_v1
  217. * at Tue Aug 19 16:16:10 1997
  218. * using MIDL 3.01.75
  219. ****************************************/
  220. /* [uuid] */
  221. typedef
  222. enum tag_WBEM_GENUS_TYPE
  223. { WBEM_GENUS_CLASS = 1,
  224. WBEM_GENUS_INSTANCE = 2
  225. } WBEM_GENUS_TYPE;
  226. typedef
  227. enum tag_WBEM_CHANGE_FLAG_TYPE
  228. { WBEM_FLAG_CREATE_OR_UPDATE = 0,
  229. WBEM_FLAG_UPDATE_ONLY = 0x1,
  230. WBEM_FLAG_CREATE_ONLY = 0x2
  231. } WBEM_CHANGE_FLAG_TYPE;
  232. typedef
  233. enum tag_WBEM_ASYNCHRONICITY_TYPE
  234. { WBEM_RETURN_WHEN_COMPLETE = 0,
  235. WBEM_RETURN_IMMEDIATELY = 0x10
  236. } WBEM_ASYNCHRONICITY_TYPE;
  237. typedef
  238. enum tag_WBEM_CONDITION_FLAG_TYPE
  239. { WBEM_FLAG_ALWAYS = 0,
  240. WBEM_FLAG_ONLY_IF_TRUE = 0x1,
  241. WBEM_FLAG_ONLY_IF_FALSE = 0x2,
  242. WBEM_FLAG_ONLY_IF_IDENTICAL = 0x3,
  243. WBEM_MASK_PRIMARY_CONDITION = 0x3,
  244. WBEM_FLAG_KEYS_ONLY = 0x4,
  245. WBEM_FLAG_REFS_ONLY = 0x8,
  246. WBEM_FLAG_LOCAL_ONLY = 0x10,
  247. WBEM_FLAG_PROPAGATED_ONLY = 0x20,
  248. WBEM_FLAG_SYSTEM_ONLY = 0x30,
  249. WBEM_FLAG_NONSYSTEM_ONLY = 0x40,
  250. WBEM_MASK_CONDITION_ORIGIN = 0x70
  251. } WBEM_CONDITION_FLAG_TYPE;
  252. typedef
  253. enum tag_WBEM_FLAVOR_TYPE
  254. { WBEM_FLAVOR_DONT_PROPAGATE = 0,
  255. WBEM_FLAVOR_FLAG_PROPAGATE_TO_INSTANCE = 0x1,
  256. WBEM_FLAVOR_FLAG_PROPAGATE_TO_DERIVED_CLASS = 0x2,
  257. WBEM_FLAVOR_MASK_PROPAGATION = 0xf,
  258. WBEM_FLAVOR_OVERRIDABLE = 0,
  259. WBEM_FLAVOR_NOT_OVERRIDABLE = 0x10,
  260. WBEM_FLAVOR_MASK_PERMISSIONS = 0x10,
  261. WBEM_FLAVOR_ORIGIN_LOCAL = 0,
  262. WBEM_FLAVOR_ORIGIN_PROPAGATED = 0x20,
  263. WBEM_FLAVOR_ORIGIN_SYSTEM = 0x40,
  264. WBEM_FLAVOR_MASK_ORIGIN = 0x60
  265. } WBEM_FLAVOR_TYPE;
  266. typedef
  267. enum tag_WBEM_DEPTH_FLAG_TYPE
  268. { WBEM_FLAG_DEEP = 0,
  269. WBEM_FLAG_SHALLOW = 1
  270. } WBEM_DEPTH_FLAG_TYPE;
  271. typedef
  272. enum tag_WBEM_LIMITATION_FLAG_TYPE
  273. { WBEM_FLAG_EXCLUDE_OBJECT_QUALIFIERS = 0x10,
  274. WBEM_FLAG_EXCLUDE_PROPERTY_QUALIFIERS = 0x20
  275. } WBEM_LIMITATION_FLAG_TYPE;
  276. typedef
  277. enum tag_WBEM_MERGE_FLAG_TYPE
  278. { WBEM_FLAG_PREFER_THIS = 0,
  279. WBEM_FLAG_PREFER_SOURCE = WBEM_FLAG_PREFER_THIS + 1
  280. } WBEM_MERGE_FLAG_TYPE;
  281. typedef
  282. enum tag_WBEM_TEXT_FLAG_TYPE
  283. { WBEM_FLAG_NO_FLAVORS = 0x1
  284. } WBEM_TEXT_FLAG_TYPE;
  285. typedef
  286. enum tag_WBEM_COMPARISON_FLAG
  287. { WBEM_COMPARISON_INCLUDE_ALL = 0,
  288. WBEM_FLAG_IGNORE_QUALIFIERS = 0x1,
  289. WBEM_FLAG_IGNORE_OBJECT_SOURCE = 0x2,
  290. WBEM_FLAG_IGNORE_DEFAULT_VALUES = 0x4,
  291. WBEM_FLAG_IGNORE_CLASS = 0x8,
  292. WBEM_FLAG_IGNORE_CASE = 0x10,
  293. WBEM_FLAG_IGNORE_FLAVOR = 0x20
  294. } WBEM_COMPARISON_FLAG;
  295. typedef
  296. enum tag_WBEM_CONFIGURATION_FLAG
  297. { WBEM_CONFIGURATION_NORMAL = 0,
  298. WBEM_CONFIGURATION_FLAG_CRITICAL_USER = 1
  299. } WBEM_COMFIGURATION_FLAG;
  300. typedef
  301. enum tag_WBEM_MISC_FLAG_TYPE
  302. { WBEM_FLAG_NO_CLASS_PROVIDERS = 0x40,
  303. WBEM_FLAG_NO_EVENTS = 0x20
  304. } WBEM_MISC_FLAG_TYPE;
  305. typedef
  306. enum tag_WBEM_LOGIN_TYPE
  307. { WBEM_FLAG_INPROC_LOGIN = 0,
  308. WBEM_FLAG_LOCAL_LOGIN = 1,
  309. WBEM_FLAG_REMOTE_LOGIN = 2
  310. } WBEM_LOGIN_TYPE;
  311. typedef
  312. enum tag_WBEM_AUTHENTICATION
  313. { WBEM_AUTHENTICATION_DEFAULT = 0,
  314. WBEM_AUTHENTICATION_NTLM = 0x1,
  315. WBEM_AUTHENTICATION_WBEM = 0x2
  316. } WBEM_LOGIN_AUTHENTICATION;
  317. typedef
  318. enum tag_WBEMSTATUS
  319. { WBEM_NO_ERROR = 0,
  320. WBEM_S_NO_ERROR = 0,
  321. WBEM_S_SAME = 0,
  322. WBEM_S_FALSE = 1,
  323. WBEM_S_ALREADY_EXISTS = 0x40001,
  324. WBEM_S_RESET_TO_DEFAULT = WBEM_S_ALREADY_EXISTS + 1,
  325. WBEM_S_DIFFERENT = WBEM_S_RESET_TO_DEFAULT + 1,
  326. WBEM_S_TIMEDOUT = WBEM_S_DIFFERENT + 1,
  327. WBEM_S_NO_MORE_DATA = WBEM_S_TIMEDOUT + 1,
  328. WBEM_S_PRELOGIN = WBEM_S_NO_MORE_DATA + 1,
  329. WBEM_S_LOGIN = WBEM_S_PRELOGIN + 1,
  330. WBEM_S_OPERATION_CANCELED = WBEM_S_LOGIN + 1,
  331. WBEM_S_PENDING = WBEM_S_OPERATION_CANCELED + 1,
  332. WBEM_E_FAILED = 0x80041001,
  333. WBEM_E_NOT_FOUND = WBEM_E_FAILED + 1,
  334. WBEM_E_ACCESS_DENIED = WBEM_E_NOT_FOUND + 1,
  335. WBEM_E_PROVIDER_FAILURE = WBEM_E_ACCESS_DENIED + 1,
  336. WBEM_E_TYPE_MISMATCH = WBEM_E_PROVIDER_FAILURE + 1,
  337. WBEM_E_OUT_OF_MEMORY = WBEM_E_TYPE_MISMATCH + 1,
  338. WBEM_E_INVALID_CONTEXT = WBEM_E_OUT_OF_MEMORY + 1,
  339. WBEM_E_INVALID_PARAMETER = WBEM_E_INVALID_CONTEXT + 1,
  340. WBEM_E_NOT_AVAILABLE = WBEM_E_INVALID_PARAMETER + 1,
  341. WBEM_E_CRITICAL_ERROR = WBEM_E_NOT_AVAILABLE + 1,
  342. WBEM_E_INVALID_STREAM = WBEM_E_CRITICAL_ERROR + 1,
  343. WBEM_E_NOT_SUPPORTED = WBEM_E_INVALID_STREAM + 1,
  344. WBEM_E_INVALID_SUPERCLASS = WBEM_E_NOT_SUPPORTED + 1,
  345. WBEM_E_INVALID_NAMESPACE = WBEM_E_INVALID_SUPERCLASS + 1,
  346. WBEM_E_INVALID_OBJECT = WBEM_E_INVALID_NAMESPACE + 1,
  347. WBEM_E_INVALID_CLASS = WBEM_E_INVALID_OBJECT + 1,
  348. WBEM_E_PROVIDER_NOT_FOUND = WBEM_E_INVALID_CLASS + 1,
  349. WBEM_E_INVALID_PROVIDER_REGISTRATION = WBEM_E_PROVIDER_NOT_FOUND + 1,
  350. WBEM_E_PROVIDER_LOAD_FAILURE = WBEM_E_INVALID_PROVIDER_REGISTRATION + 1,
  351. WBEM_E_INITIALIZATION_FAILURE = WBEM_E_PROVIDER_LOAD_FAILURE + 1,
  352. WBEM_E_TRANSPORT_FAILURE = WBEM_E_INITIALIZATION_FAILURE + 1,
  353. WBEM_E_INVALID_OPERATION = WBEM_E_TRANSPORT_FAILURE + 1,
  354. WBEM_E_INVALID_QUERY = WBEM_E_INVALID_OPERATION + 1,
  355. WBEM_E_INVALID_QUERY_TYPE = WBEM_E_INVALID_QUERY + 1,
  356. WBEM_E_ALREADY_EXISTS = WBEM_E_INVALID_QUERY_TYPE + 1,
  357. WBEM_E_OVERRIDE_NOT_ALLOWED = WBEM_E_ALREADY_EXISTS + 1,
  358. WBEM_E_PROPAGATED_QUALIFIER = WBEM_E_OVERRIDE_NOT_ALLOWED + 1,
  359. WBEM_E_PROPAGATED_PROPERTY = WBEM_E_PROPAGATED_QUALIFIER + 1,
  360. WBEM_E_UNEXPECTED = WBEM_E_PROPAGATED_PROPERTY + 1,
  361. WBEM_E_ILLEGAL_OPERATION = WBEM_E_UNEXPECTED + 1,
  362. WBEM_E_CANNOT_BE_KEY = WBEM_E_ILLEGAL_OPERATION + 1,
  363. WBEM_E_INCOMPLETE_CLASS = WBEM_E_CANNOT_BE_KEY + 1,
  364. WBEM_E_INVALID_SYNTAX = WBEM_E_INCOMPLETE_CLASS + 1,
  365. WBEM_E_NONDECORATED_OBJECT = WBEM_E_INVALID_SYNTAX + 1,
  366. WBEM_E_READ_ONLY = WBEM_E_NONDECORATED_OBJECT + 1,
  367. WBEM_E_PROVIDER_NOT_CAPABLE = WBEM_E_READ_ONLY + 1,
  368. WBEM_E_CLASS_HAS_CHILDREN = WBEM_E_PROVIDER_NOT_CAPABLE + 1,
  369. WBEM_E_CLASS_HAS_INSTANCES = WBEM_E_CLASS_HAS_CHILDREN + 1,
  370. WBEM_E_QUERY_NOT_IMPLEMENTED = WBEM_E_CLASS_HAS_INSTANCES + 1,
  371. WBEM_E_ILLEGAL_NULL = WBEM_E_QUERY_NOT_IMPLEMENTED + 1,
  372. WBEM_E_INVALID_QUALIFIER_TYPE = WBEM_E_ILLEGAL_NULL + 1,
  373. WBEM_E_INVALID_PROPERTY_TYPE = WBEM_E_INVALID_QUALIFIER_TYPE + 1,
  374. WBEM_E_VALUE_OUT_OF_RANGE = WBEM_E_INVALID_PROPERTY_TYPE + 1,
  375. WBEM_E_CANNOT_BE_SINGLETON = WBEM_E_VALUE_OUT_OF_RANGE + 1,
  376. WBEM_E_INVALID_CIM_TYPE = WBEM_E_CANNOT_BE_SINGLETON + 1,
  377. WBEM_E_INVALID_METHOD = WBEM_E_INVALID_CIM_TYPE + 1,
  378. WBEM_E_INVALID_METHOD_PARAMETERS = WBEM_E_INVALID_METHOD + 1,
  379. WBEM_E_SYSTEM_PROPERTY = WBEM_E_INVALID_METHOD_PARAMETERS + 1,
  380. WBEM_E_INVALID_PROPERTY = WBEM_E_SYSTEM_PROPERTY + 1,
  381. WBEMESS_E_REGISTRATION_TOO_BROAD = 0x80005001,
  382. WBEMESS_E_REGISTRATION_TOO_PRECISE = WBEMESS_E_REGISTRATION_TOO_BROAD + 1
  383. } WBEMSTATUS;
  384. typedef
  385. enum tag_WBEM_COM_METHOD_MASK
  386. { WBEM_METHOD_OpenNamespace = 0x1,
  387. WBEM_METHOD_CancelAsyncCall = 0x2,
  388. WBEM_METHOD_QueryObjectSink = 0x4,
  389. WBEM_METHOD_GetObject = 0x8,
  390. WBEM_METHOD_GetObjectAsync = 0x10,
  391. WBEM_METHOD_PutClass = 0x20,
  392. WBEM_METHOD_PutClassAsync = 0x40,
  393. WBEM_METHOD_DeleteClass = 0x80,
  394. WBEM_METHOD_DeleteClassAsync = 0x100,
  395. WBEM_METHOD_CreateClassEnum = 0x200,
  396. WBEM_METHOD_CreateClassEnumAsync = 0x400,
  397. WBEM_METHOD_PutInstance = 0x800,
  398. WBEM_METHOD_PutInstanceAsync = 0x1000,
  399. WBEM_METHOD_DeleteInstance = 0x2000,
  400. WBEM_METHOD_DeleteInstanceAsync = 0x4000,
  401. WBEM_METHOD_CreateInstanceEnum = 0x8000,
  402. WBEM_METHOD_CreateInstanceEnumAsync = 0x10000,
  403. WBEM_METHOD_ExecQuery = 0x20000,
  404. WBEM_METHOD_ExecQueryAsync = 0x40000,
  405. WBEM_METHOD_ExecNotificationQuery = 0x80000,
  406. WBEM_METHOD_ExecNotificationQueryAsync = 0x100000,
  407. WBEM_METHOD_ExecMethod = 0x400000,
  408. WBEM_METHOD_ExecMethodAsync = 0x800000
  409. } WBEM_COM_METHOD_MASK;
  410. typedef
  411. enum tag_WBEM_EVENT_TYPE
  412. { WBEM_EVENTTYPE_Invalid = 0,
  413. WBEM_EVENTTYPE_Extrinsic = 5,
  414. WBEM_EVENTTYPE_Timer = WBEM_EVENTTYPE_Extrinsic + 1,
  415. WBEM_EVENTTYPE_NamespaceCreation = WBEM_EVENTTYPE_Timer + 1,
  416. WBEM_EVENTTYPE_NamespaceDeletion = WBEM_EVENTTYPE_NamespaceCreation + 1,
  417. WBEM_EVENTTYPE_NamespaceModification = WBEM_EVENTTYPE_NamespaceDeletion + 1,
  418. WBEM_EVENTTYPE_ClassCreation = WBEM_EVENTTYPE_NamespaceModification + 1,
  419. WBEM_EVENTTYPE_ClassDeletion = WBEM_EVENTTYPE_ClassCreation + 1,
  420. WBEM_EVENTTYPE_ClassModification = WBEM_EVENTTYPE_ClassDeletion + 1,
  421. WBEM_EVENTTYPE_InstanceCreation = WBEM_EVENTTYPE_ClassModification + 1,
  422. WBEM_EVENTTYPE_InstanceDeletion = WBEM_EVENTTYPE_InstanceCreation + 1,
  423. WBEM_EVENTTYPE_InstanceModification = WBEM_EVENTTYPE_InstanceDeletion + 1
  424. } WBEM_EVENT_TYPE;
  425. typedef /* [length_is][size_is] */ BYTE __RPC_FAR *WBEM_128BITS;
  426. EXTERN_C const IID LIBID_WbemServices_v1;
  427. #ifndef __IWbemClassObject_INTERFACE_DEFINED__
  428. #define __IWbemClassObject_INTERFACE_DEFINED__
  429. /****************************************
  430. * Generated header for interface: IWbemClassObject
  431. * at Tue Aug 19 16:16:10 1997
  432. * using MIDL 3.01.75
  433. ****************************************/
  434. /* [oleautomation][dual][uuid][object][local] */
  435. EXTERN_C const IID IID_IWbemClassObject;
  436. #if defined(__cplusplus) && !defined(CINTERFACE)
  437. interface DECLSPEC_UUID("dc12a681-737f-11cf-884d-00aa004b2e24")
  438. IWbemClassObject : public IDispatch
  439. {
  440. public:
  441. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetQualifierSet(
  442. /* [out] */ IWbemQualifierSet __RPC_FAR *__RPC_FAR *ppQualSet) = 0;
  443. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Get(
  444. /* [in] */ BSTR Name,
  445. /* [in] */ long lFlags,
  446. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  447. /* [unique][in][out] */ VARTYPE __RPC_FAR *pvtType,
  448. /* [unique][in][out] */ long __RPC_FAR *plFlavor) = 0;
  449. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Put(
  450. /* [in] */ BSTR Name,
  451. /* [in] */ long lFlags,
  452. /* [in] */ VARIANT __RPC_FAR *pVal,
  453. /* [in] */ VARTYPE vtType) = 0;
  454. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Delete(
  455. /* [in] */ BSTR Name) = 0;
  456. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetNames(
  457. /* [in] */ BSTR QualifierName,
  458. /* [in] */ long lFlags,
  459. /* [in] */ VARIANT __RPC_FAR *pQualifierVal,
  460. /* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *pNames) = 0;
  461. virtual /* [id] */ HRESULT STDMETHODCALLTYPE BeginEnumeration(
  462. /* [in] */ long lEnumFlags) = 0;
  463. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Next(
  464. /* [in] */ long lFlags,
  465. /* [unique][in][out] */ BSTR __RPC_FAR *pName,
  466. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  467. /* [unique][in][out] */ VARTYPE __RPC_FAR *pvtType,
  468. /* [unique][in][out] */ long __RPC_FAR *plFlavor) = 0;
  469. virtual /* [id] */ HRESULT STDMETHODCALLTYPE EndEnumeration( void) = 0;
  470. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetPropertyQualifierSet(
  471. /* [in] */ BSTR pProperty,
  472. /* [out] */ IWbemQualifierSet __RPC_FAR *__RPC_FAR *ppQualSet) = 0;
  473. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Clone(
  474. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppCopy) = 0;
  475. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetObjectText(
  476. /* [in] */ long lFlags,
  477. /* [out] */ BSTR __RPC_FAR *pObjectText) = 0;
  478. virtual /* [id] */ HRESULT STDMETHODCALLTYPE SpawnDerivedClass(
  479. /* [in] */ long lFlags,
  480. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppNewClass) = 0;
  481. virtual /* [id] */ HRESULT STDMETHODCALLTYPE SpawnInstance(
  482. /* [in] */ long lFlags,
  483. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppNewInstance) = 0;
  484. virtual /* [id] */ HRESULT STDMETHODCALLTYPE CompareTo(
  485. /* [in] */ long lFlags,
  486. /* [in] */ IWbemClassObject __RPC_FAR *pCompareTo) = 0;
  487. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetPropertyOrigin(
  488. /* [in] */ BSTR strName,
  489. /* [out] */ BSTR __RPC_FAR *pstrClassName) = 0;
  490. virtual /* [id] */ HRESULT STDMETHODCALLTYPE InheritsFrom(
  491. /* [in] */ BSTR strAncestor) = 0;
  492. };
  493. #else /* C style interface */
  494. typedef struct IWbemClassObjectVtbl
  495. {
  496. BEGIN_INTERFACE
  497. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  498. IWbemClassObject __RPC_FAR * This,
  499. /* [in] */ REFIID riid,
  500. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  501. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  502. IWbemClassObject __RPC_FAR * This);
  503. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  504. IWbemClassObject __RPC_FAR * This);
  505. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  506. IWbemClassObject __RPC_FAR * This,
  507. /* [out] */ UINT __RPC_FAR *pctinfo);
  508. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  509. IWbemClassObject __RPC_FAR * This,
  510. /* [in] */ UINT iTInfo,
  511. /* [in] */ LCID lcid,
  512. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  513. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  514. IWbemClassObject __RPC_FAR * This,
  515. /* [in] */ REFIID riid,
  516. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  517. /* [in] */ UINT cNames,
  518. /* [in] */ LCID lcid,
  519. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  520. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  521. IWbemClassObject __RPC_FAR * This,
  522. /* [in] */ DISPID dispIdMember,
  523. /* [in] */ REFIID riid,
  524. /* [in] */ LCID lcid,
  525. /* [in] */ WORD wFlags,
  526. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  527. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  528. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  529. /* [out] */ UINT __RPC_FAR *puArgErr);
  530. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetQualifierSet )(
  531. IWbemClassObject __RPC_FAR * This,
  532. /* [out] */ IWbemQualifierSet __RPC_FAR *__RPC_FAR *ppQualSet);
  533. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Get )(
  534. IWbemClassObject __RPC_FAR * This,
  535. /* [in] */ BSTR Name,
  536. /* [in] */ long lFlags,
  537. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  538. /* [unique][in][out] */ VARTYPE __RPC_FAR *pvtType,
  539. /* [unique][in][out] */ long __RPC_FAR *plFlavor);
  540. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Put )(
  541. IWbemClassObject __RPC_FAR * This,
  542. /* [in] */ BSTR Name,
  543. /* [in] */ long lFlags,
  544. /* [in] */ VARIANT __RPC_FAR *pVal,
  545. /* [in] */ VARTYPE vtType);
  546. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Delete )(
  547. IWbemClassObject __RPC_FAR * This,
  548. /* [in] */ BSTR Name);
  549. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNames )(
  550. IWbemClassObject __RPC_FAR * This,
  551. /* [in] */ BSTR QualifierName,
  552. /* [in] */ long lFlags,
  553. /* [in] */ VARIANT __RPC_FAR *pQualifierVal,
  554. /* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *pNames);
  555. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginEnumeration )(
  556. IWbemClassObject __RPC_FAR * This,
  557. /* [in] */ long lEnumFlags);
  558. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Next )(
  559. IWbemClassObject __RPC_FAR * This,
  560. /* [in] */ long lFlags,
  561. /* [unique][in][out] */ BSTR __RPC_FAR *pName,
  562. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  563. /* [unique][in][out] */ VARTYPE __RPC_FAR *pvtType,
  564. /* [unique][in][out] */ long __RPC_FAR *plFlavor);
  565. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndEnumeration )(
  566. IWbemClassObject __RPC_FAR * This);
  567. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPropertyQualifierSet )(
  568. IWbemClassObject __RPC_FAR * This,
  569. /* [in] */ BSTR pProperty,
  570. /* [out] */ IWbemQualifierSet __RPC_FAR *__RPC_FAR *ppQualSet);
  571. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Clone )(
  572. IWbemClassObject __RPC_FAR * This,
  573. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppCopy);
  574. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetObjectText )(
  575. IWbemClassObject __RPC_FAR * This,
  576. /* [in] */ long lFlags,
  577. /* [out] */ BSTR __RPC_FAR *pObjectText);
  578. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SpawnDerivedClass )(
  579. IWbemClassObject __RPC_FAR * This,
  580. /* [in] */ long lFlags,
  581. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppNewClass);
  582. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SpawnInstance )(
  583. IWbemClassObject __RPC_FAR * This,
  584. /* [in] */ long lFlags,
  585. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppNewInstance);
  586. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CompareTo )(
  587. IWbemClassObject __RPC_FAR * This,
  588. /* [in] */ long lFlags,
  589. /* [in] */ IWbemClassObject __RPC_FAR *pCompareTo);
  590. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPropertyOrigin )(
  591. IWbemClassObject __RPC_FAR * This,
  592. /* [in] */ BSTR strName,
  593. /* [out] */ BSTR __RPC_FAR *pstrClassName);
  594. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InheritsFrom )(
  595. IWbemClassObject __RPC_FAR * This,
  596. /* [in] */ BSTR strAncestor);
  597. END_INTERFACE
  598. } IWbemClassObjectVtbl;
  599. interface IWbemClassObject
  600. {
  601. CONST_VTBL struct IWbemClassObjectVtbl __RPC_FAR *lpVtbl;
  602. };
  603. #ifdef COBJMACROS
  604. #define IWbemClassObject_QueryInterface(This,riid,ppvObject) \
  605. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  606. #define IWbemClassObject_AddRef(This) \
  607. (This)->lpVtbl -> AddRef(This)
  608. #define IWbemClassObject_Release(This) \
  609. (This)->lpVtbl -> Release(This)
  610. #define IWbemClassObject_GetTypeInfoCount(This,pctinfo) \
  611. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  612. #define IWbemClassObject_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  613. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  614. #define IWbemClassObject_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  615. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  616. #define IWbemClassObject_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  617. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  618. #define IWbemClassObject_GetQualifierSet(This,ppQualSet) \
  619. (This)->lpVtbl -> GetQualifierSet(This,ppQualSet)
  620. #define IWbemClassObject_Get(This,Name,lFlags,pVal,pvtType,plFlavor) \
  621. (This)->lpVtbl -> Get(This,Name,lFlags,pVal,pvtType,plFlavor)
  622. #define IWbemClassObject_Put(This,Name,lFlags,pVal,vtType) \
  623. (This)->lpVtbl -> Put(This,Name,lFlags,pVal,vtType)
  624. #define IWbemClassObject_Delete(This,Name) \
  625. (This)->lpVtbl -> Delete(This,Name)
  626. #define IWbemClassObject_GetNames(This,QualifierName,lFlags,pQualifierVal,pNames) \
  627. (This)->lpVtbl -> GetNames(This,QualifierName,lFlags,pQualifierVal,pNames)
  628. #define IWbemClassObject_BeginEnumeration(This,lEnumFlags) \
  629. (This)->lpVtbl -> BeginEnumeration(This,lEnumFlags)
  630. #define IWbemClassObject_Next(This,lFlags,pName,pVal,pvtType,plFlavor) \
  631. (This)->lpVtbl -> Next(This,lFlags,pName,pVal,pvtType,plFlavor)
  632. #define IWbemClassObject_EndEnumeration(This) \
  633. (This)->lpVtbl -> EndEnumeration(This)
  634. #define IWbemClassObject_GetPropertyQualifierSet(This,pProperty,ppQualSet) \
  635. (This)->lpVtbl -> GetPropertyQualifierSet(This,pProperty,ppQualSet)
  636. #define IWbemClassObject_Clone(This,ppCopy) \
  637. (This)->lpVtbl -> Clone(This,ppCopy)
  638. #define IWbemClassObject_GetObjectText(This,lFlags,pObjectText) \
  639. (This)->lpVtbl -> GetObjectText(This,lFlags,pObjectText)
  640. #define IWbemClassObject_SpawnDerivedClass(This,lFlags,ppNewClass) \
  641. (This)->lpVtbl -> SpawnDerivedClass(This,lFlags,ppNewClass)
  642. #define IWbemClassObject_SpawnInstance(This,lFlags,ppNewInstance) \
  643. (This)->lpVtbl -> SpawnInstance(This,lFlags,ppNewInstance)
  644. #define IWbemClassObject_CompareTo(This,lFlags,pCompareTo) \
  645. (This)->lpVtbl -> CompareTo(This,lFlags,pCompareTo)
  646. #define IWbemClassObject_GetPropertyOrigin(This,strName,pstrClassName) \
  647. (This)->lpVtbl -> GetPropertyOrigin(This,strName,pstrClassName)
  648. #define IWbemClassObject_InheritsFrom(This,strAncestor) \
  649. (This)->lpVtbl -> InheritsFrom(This,strAncestor)
  650. #endif /* COBJMACROS */
  651. #endif /* C style interface */
  652. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemClassObject_GetQualifierSet_Proxy(
  653. IWbemClassObject __RPC_FAR * This,
  654. /* [out] */ IWbemQualifierSet __RPC_FAR *__RPC_FAR *ppQualSet);
  655. void __RPC_STUB IWbemClassObject_GetQualifierSet_Stub(
  656. IRpcStubBuffer *This,
  657. IRpcChannelBuffer *_pRpcChannelBuffer,
  658. PRPC_MESSAGE _pRpcMessage,
  659. DWORD *_pdwStubPhase);
  660. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemClassObject_Get_Proxy(
  661. IWbemClassObject __RPC_FAR * This,
  662. /* [in] */ BSTR Name,
  663. /* [in] */ long lFlags,
  664. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  665. /* [unique][in][out] */ VARTYPE __RPC_FAR *pvtType,
  666. /* [unique][in][out] */ long __RPC_FAR *plFlavor);
  667. void __RPC_STUB IWbemClassObject_Get_Stub(
  668. IRpcStubBuffer *This,
  669. IRpcChannelBuffer *_pRpcChannelBuffer,
  670. PRPC_MESSAGE _pRpcMessage,
  671. DWORD *_pdwStubPhase);
  672. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemClassObject_Put_Proxy(
  673. IWbemClassObject __RPC_FAR * This,
  674. /* [in] */ BSTR Name,
  675. /* [in] */ long lFlags,
  676. /* [in] */ VARIANT __RPC_FAR *pVal,
  677. /* [in] */ VARTYPE vtType);
  678. void __RPC_STUB IWbemClassObject_Put_Stub(
  679. IRpcStubBuffer *This,
  680. IRpcChannelBuffer *_pRpcChannelBuffer,
  681. PRPC_MESSAGE _pRpcMessage,
  682. DWORD *_pdwStubPhase);
  683. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemClassObject_Delete_Proxy(
  684. IWbemClassObject __RPC_FAR * This,
  685. /* [in] */ BSTR Name);
  686. void __RPC_STUB IWbemClassObject_Delete_Stub(
  687. IRpcStubBuffer *This,
  688. IRpcChannelBuffer *_pRpcChannelBuffer,
  689. PRPC_MESSAGE _pRpcMessage,
  690. DWORD *_pdwStubPhase);
  691. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemClassObject_GetNames_Proxy(
  692. IWbemClassObject __RPC_FAR * This,
  693. /* [in] */ BSTR QualifierName,
  694. /* [in] */ long lFlags,
  695. /* [in] */ VARIANT __RPC_FAR *pQualifierVal,
  696. /* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *pNames);
  697. void __RPC_STUB IWbemClassObject_GetNames_Stub(
  698. IRpcStubBuffer *This,
  699. IRpcChannelBuffer *_pRpcChannelBuffer,
  700. PRPC_MESSAGE _pRpcMessage,
  701. DWORD *_pdwStubPhase);
  702. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemClassObject_BeginEnumeration_Proxy(
  703. IWbemClassObject __RPC_FAR * This,
  704. /* [in] */ long lEnumFlags);
  705. void __RPC_STUB IWbemClassObject_BeginEnumeration_Stub(
  706. IRpcStubBuffer *This,
  707. IRpcChannelBuffer *_pRpcChannelBuffer,
  708. PRPC_MESSAGE _pRpcMessage,
  709. DWORD *_pdwStubPhase);
  710. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemClassObject_Next_Proxy(
  711. IWbemClassObject __RPC_FAR * This,
  712. /* [in] */ long lFlags,
  713. /* [unique][in][out] */ BSTR __RPC_FAR *pName,
  714. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  715. /* [unique][in][out] */ VARTYPE __RPC_FAR *pvtType,
  716. /* [unique][in][out] */ long __RPC_FAR *plFlavor);
  717. void __RPC_STUB IWbemClassObject_Next_Stub(
  718. IRpcStubBuffer *This,
  719. IRpcChannelBuffer *_pRpcChannelBuffer,
  720. PRPC_MESSAGE _pRpcMessage,
  721. DWORD *_pdwStubPhase);
  722. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemClassObject_EndEnumeration_Proxy(
  723. IWbemClassObject __RPC_FAR * This);
  724. void __RPC_STUB IWbemClassObject_EndEnumeration_Stub(
  725. IRpcStubBuffer *This,
  726. IRpcChannelBuffer *_pRpcChannelBuffer,
  727. PRPC_MESSAGE _pRpcMessage,
  728. DWORD *_pdwStubPhase);
  729. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemClassObject_GetPropertyQualifierSet_Proxy(
  730. IWbemClassObject __RPC_FAR * This,
  731. /* [in] */ BSTR pProperty,
  732. /* [out] */ IWbemQualifierSet __RPC_FAR *__RPC_FAR *ppQualSet);
  733. void __RPC_STUB IWbemClassObject_GetPropertyQualifierSet_Stub(
  734. IRpcStubBuffer *This,
  735. IRpcChannelBuffer *_pRpcChannelBuffer,
  736. PRPC_MESSAGE _pRpcMessage,
  737. DWORD *_pdwStubPhase);
  738. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemClassObject_Clone_Proxy(
  739. IWbemClassObject __RPC_FAR * This,
  740. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppCopy);
  741. void __RPC_STUB IWbemClassObject_Clone_Stub(
  742. IRpcStubBuffer *This,
  743. IRpcChannelBuffer *_pRpcChannelBuffer,
  744. PRPC_MESSAGE _pRpcMessage,
  745. DWORD *_pdwStubPhase);
  746. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemClassObject_GetObjectText_Proxy(
  747. IWbemClassObject __RPC_FAR * This,
  748. /* [in] */ long lFlags,
  749. /* [out] */ BSTR __RPC_FAR *pObjectText);
  750. void __RPC_STUB IWbemClassObject_GetObjectText_Stub(
  751. IRpcStubBuffer *This,
  752. IRpcChannelBuffer *_pRpcChannelBuffer,
  753. PRPC_MESSAGE _pRpcMessage,
  754. DWORD *_pdwStubPhase);
  755. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemClassObject_SpawnDerivedClass_Proxy(
  756. IWbemClassObject __RPC_FAR * This,
  757. /* [in] */ long lFlags,
  758. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppNewClass);
  759. void __RPC_STUB IWbemClassObject_SpawnDerivedClass_Stub(
  760. IRpcStubBuffer *This,
  761. IRpcChannelBuffer *_pRpcChannelBuffer,
  762. PRPC_MESSAGE _pRpcMessage,
  763. DWORD *_pdwStubPhase);
  764. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemClassObject_SpawnInstance_Proxy(
  765. IWbemClassObject __RPC_FAR * This,
  766. /* [in] */ long lFlags,
  767. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppNewInstance);
  768. void __RPC_STUB IWbemClassObject_SpawnInstance_Stub(
  769. IRpcStubBuffer *This,
  770. IRpcChannelBuffer *_pRpcChannelBuffer,
  771. PRPC_MESSAGE _pRpcMessage,
  772. DWORD *_pdwStubPhase);
  773. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemClassObject_CompareTo_Proxy(
  774. IWbemClassObject __RPC_FAR * This,
  775. /* [in] */ long lFlags,
  776. /* [in] */ IWbemClassObject __RPC_FAR *pCompareTo);
  777. void __RPC_STUB IWbemClassObject_CompareTo_Stub(
  778. IRpcStubBuffer *This,
  779. IRpcChannelBuffer *_pRpcChannelBuffer,
  780. PRPC_MESSAGE _pRpcMessage,
  781. DWORD *_pdwStubPhase);
  782. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemClassObject_GetPropertyOrigin_Proxy(
  783. IWbemClassObject __RPC_FAR * This,
  784. /* [in] */ BSTR strName,
  785. /* [out] */ BSTR __RPC_FAR *pstrClassName);
  786. void __RPC_STUB IWbemClassObject_GetPropertyOrigin_Stub(
  787. IRpcStubBuffer *This,
  788. IRpcChannelBuffer *_pRpcChannelBuffer,
  789. PRPC_MESSAGE _pRpcMessage,
  790. DWORD *_pdwStubPhase);
  791. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemClassObject_InheritsFrom_Proxy(
  792. IWbemClassObject __RPC_FAR * This,
  793. /* [in] */ BSTR strAncestor);
  794. void __RPC_STUB IWbemClassObject_InheritsFrom_Stub(
  795. IRpcStubBuffer *This,
  796. IRpcChannelBuffer *_pRpcChannelBuffer,
  797. PRPC_MESSAGE _pRpcMessage,
  798. DWORD *_pdwStubPhase);
  799. #endif /* __IWbemClassObject_INTERFACE_DEFINED__ */
  800. #ifndef __IWbemQualifierSet_INTERFACE_DEFINED__
  801. #define __IWbemQualifierSet_INTERFACE_DEFINED__
  802. /****************************************
  803. * Generated header for interface: IWbemQualifierSet
  804. * at Tue Aug 19 16:16:10 1997
  805. * using MIDL 3.01.75
  806. ****************************************/
  807. /* [dual][oleautomation][uuid][local][object] */
  808. EXTERN_C const IID IID_IWbemQualifierSet;
  809. #if defined(__cplusplus) && !defined(CINTERFACE)
  810. interface DECLSPEC_UUID("dc12a680-737f-11cf-884d-00aa004b2e24")
  811. IWbemQualifierSet : public IDispatch
  812. {
  813. public:
  814. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Get(
  815. /* [in] */ BSTR Name,
  816. /* [in] */ long lFlags,
  817. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  818. /* [unique][in][out] */ long __RPC_FAR *plFlavor) = 0;
  819. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Put(
  820. /* [in] */ BSTR Name,
  821. /* [in] */ VARIANT __RPC_FAR *pVal,
  822. /* [in] */ long lFlavor) = 0;
  823. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Delete(
  824. /* [in] */ BSTR Name) = 0;
  825. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetNames(
  826. /* [in] */ long lFlags,
  827. /* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *pNames) = 0;
  828. virtual /* [id] */ HRESULT STDMETHODCALLTYPE BeginEnumeration(
  829. /* [in] */ long lFlags) = 0;
  830. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Next(
  831. /* [in] */ long lFlags,
  832. /* [unique][in][out] */ BSTR __RPC_FAR *pName,
  833. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  834. /* [unique][in][out] */ long __RPC_FAR *plFlavor) = 0;
  835. virtual /* [id] */ HRESULT STDMETHODCALLTYPE EndEnumeration( void) = 0;
  836. };
  837. #else /* C style interface */
  838. typedef struct IWbemQualifierSetVtbl
  839. {
  840. BEGIN_INTERFACE
  841. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  842. IWbemQualifierSet __RPC_FAR * This,
  843. /* [in] */ REFIID riid,
  844. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  845. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  846. IWbemQualifierSet __RPC_FAR * This);
  847. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  848. IWbemQualifierSet __RPC_FAR * This);
  849. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  850. IWbemQualifierSet __RPC_FAR * This,
  851. /* [out] */ UINT __RPC_FAR *pctinfo);
  852. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  853. IWbemQualifierSet __RPC_FAR * This,
  854. /* [in] */ UINT iTInfo,
  855. /* [in] */ LCID lcid,
  856. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  857. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  858. IWbemQualifierSet __RPC_FAR * This,
  859. /* [in] */ REFIID riid,
  860. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  861. /* [in] */ UINT cNames,
  862. /* [in] */ LCID lcid,
  863. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  864. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  865. IWbemQualifierSet __RPC_FAR * This,
  866. /* [in] */ DISPID dispIdMember,
  867. /* [in] */ REFIID riid,
  868. /* [in] */ LCID lcid,
  869. /* [in] */ WORD wFlags,
  870. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  871. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  872. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  873. /* [out] */ UINT __RPC_FAR *puArgErr);
  874. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Get )(
  875. IWbemQualifierSet __RPC_FAR * This,
  876. /* [in] */ BSTR Name,
  877. /* [in] */ long lFlags,
  878. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  879. /* [unique][in][out] */ long __RPC_FAR *plFlavor);
  880. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Put )(
  881. IWbemQualifierSet __RPC_FAR * This,
  882. /* [in] */ BSTR Name,
  883. /* [in] */ VARIANT __RPC_FAR *pVal,
  884. /* [in] */ long lFlavor);
  885. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Delete )(
  886. IWbemQualifierSet __RPC_FAR * This,
  887. /* [in] */ BSTR Name);
  888. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNames )(
  889. IWbemQualifierSet __RPC_FAR * This,
  890. /* [in] */ long lFlags,
  891. /* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *pNames);
  892. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginEnumeration )(
  893. IWbemQualifierSet __RPC_FAR * This,
  894. /* [in] */ long lFlags);
  895. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Next )(
  896. IWbemQualifierSet __RPC_FAR * This,
  897. /* [in] */ long lFlags,
  898. /* [unique][in][out] */ BSTR __RPC_FAR *pName,
  899. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  900. /* [unique][in][out] */ long __RPC_FAR *plFlavor);
  901. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndEnumeration )(
  902. IWbemQualifierSet __RPC_FAR * This);
  903. END_INTERFACE
  904. } IWbemQualifierSetVtbl;
  905. interface IWbemQualifierSet
  906. {
  907. CONST_VTBL struct IWbemQualifierSetVtbl __RPC_FAR *lpVtbl;
  908. };
  909. #ifdef COBJMACROS
  910. #define IWbemQualifierSet_QueryInterface(This,riid,ppvObject) \
  911. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  912. #define IWbemQualifierSet_AddRef(This) \
  913. (This)->lpVtbl -> AddRef(This)
  914. #define IWbemQualifierSet_Release(This) \
  915. (This)->lpVtbl -> Release(This)
  916. #define IWbemQualifierSet_GetTypeInfoCount(This,pctinfo) \
  917. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  918. #define IWbemQualifierSet_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  919. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  920. #define IWbemQualifierSet_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  921. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  922. #define IWbemQualifierSet_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  923. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  924. #define IWbemQualifierSet_Get(This,Name,lFlags,pVal,plFlavor) \
  925. (This)->lpVtbl -> Get(This,Name,lFlags,pVal,plFlavor)
  926. #define IWbemQualifierSet_Put(This,Name,pVal,lFlavor) \
  927. (This)->lpVtbl -> Put(This,Name,pVal,lFlavor)
  928. #define IWbemQualifierSet_Delete(This,Name) \
  929. (This)->lpVtbl -> Delete(This,Name)
  930. #define IWbemQualifierSet_GetNames(This,lFlags,pNames) \
  931. (This)->lpVtbl -> GetNames(This,lFlags,pNames)
  932. #define IWbemQualifierSet_BeginEnumeration(This,lFlags) \
  933. (This)->lpVtbl -> BeginEnumeration(This,lFlags)
  934. #define IWbemQualifierSet_Next(This,lFlags,pName,pVal,plFlavor) \
  935. (This)->lpVtbl -> Next(This,lFlags,pName,pVal,plFlavor)
  936. #define IWbemQualifierSet_EndEnumeration(This) \
  937. (This)->lpVtbl -> EndEnumeration(This)
  938. #endif /* COBJMACROS */
  939. #endif /* C style interface */
  940. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemQualifierSet_Get_Proxy(
  941. IWbemQualifierSet __RPC_FAR * This,
  942. /* [in] */ BSTR Name,
  943. /* [in] */ long lFlags,
  944. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  945. /* [unique][in][out] */ long __RPC_FAR *plFlavor);
  946. void __RPC_STUB IWbemQualifierSet_Get_Stub(
  947. IRpcStubBuffer *This,
  948. IRpcChannelBuffer *_pRpcChannelBuffer,
  949. PRPC_MESSAGE _pRpcMessage,
  950. DWORD *_pdwStubPhase);
  951. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemQualifierSet_Put_Proxy(
  952. IWbemQualifierSet __RPC_FAR * This,
  953. /* [in] */ BSTR Name,
  954. /* [in] */ VARIANT __RPC_FAR *pVal,
  955. /* [in] */ long lFlavor);
  956. void __RPC_STUB IWbemQualifierSet_Put_Stub(
  957. IRpcStubBuffer *This,
  958. IRpcChannelBuffer *_pRpcChannelBuffer,
  959. PRPC_MESSAGE _pRpcMessage,
  960. DWORD *_pdwStubPhase);
  961. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemQualifierSet_Delete_Proxy(
  962. IWbemQualifierSet __RPC_FAR * This,
  963. /* [in] */ BSTR Name);
  964. void __RPC_STUB IWbemQualifierSet_Delete_Stub(
  965. IRpcStubBuffer *This,
  966. IRpcChannelBuffer *_pRpcChannelBuffer,
  967. PRPC_MESSAGE _pRpcMessage,
  968. DWORD *_pdwStubPhase);
  969. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemQualifierSet_GetNames_Proxy(
  970. IWbemQualifierSet __RPC_FAR * This,
  971. /* [in] */ long lFlags,
  972. /* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *pNames);
  973. void __RPC_STUB IWbemQualifierSet_GetNames_Stub(
  974. IRpcStubBuffer *This,
  975. IRpcChannelBuffer *_pRpcChannelBuffer,
  976. PRPC_MESSAGE _pRpcMessage,
  977. DWORD *_pdwStubPhase);
  978. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemQualifierSet_BeginEnumeration_Proxy(
  979. IWbemQualifierSet __RPC_FAR * This,
  980. /* [in] */ long lFlags);
  981. void __RPC_STUB IWbemQualifierSet_BeginEnumeration_Stub(
  982. IRpcStubBuffer *This,
  983. IRpcChannelBuffer *_pRpcChannelBuffer,
  984. PRPC_MESSAGE _pRpcMessage,
  985. DWORD *_pdwStubPhase);
  986. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemQualifierSet_Next_Proxy(
  987. IWbemQualifierSet __RPC_FAR * This,
  988. /* [in] */ long lFlags,
  989. /* [unique][in][out] */ BSTR __RPC_FAR *pName,
  990. /* [unique][in][out] */ VARIANT __RPC_FAR *pVal,
  991. /* [unique][in][out] */ long __RPC_FAR *plFlavor);
  992. void __RPC_STUB IWbemQualifierSet_Next_Stub(
  993. IRpcStubBuffer *This,
  994. IRpcChannelBuffer *_pRpcChannelBuffer,
  995. PRPC_MESSAGE _pRpcMessage,
  996. DWORD *_pdwStubPhase);
  997. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemQualifierSet_EndEnumeration_Proxy(
  998. IWbemQualifierSet __RPC_FAR * This);
  999. void __RPC_STUB IWbemQualifierSet_EndEnumeration_Stub(
  1000. IRpcStubBuffer *This,
  1001. IRpcChannelBuffer *_pRpcChannelBuffer,
  1002. PRPC_MESSAGE _pRpcMessage,
  1003. DWORD *_pdwStubPhase);
  1004. #endif /* __IWbemQualifierSet_INTERFACE_DEFINED__ */
  1005. #ifndef __IWbemServices_INTERFACE_DEFINED__
  1006. #define __IWbemServices_INTERFACE_DEFINED__
  1007. /****************************************
  1008. * Generated header for interface: IWbemServices
  1009. * at Tue Aug 19 16:16:10 1997
  1010. * using MIDL 3.01.75
  1011. ****************************************/
  1012. /* [unique][dual][oleautomation][uuid][object] */
  1013. EXTERN_C const IID IID_IWbemServices;
  1014. #if defined(__cplusplus) && !defined(CINTERFACE)
  1015. interface DECLSPEC_UUID("9556dc99-828c-11cf-a37e-00aa003240c7")
  1016. IWbemServices : public IDispatch
  1017. {
  1018. public:
  1019. virtual /* [id] */ HRESULT STDMETHODCALLTYPE OpenNamespace(
  1020. /* [in] */ BSTR Namespace,
  1021. /* [in] */ long lFlags,
  1022. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1023. /* [unique][in][out] */ IWbemServices __RPC_FAR *__RPC_FAR *ppWorkingNamespace,
  1024. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppResult) = 0;
  1025. virtual /* [id] */ HRESULT STDMETHODCALLTYPE CancelAsyncCall(
  1026. /* [in] */ IWbemObjectSink __RPC_FAR *pSink) = 0;
  1027. virtual /* [id] */ HRESULT STDMETHODCALLTYPE QueryObjectSink(
  1028. /* [in] */ long lFlags,
  1029. /* [out] */ IWbemObjectSink __RPC_FAR *__RPC_FAR *ppResponseHandler) = 0;
  1030. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetObject(
  1031. /* [in] */ BSTR ObjectPath,
  1032. /* [in] */ long lFlags,
  1033. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1034. /* [unique][in][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppObject,
  1035. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult) = 0;
  1036. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetObjectAsync(
  1037. /* [in] */ BSTR ObjectPath,
  1038. /* [in] */ long lFlags,
  1039. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1040. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler) = 0;
  1041. virtual /* [id] */ HRESULT STDMETHODCALLTYPE PutClass(
  1042. /* [in] */ IWbemClassObject __RPC_FAR *pObject,
  1043. /* [in] */ long lFlags,
  1044. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1045. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult) = 0;
  1046. virtual /* [id] */ HRESULT STDMETHODCALLTYPE PutClassAsync(
  1047. /* [in] */ IWbemClassObject __RPC_FAR *pObject,
  1048. /* [in] */ long lFlags,
  1049. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1050. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler) = 0;
  1051. virtual /* [id] */ HRESULT STDMETHODCALLTYPE DeleteClass(
  1052. /* [in] */ BSTR Class,
  1053. /* [in] */ long lFlags,
  1054. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1055. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult) = 0;
  1056. virtual /* [id] */ HRESULT STDMETHODCALLTYPE DeleteClassAsync(
  1057. /* [in] */ BSTR Class,
  1058. /* [in] */ long lFlags,
  1059. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1060. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler) = 0;
  1061. virtual /* [id] */ HRESULT STDMETHODCALLTYPE CreateClassEnum(
  1062. /* [in] */ BSTR Superclass,
  1063. /* [in] */ long lFlags,
  1064. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1065. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  1066. virtual /* [id] */ HRESULT STDMETHODCALLTYPE CreateClassEnumAsync(
  1067. /* [in] */ BSTR Superclass,
  1068. /* [in] */ long lFlags,
  1069. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1070. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler) = 0;
  1071. virtual /* [id] */ HRESULT STDMETHODCALLTYPE PutInstance(
  1072. /* [in] */ IWbemClassObject __RPC_FAR *pInst,
  1073. /* [in] */ long lFlags,
  1074. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1075. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult) = 0;
  1076. virtual /* [id] */ HRESULT STDMETHODCALLTYPE PutInstanceAsync(
  1077. /* [in] */ IWbemClassObject __RPC_FAR *pInst,
  1078. /* [in] */ long lFlags,
  1079. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1080. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler) = 0;
  1081. virtual /* [id] */ HRESULT STDMETHODCALLTYPE DeleteInstance(
  1082. /* [in] */ BSTR ObjectPath,
  1083. /* [in] */ long lFlags,
  1084. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1085. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult) = 0;
  1086. virtual /* [id] */ HRESULT STDMETHODCALLTYPE DeleteInstanceAsync(
  1087. /* [in] */ BSTR ObjectPath,
  1088. /* [in] */ long lFlags,
  1089. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1090. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler) = 0;
  1091. virtual /* [id] */ HRESULT STDMETHODCALLTYPE CreateInstanceEnum(
  1092. /* [in] */ BSTR Class,
  1093. /* [in] */ long lFlags,
  1094. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1095. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  1096. virtual /* [id] */ HRESULT STDMETHODCALLTYPE CreateInstanceEnumAsync(
  1097. /* [in] */ BSTR Class,
  1098. /* [in] */ long lFlags,
  1099. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1100. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler) = 0;
  1101. virtual /* [id] */ HRESULT STDMETHODCALLTYPE ExecQuery(
  1102. /* [in] */ BSTR QueryLanguage,
  1103. /* [in] */ BSTR Query,
  1104. /* [in] */ long lFlags,
  1105. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1106. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  1107. virtual /* [id] */ HRESULT STDMETHODCALLTYPE ExecQueryAsync(
  1108. /* [in] */ BSTR QueryLanguage,
  1109. /* [in] */ BSTR Query,
  1110. /* [in] */ long lFlags,
  1111. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1112. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler) = 0;
  1113. virtual /* [id] */ HRESULT STDMETHODCALLTYPE ExecNotificationQuery(
  1114. /* [in] */ BSTR QueryLanguage,
  1115. /* [in] */ BSTR Query,
  1116. /* [in] */ long lFlags,
  1117. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1118. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  1119. virtual /* [id] */ HRESULT STDMETHODCALLTYPE ExecNotificationQueryAsync(
  1120. /* [in] */ BSTR QueryLanguage,
  1121. /* [in] */ BSTR Query,
  1122. /* [in] */ long lFlags,
  1123. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1124. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler) = 0;
  1125. virtual /* [id] */ HRESULT STDMETHODCALLTYPE ExecMethod(
  1126. /* [in] */ BSTR ObjectPath,
  1127. /* [in] */ BSTR MethodName,
  1128. /* [in] */ long lFlags,
  1129. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1130. /* [in] */ IWbemClassObject __RPC_FAR *pInParams,
  1131. /* [unique][in][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppOutParams,
  1132. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult) = 0;
  1133. virtual /* [id] */ HRESULT STDMETHODCALLTYPE ExecMethodAsync(
  1134. /* [in] */ BSTR ObjectPath,
  1135. /* [in] */ BSTR MethodName,
  1136. /* [in] */ long lFlags,
  1137. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1138. /* [in] */ IWbemClassObject __RPC_FAR *pInParams,
  1139. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler) = 0;
  1140. };
  1141. #else /* C style interface */
  1142. typedef struct IWbemServicesVtbl
  1143. {
  1144. BEGIN_INTERFACE
  1145. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1146. IWbemServices __RPC_FAR * This,
  1147. /* [in] */ REFIID riid,
  1148. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1149. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1150. IWbemServices __RPC_FAR * This);
  1151. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1152. IWbemServices __RPC_FAR * This);
  1153. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1154. IWbemServices __RPC_FAR * This,
  1155. /* [out] */ UINT __RPC_FAR *pctinfo);
  1156. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1157. IWbemServices __RPC_FAR * This,
  1158. /* [in] */ UINT iTInfo,
  1159. /* [in] */ LCID lcid,
  1160. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1161. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1162. IWbemServices __RPC_FAR * This,
  1163. /* [in] */ REFIID riid,
  1164. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1165. /* [in] */ UINT cNames,
  1166. /* [in] */ LCID lcid,
  1167. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1168. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1169. IWbemServices __RPC_FAR * This,
  1170. /* [in] */ DISPID dispIdMember,
  1171. /* [in] */ REFIID riid,
  1172. /* [in] */ LCID lcid,
  1173. /* [in] */ WORD wFlags,
  1174. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1175. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1176. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1177. /* [out] */ UINT __RPC_FAR *puArgErr);
  1178. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OpenNamespace )(
  1179. IWbemServices __RPC_FAR * This,
  1180. /* [in] */ BSTR Namespace,
  1181. /* [in] */ long lFlags,
  1182. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1183. /* [unique][in][out] */ IWbemServices __RPC_FAR *__RPC_FAR *ppWorkingNamespace,
  1184. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppResult);
  1185. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CancelAsyncCall )(
  1186. IWbemServices __RPC_FAR * This,
  1187. /* [in] */ IWbemObjectSink __RPC_FAR *pSink);
  1188. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryObjectSink )(
  1189. IWbemServices __RPC_FAR * This,
  1190. /* [in] */ long lFlags,
  1191. /* [out] */ IWbemObjectSink __RPC_FAR *__RPC_FAR *ppResponseHandler);
  1192. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetObject )(
  1193. IWbemServices __RPC_FAR * This,
  1194. /* [in] */ BSTR ObjectPath,
  1195. /* [in] */ long lFlags,
  1196. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1197. /* [unique][in][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppObject,
  1198. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult);
  1199. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetObjectAsync )(
  1200. IWbemServices __RPC_FAR * This,
  1201. /* [in] */ BSTR ObjectPath,
  1202. /* [in] */ long lFlags,
  1203. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1204. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1205. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PutClass )(
  1206. IWbemServices __RPC_FAR * This,
  1207. /* [in] */ IWbemClassObject __RPC_FAR *pObject,
  1208. /* [in] */ long lFlags,
  1209. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1210. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult);
  1211. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PutClassAsync )(
  1212. IWbemServices __RPC_FAR * This,
  1213. /* [in] */ IWbemClassObject __RPC_FAR *pObject,
  1214. /* [in] */ long lFlags,
  1215. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1216. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1217. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteClass )(
  1218. IWbemServices __RPC_FAR * This,
  1219. /* [in] */ BSTR Class,
  1220. /* [in] */ long lFlags,
  1221. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1222. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult);
  1223. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteClassAsync )(
  1224. IWbemServices __RPC_FAR * This,
  1225. /* [in] */ BSTR Class,
  1226. /* [in] */ long lFlags,
  1227. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1228. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1229. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateClassEnum )(
  1230. IWbemServices __RPC_FAR * This,
  1231. /* [in] */ BSTR Superclass,
  1232. /* [in] */ long lFlags,
  1233. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1234. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum);
  1235. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateClassEnumAsync )(
  1236. IWbemServices __RPC_FAR * This,
  1237. /* [in] */ BSTR Superclass,
  1238. /* [in] */ long lFlags,
  1239. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1240. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1241. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PutInstance )(
  1242. IWbemServices __RPC_FAR * This,
  1243. /* [in] */ IWbemClassObject __RPC_FAR *pInst,
  1244. /* [in] */ long lFlags,
  1245. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1246. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult);
  1247. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PutInstanceAsync )(
  1248. IWbemServices __RPC_FAR * This,
  1249. /* [in] */ IWbemClassObject __RPC_FAR *pInst,
  1250. /* [in] */ long lFlags,
  1251. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1252. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1253. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteInstance )(
  1254. IWbemServices __RPC_FAR * This,
  1255. /* [in] */ BSTR ObjectPath,
  1256. /* [in] */ long lFlags,
  1257. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1258. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult);
  1259. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteInstanceAsync )(
  1260. IWbemServices __RPC_FAR * This,
  1261. /* [in] */ BSTR ObjectPath,
  1262. /* [in] */ long lFlags,
  1263. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1264. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1265. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateInstanceEnum )(
  1266. IWbemServices __RPC_FAR * This,
  1267. /* [in] */ BSTR Class,
  1268. /* [in] */ long lFlags,
  1269. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1270. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum);
  1271. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateInstanceEnumAsync )(
  1272. IWbemServices __RPC_FAR * This,
  1273. /* [in] */ BSTR Class,
  1274. /* [in] */ long lFlags,
  1275. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1276. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1277. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ExecQuery )(
  1278. IWbemServices __RPC_FAR * This,
  1279. /* [in] */ BSTR QueryLanguage,
  1280. /* [in] */ BSTR Query,
  1281. /* [in] */ long lFlags,
  1282. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1283. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum);
  1284. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ExecQueryAsync )(
  1285. IWbemServices __RPC_FAR * This,
  1286. /* [in] */ BSTR QueryLanguage,
  1287. /* [in] */ BSTR Query,
  1288. /* [in] */ long lFlags,
  1289. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1290. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1291. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ExecNotificationQuery )(
  1292. IWbemServices __RPC_FAR * This,
  1293. /* [in] */ BSTR QueryLanguage,
  1294. /* [in] */ BSTR Query,
  1295. /* [in] */ long lFlags,
  1296. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1297. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum);
  1298. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ExecNotificationQueryAsync )(
  1299. IWbemServices __RPC_FAR * This,
  1300. /* [in] */ BSTR QueryLanguage,
  1301. /* [in] */ BSTR Query,
  1302. /* [in] */ long lFlags,
  1303. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1304. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1305. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ExecMethod )(
  1306. IWbemServices __RPC_FAR * This,
  1307. /* [in] */ BSTR ObjectPath,
  1308. /* [in] */ BSTR MethodName,
  1309. /* [in] */ long lFlags,
  1310. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1311. /* [in] */ IWbemClassObject __RPC_FAR *pInParams,
  1312. /* [unique][in][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppOutParams,
  1313. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult);
  1314. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ExecMethodAsync )(
  1315. IWbemServices __RPC_FAR * This,
  1316. /* [in] */ BSTR ObjectPath,
  1317. /* [in] */ BSTR MethodName,
  1318. /* [in] */ long lFlags,
  1319. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1320. /* [in] */ IWbemClassObject __RPC_FAR *pInParams,
  1321. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1322. END_INTERFACE
  1323. } IWbemServicesVtbl;
  1324. interface IWbemServices
  1325. {
  1326. CONST_VTBL struct IWbemServicesVtbl __RPC_FAR *lpVtbl;
  1327. };
  1328. #ifdef COBJMACROS
  1329. #define IWbemServices_QueryInterface(This,riid,ppvObject) \
  1330. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1331. #define IWbemServices_AddRef(This) \
  1332. (This)->lpVtbl -> AddRef(This)
  1333. #define IWbemServices_Release(This) \
  1334. (This)->lpVtbl -> Release(This)
  1335. #define IWbemServices_GetTypeInfoCount(This,pctinfo) \
  1336. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1337. #define IWbemServices_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1338. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1339. #define IWbemServices_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1340. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1341. #define IWbemServices_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1342. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1343. #define IWbemServices_OpenNamespace(This,Namespace,lFlags,pCtx,ppWorkingNamespace,ppResult) \
  1344. (This)->lpVtbl -> OpenNamespace(This,Namespace,lFlags,pCtx,ppWorkingNamespace,ppResult)
  1345. #define IWbemServices_CancelAsyncCall(This,pSink) \
  1346. (This)->lpVtbl -> CancelAsyncCall(This,pSink)
  1347. #define IWbemServices_QueryObjectSink(This,lFlags,ppResponseHandler) \
  1348. (This)->lpVtbl -> QueryObjectSink(This,lFlags,ppResponseHandler)
  1349. #define IWbemServices_GetObject(This,ObjectPath,lFlags,pCtx,ppObject,ppCallResult) \
  1350. (This)->lpVtbl -> GetObject(This,ObjectPath,lFlags,pCtx,ppObject,ppCallResult)
  1351. #define IWbemServices_GetObjectAsync(This,ObjectPath,lFlags,pCtx,pResponseHandler) \
  1352. (This)->lpVtbl -> GetObjectAsync(This,ObjectPath,lFlags,pCtx,pResponseHandler)
  1353. #define IWbemServices_PutClass(This,pObject,lFlags,pCtx,ppCallResult) \
  1354. (This)->lpVtbl -> PutClass(This,pObject,lFlags,pCtx,ppCallResult)
  1355. #define IWbemServices_PutClassAsync(This,pObject,lFlags,pCtx,pResponseHandler) \
  1356. (This)->lpVtbl -> PutClassAsync(This,pObject,lFlags,pCtx,pResponseHandler)
  1357. #define IWbemServices_DeleteClass(This,Class,lFlags,pCtx,ppCallResult) \
  1358. (This)->lpVtbl -> DeleteClass(This,Class,lFlags,pCtx,ppCallResult)
  1359. #define IWbemServices_DeleteClassAsync(This,Class,lFlags,pCtx,pResponseHandler) \
  1360. (This)->lpVtbl -> DeleteClassAsync(This,Class,lFlags,pCtx,pResponseHandler)
  1361. #define IWbemServices_CreateClassEnum(This,Superclass,lFlags,pCtx,ppEnum) \
  1362. (This)->lpVtbl -> CreateClassEnum(This,Superclass,lFlags,pCtx,ppEnum)
  1363. #define IWbemServices_CreateClassEnumAsync(This,Superclass,lFlags,pCtx,pResponseHandler) \
  1364. (This)->lpVtbl -> CreateClassEnumAsync(This,Superclass,lFlags,pCtx,pResponseHandler)
  1365. #define IWbemServices_PutInstance(This,pInst,lFlags,pCtx,ppCallResult) \
  1366. (This)->lpVtbl -> PutInstance(This,pInst,lFlags,pCtx,ppCallResult)
  1367. #define IWbemServices_PutInstanceAsync(This,pInst,lFlags,pCtx,pResponseHandler) \
  1368. (This)->lpVtbl -> PutInstanceAsync(This,pInst,lFlags,pCtx,pResponseHandler)
  1369. #define IWbemServices_DeleteInstance(This,ObjectPath,lFlags,pCtx,ppCallResult) \
  1370. (This)->lpVtbl -> DeleteInstance(This,ObjectPath,lFlags,pCtx,ppCallResult)
  1371. #define IWbemServices_DeleteInstanceAsync(This,ObjectPath,lFlags,pCtx,pResponseHandler) \
  1372. (This)->lpVtbl -> DeleteInstanceAsync(This,ObjectPath,lFlags,pCtx,pResponseHandler)
  1373. #define IWbemServices_CreateInstanceEnum(This,Class,lFlags,pCtx,ppEnum) \
  1374. (This)->lpVtbl -> CreateInstanceEnum(This,Class,lFlags,pCtx,ppEnum)
  1375. #define IWbemServices_CreateInstanceEnumAsync(This,Class,lFlags,pCtx,pResponseHandler) \
  1376. (This)->lpVtbl -> CreateInstanceEnumAsync(This,Class,lFlags,pCtx,pResponseHandler)
  1377. #define IWbemServices_ExecQuery(This,QueryLanguage,Query,lFlags,pCtx,ppEnum) \
  1378. (This)->lpVtbl -> ExecQuery(This,QueryLanguage,Query,lFlags,pCtx,ppEnum)
  1379. #define IWbemServices_ExecQueryAsync(This,QueryLanguage,Query,lFlags,pCtx,pResponseHandler) \
  1380. (This)->lpVtbl -> ExecQueryAsync(This,QueryLanguage,Query,lFlags,pCtx,pResponseHandler)
  1381. #define IWbemServices_ExecNotificationQuery(This,QueryLanguage,Query,lFlags,pCtx,ppEnum) \
  1382. (This)->lpVtbl -> ExecNotificationQuery(This,QueryLanguage,Query,lFlags,pCtx,ppEnum)
  1383. #define IWbemServices_ExecNotificationQueryAsync(This,QueryLanguage,Query,lFlags,pCtx,pResponseHandler) \
  1384. (This)->lpVtbl -> ExecNotificationQueryAsync(This,QueryLanguage,Query,lFlags,pCtx,pResponseHandler)
  1385. #define IWbemServices_ExecMethod(This,ObjectPath,MethodName,lFlags,pCtx,pInParams,ppOutParams,ppCallResult) \
  1386. (This)->lpVtbl -> ExecMethod(This,ObjectPath,MethodName,lFlags,pCtx,pInParams,ppOutParams,ppCallResult)
  1387. #define IWbemServices_ExecMethodAsync(This,ObjectPath,MethodName,lFlags,pCtx,pInParams,pResponseHandler) \
  1388. (This)->lpVtbl -> ExecMethodAsync(This,ObjectPath,MethodName,lFlags,pCtx,pInParams,pResponseHandler)
  1389. #endif /* COBJMACROS */
  1390. #endif /* C style interface */
  1391. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemServices_OpenNamespace_Proxy(
  1392. IWbemServices __RPC_FAR * This,
  1393. /* [in] */ BSTR Namespace,
  1394. /* [in] */ long lFlags,
  1395. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1396. /* [unique][in][out] */ IWbemServices __RPC_FAR *__RPC_FAR *ppWorkingNamespace,
  1397. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppResult);
  1398. void __RPC_STUB IWbemServices_OpenNamespace_Stub(
  1399. IRpcStubBuffer *This,
  1400. IRpcChannelBuffer *_pRpcChannelBuffer,
  1401. PRPC_MESSAGE _pRpcMessage,
  1402. DWORD *_pdwStubPhase);
  1403. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemServices_CancelAsyncCall_Proxy(
  1404. IWbemServices __RPC_FAR * This,
  1405. /* [in] */ IWbemObjectSink __RPC_FAR *pSink);
  1406. void __RPC_STUB IWbemServices_CancelAsyncCall_Stub(
  1407. IRpcStubBuffer *This,
  1408. IRpcChannelBuffer *_pRpcChannelBuffer,
  1409. PRPC_MESSAGE _pRpcMessage,
  1410. DWORD *_pdwStubPhase);
  1411. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemServices_QueryObjectSink_Proxy(
  1412. IWbemServices __RPC_FAR * This,
  1413. /* [in] */ long lFlags,
  1414. /* [out] */ IWbemObjectSink __RPC_FAR *__RPC_FAR *ppResponseHandler);
  1415. void __RPC_STUB IWbemServices_QueryObjectSink_Stub(
  1416. IRpcStubBuffer *This,
  1417. IRpcChannelBuffer *_pRpcChannelBuffer,
  1418. PRPC_MESSAGE _pRpcMessage,
  1419. DWORD *_pdwStubPhase);
  1420. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemServices_GetObject_Proxy(
  1421. IWbemServices __RPC_FAR * This,
  1422. /* [in] */ BSTR ObjectPath,
  1423. /* [in] */ long lFlags,
  1424. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1425. /* [unique][in][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppObject,
  1426. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult);
  1427. void __RPC_STUB IWbemServices_GetObject_Stub(
  1428. IRpcStubBuffer *This,
  1429. IRpcChannelBuffer *_pRpcChannelBuffer,
  1430. PRPC_MESSAGE _pRpcMessage,
  1431. DWORD *_pdwStubPhase);
  1432. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemServices_GetObjectAsync_Proxy(
  1433. IWbemServices __RPC_FAR * This,
  1434. /* [in] */ BSTR ObjectPath,
  1435. /* [in] */ long lFlags,
  1436. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1437. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1438. void __RPC_STUB IWbemServices_GetObjectAsync_Stub(
  1439. IRpcStubBuffer *This,
  1440. IRpcChannelBuffer *_pRpcChannelBuffer,
  1441. PRPC_MESSAGE _pRpcMessage,
  1442. DWORD *_pdwStubPhase);
  1443. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemServices_PutClass_Proxy(
  1444. IWbemServices __RPC_FAR * This,
  1445. /* [in] */ IWbemClassObject __RPC_FAR *pObject,
  1446. /* [in] */ long lFlags,
  1447. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1448. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult);
  1449. void __RPC_STUB IWbemServices_PutClass_Stub(
  1450. IRpcStubBuffer *This,
  1451. IRpcChannelBuffer *_pRpcChannelBuffer,
  1452. PRPC_MESSAGE _pRpcMessage,
  1453. DWORD *_pdwStubPhase);
  1454. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemServices_PutClassAsync_Proxy(
  1455. IWbemServices __RPC_FAR * This,
  1456. /* [in] */ IWbemClassObject __RPC_FAR *pObject,
  1457. /* [in] */ long lFlags,
  1458. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1459. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1460. void __RPC_STUB IWbemServices_PutClassAsync_Stub(
  1461. IRpcStubBuffer *This,
  1462. IRpcChannelBuffer *_pRpcChannelBuffer,
  1463. PRPC_MESSAGE _pRpcMessage,
  1464. DWORD *_pdwStubPhase);
  1465. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemServices_DeleteClass_Proxy(
  1466. IWbemServices __RPC_FAR * This,
  1467. /* [in] */ BSTR Class,
  1468. /* [in] */ long lFlags,
  1469. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1470. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult);
  1471. void __RPC_STUB IWbemServices_DeleteClass_Stub(
  1472. IRpcStubBuffer *This,
  1473. IRpcChannelBuffer *_pRpcChannelBuffer,
  1474. PRPC_MESSAGE _pRpcMessage,
  1475. DWORD *_pdwStubPhase);
  1476. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemServices_DeleteClassAsync_Proxy(
  1477. IWbemServices __RPC_FAR * This,
  1478. /* [in] */ BSTR Class,
  1479. /* [in] */ long lFlags,
  1480. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1481. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1482. void __RPC_STUB IWbemServices_DeleteClassAsync_Stub(
  1483. IRpcStubBuffer *This,
  1484. IRpcChannelBuffer *_pRpcChannelBuffer,
  1485. PRPC_MESSAGE _pRpcMessage,
  1486. DWORD *_pdwStubPhase);
  1487. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemServices_CreateClassEnum_Proxy(
  1488. IWbemServices __RPC_FAR * This,
  1489. /* [in] */ BSTR Superclass,
  1490. /* [in] */ long lFlags,
  1491. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1492. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum);
  1493. void __RPC_STUB IWbemServices_CreateClassEnum_Stub(
  1494. IRpcStubBuffer *This,
  1495. IRpcChannelBuffer *_pRpcChannelBuffer,
  1496. PRPC_MESSAGE _pRpcMessage,
  1497. DWORD *_pdwStubPhase);
  1498. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemServices_CreateClassEnumAsync_Proxy(
  1499. IWbemServices __RPC_FAR * This,
  1500. /* [in] */ BSTR Superclass,
  1501. /* [in] */ long lFlags,
  1502. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1503. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1504. void __RPC_STUB IWbemServices_CreateClassEnumAsync_Stub(
  1505. IRpcStubBuffer *This,
  1506. IRpcChannelBuffer *_pRpcChannelBuffer,
  1507. PRPC_MESSAGE _pRpcMessage,
  1508. DWORD *_pdwStubPhase);
  1509. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemServices_PutInstance_Proxy(
  1510. IWbemServices __RPC_FAR * This,
  1511. /* [in] */ IWbemClassObject __RPC_FAR *pInst,
  1512. /* [in] */ long lFlags,
  1513. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1514. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult);
  1515. void __RPC_STUB IWbemServices_PutInstance_Stub(
  1516. IRpcStubBuffer *This,
  1517. IRpcChannelBuffer *_pRpcChannelBuffer,
  1518. PRPC_MESSAGE _pRpcMessage,
  1519. DWORD *_pdwStubPhase);
  1520. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemServices_PutInstanceAsync_Proxy(
  1521. IWbemServices __RPC_FAR * This,
  1522. /* [in] */ IWbemClassObject __RPC_FAR *pInst,
  1523. /* [in] */ long lFlags,
  1524. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1525. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1526. void __RPC_STUB IWbemServices_PutInstanceAsync_Stub(
  1527. IRpcStubBuffer *This,
  1528. IRpcChannelBuffer *_pRpcChannelBuffer,
  1529. PRPC_MESSAGE _pRpcMessage,
  1530. DWORD *_pdwStubPhase);
  1531. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemServices_DeleteInstance_Proxy(
  1532. IWbemServices __RPC_FAR * This,
  1533. /* [in] */ BSTR ObjectPath,
  1534. /* [in] */ long lFlags,
  1535. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1536. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult);
  1537. void __RPC_STUB IWbemServices_DeleteInstance_Stub(
  1538. IRpcStubBuffer *This,
  1539. IRpcChannelBuffer *_pRpcChannelBuffer,
  1540. PRPC_MESSAGE _pRpcMessage,
  1541. DWORD *_pdwStubPhase);
  1542. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemServices_DeleteInstanceAsync_Proxy(
  1543. IWbemServices __RPC_FAR * This,
  1544. /* [in] */ BSTR ObjectPath,
  1545. /* [in] */ long lFlags,
  1546. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1547. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1548. void __RPC_STUB IWbemServices_DeleteInstanceAsync_Stub(
  1549. IRpcStubBuffer *This,
  1550. IRpcChannelBuffer *_pRpcChannelBuffer,
  1551. PRPC_MESSAGE _pRpcMessage,
  1552. DWORD *_pdwStubPhase);
  1553. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemServices_CreateInstanceEnum_Proxy(
  1554. IWbemServices __RPC_FAR * This,
  1555. /* [in] */ BSTR Class,
  1556. /* [in] */ long lFlags,
  1557. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1558. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum);
  1559. void __RPC_STUB IWbemServices_CreateInstanceEnum_Stub(
  1560. IRpcStubBuffer *This,
  1561. IRpcChannelBuffer *_pRpcChannelBuffer,
  1562. PRPC_MESSAGE _pRpcMessage,
  1563. DWORD *_pdwStubPhase);
  1564. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemServices_CreateInstanceEnumAsync_Proxy(
  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. void __RPC_STUB IWbemServices_CreateInstanceEnumAsync_Stub(
  1571. IRpcStubBuffer *This,
  1572. IRpcChannelBuffer *_pRpcChannelBuffer,
  1573. PRPC_MESSAGE _pRpcMessage,
  1574. DWORD *_pdwStubPhase);
  1575. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemServices_ExecQuery_Proxy(
  1576. IWbemServices __RPC_FAR * This,
  1577. /* [in] */ BSTR QueryLanguage,
  1578. /* [in] */ BSTR Query,
  1579. /* [in] */ long lFlags,
  1580. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1581. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum);
  1582. void __RPC_STUB IWbemServices_ExecQuery_Stub(
  1583. IRpcStubBuffer *This,
  1584. IRpcChannelBuffer *_pRpcChannelBuffer,
  1585. PRPC_MESSAGE _pRpcMessage,
  1586. DWORD *_pdwStubPhase);
  1587. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemServices_ExecQueryAsync_Proxy(
  1588. IWbemServices __RPC_FAR * This,
  1589. /* [in] */ BSTR QueryLanguage,
  1590. /* [in] */ BSTR Query,
  1591. /* [in] */ long lFlags,
  1592. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1593. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1594. void __RPC_STUB IWbemServices_ExecQueryAsync_Stub(
  1595. IRpcStubBuffer *This,
  1596. IRpcChannelBuffer *_pRpcChannelBuffer,
  1597. PRPC_MESSAGE _pRpcMessage,
  1598. DWORD *_pdwStubPhase);
  1599. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemServices_ExecNotificationQuery_Proxy(
  1600. IWbemServices __RPC_FAR * This,
  1601. /* [in] */ BSTR QueryLanguage,
  1602. /* [in] */ BSTR Query,
  1603. /* [in] */ long lFlags,
  1604. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1605. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum);
  1606. void __RPC_STUB IWbemServices_ExecNotificationQuery_Stub(
  1607. IRpcStubBuffer *This,
  1608. IRpcChannelBuffer *_pRpcChannelBuffer,
  1609. PRPC_MESSAGE _pRpcMessage,
  1610. DWORD *_pdwStubPhase);
  1611. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemServices_ExecNotificationQueryAsync_Proxy(
  1612. IWbemServices __RPC_FAR * This,
  1613. /* [in] */ BSTR QueryLanguage,
  1614. /* [in] */ BSTR Query,
  1615. /* [in] */ long lFlags,
  1616. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1617. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1618. void __RPC_STUB IWbemServices_ExecNotificationQueryAsync_Stub(
  1619. IRpcStubBuffer *This,
  1620. IRpcChannelBuffer *_pRpcChannelBuffer,
  1621. PRPC_MESSAGE _pRpcMessage,
  1622. DWORD *_pdwStubPhase);
  1623. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemServices_ExecMethod_Proxy(
  1624. IWbemServices __RPC_FAR * This,
  1625. /* [in] */ BSTR ObjectPath,
  1626. /* [in] */ BSTR MethodName,
  1627. /* [in] */ long lFlags,
  1628. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1629. /* [in] */ IWbemClassObject __RPC_FAR *pInParams,
  1630. /* [unique][in][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppOutParams,
  1631. /* [unique][in][out] */ IWbemCallResult __RPC_FAR *__RPC_FAR *ppCallResult);
  1632. void __RPC_STUB IWbemServices_ExecMethod_Stub(
  1633. IRpcStubBuffer *This,
  1634. IRpcChannelBuffer *_pRpcChannelBuffer,
  1635. PRPC_MESSAGE _pRpcMessage,
  1636. DWORD *_pdwStubPhase);
  1637. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemServices_ExecMethodAsync_Proxy(
  1638. IWbemServices __RPC_FAR * This,
  1639. /* [in] */ BSTR ObjectPath,
  1640. /* [in] */ BSTR MethodName,
  1641. /* [in] */ long lFlags,
  1642. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1643. /* [in] */ IWbemClassObject __RPC_FAR *pInParams,
  1644. /* [in] */ IWbemObjectSink __RPC_FAR *pResponseHandler);
  1645. void __RPC_STUB IWbemServices_ExecMethodAsync_Stub(
  1646. IRpcStubBuffer *This,
  1647. IRpcChannelBuffer *_pRpcChannelBuffer,
  1648. PRPC_MESSAGE _pRpcMessage,
  1649. DWORD *_pdwStubPhase);
  1650. #endif /* __IWbemServices_INTERFACE_DEFINED__ */
  1651. #ifndef __IWbemLocator_INTERFACE_DEFINED__
  1652. #define __IWbemLocator_INTERFACE_DEFINED__
  1653. /****************************************
  1654. * Generated header for interface: IWbemLocator
  1655. * at Tue Aug 19 16:16:10 1997
  1656. * using MIDL 3.01.75
  1657. ****************************************/
  1658. /* [unique][oleautomation][dual][uuid][local][object] */
  1659. EXTERN_C const IID IID_IWbemLocator;
  1660. #if defined(__cplusplus) && !defined(CINTERFACE)
  1661. interface DECLSPEC_UUID("dc12a687-737f-11cf-884d-00aa004b2e24")
  1662. IWbemLocator : public IDispatch
  1663. {
  1664. public:
  1665. virtual HRESULT STDMETHODCALLTYPE ConnectServer(
  1666. /* [in] */ BSTR NetworkResource,
  1667. /* [in] */ BSTR User,
  1668. /* [in] */ BSTR Password,
  1669. /* [in] */ BSTR Locale,
  1670. /* [in] */ long lSecurityFlags,
  1671. /* [in] */ BSTR Authority,
  1672. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1673. /* [out] */ IWbemServices __RPC_FAR *__RPC_FAR *ppNamespace) = 0;
  1674. };
  1675. #else /* C style interface */
  1676. typedef struct IWbemLocatorVtbl
  1677. {
  1678. BEGIN_INTERFACE
  1679. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1680. IWbemLocator __RPC_FAR * This,
  1681. /* [in] */ REFIID riid,
  1682. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1683. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1684. IWbemLocator __RPC_FAR * This);
  1685. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1686. IWbemLocator __RPC_FAR * This);
  1687. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1688. IWbemLocator __RPC_FAR * This,
  1689. /* [out] */ UINT __RPC_FAR *pctinfo);
  1690. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1691. IWbemLocator __RPC_FAR * This,
  1692. /* [in] */ UINT iTInfo,
  1693. /* [in] */ LCID lcid,
  1694. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1695. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1696. IWbemLocator __RPC_FAR * This,
  1697. /* [in] */ REFIID riid,
  1698. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1699. /* [in] */ UINT cNames,
  1700. /* [in] */ LCID lcid,
  1701. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1702. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1703. IWbemLocator __RPC_FAR * This,
  1704. /* [in] */ DISPID dispIdMember,
  1705. /* [in] */ REFIID riid,
  1706. /* [in] */ LCID lcid,
  1707. /* [in] */ WORD wFlags,
  1708. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1709. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1710. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1711. /* [out] */ UINT __RPC_FAR *puArgErr);
  1712. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ConnectServer )(
  1713. IWbemLocator __RPC_FAR * This,
  1714. /* [in] */ BSTR NetworkResource,
  1715. /* [in] */ BSTR User,
  1716. /* [in] */ BSTR Password,
  1717. /* [in] */ BSTR Locale,
  1718. /* [in] */ long lSecurityFlags,
  1719. /* [in] */ BSTR Authority,
  1720. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1721. /* [out] */ IWbemServices __RPC_FAR *__RPC_FAR *ppNamespace);
  1722. END_INTERFACE
  1723. } IWbemLocatorVtbl;
  1724. interface IWbemLocator
  1725. {
  1726. CONST_VTBL struct IWbemLocatorVtbl __RPC_FAR *lpVtbl;
  1727. };
  1728. #ifdef COBJMACROS
  1729. #define IWbemLocator_QueryInterface(This,riid,ppvObject) \
  1730. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1731. #define IWbemLocator_AddRef(This) \
  1732. (This)->lpVtbl -> AddRef(This)
  1733. #define IWbemLocator_Release(This) \
  1734. (This)->lpVtbl -> Release(This)
  1735. #define IWbemLocator_GetTypeInfoCount(This,pctinfo) \
  1736. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1737. #define IWbemLocator_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1738. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1739. #define IWbemLocator_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1740. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1741. #define IWbemLocator_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1742. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1743. #define IWbemLocator_ConnectServer(This,NetworkResource,User,Password,Locale,lSecurityFlags,Authority,pCtx,ppNamespace) \
  1744. (This)->lpVtbl -> ConnectServer(This,NetworkResource,User,Password,Locale,lSecurityFlags,Authority,pCtx,ppNamespace)
  1745. #endif /* COBJMACROS */
  1746. #endif /* C style interface */
  1747. HRESULT STDMETHODCALLTYPE IWbemLocator_ConnectServer_Proxy(
  1748. IWbemLocator __RPC_FAR * This,
  1749. /* [in] */ BSTR NetworkResource,
  1750. /* [in] */ BSTR User,
  1751. /* [in] */ BSTR Password,
  1752. /* [in] */ BSTR Locale,
  1753. /* [in] */ long lSecurityFlags,
  1754. /* [in] */ BSTR Authority,
  1755. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  1756. /* [out] */ IWbemServices __RPC_FAR *__RPC_FAR *ppNamespace);
  1757. void __RPC_STUB IWbemLocator_ConnectServer_Stub(
  1758. IRpcStubBuffer *This,
  1759. IRpcChannelBuffer *_pRpcChannelBuffer,
  1760. PRPC_MESSAGE _pRpcMessage,
  1761. DWORD *_pdwStubPhase);
  1762. #endif /* __IWbemLocator_INTERFACE_DEFINED__ */
  1763. #ifndef __IWbemObjectSink_INTERFACE_DEFINED__
  1764. #define __IWbemObjectSink_INTERFACE_DEFINED__
  1765. /****************************************
  1766. * Generated header for interface: IWbemObjectSink
  1767. * at Tue Aug 19 16:16:10 1997
  1768. * using MIDL 3.01.75
  1769. ****************************************/
  1770. /* [dual][oleautomation][uuid][object] */
  1771. EXTERN_C const IID IID_IWbemObjectSink;
  1772. #if defined(__cplusplus) && !defined(CINTERFACE)
  1773. interface DECLSPEC_UUID("7c857801-7381-11cf-884d-00aa004b2e24")
  1774. IWbemObjectSink : public IDispatch
  1775. {
  1776. public:
  1777. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Indicate(
  1778. /* [in] */ long lObjectCount,
  1779. /* [size_is][in] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppObjArray) = 0;
  1780. virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetStatus(
  1781. /* [in] */ long lFlags,
  1782. /* [in] */ HRESULT hResult,
  1783. /* [in] */ BSTR strParam,
  1784. /* [in] */ IWbemClassObject __RPC_FAR *pObjParam) = 0;
  1785. };
  1786. #else /* C style interface */
  1787. typedef struct IWbemObjectSinkVtbl
  1788. {
  1789. BEGIN_INTERFACE
  1790. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1791. IWbemObjectSink __RPC_FAR * This,
  1792. /* [in] */ REFIID riid,
  1793. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1794. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1795. IWbemObjectSink __RPC_FAR * This);
  1796. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1797. IWbemObjectSink __RPC_FAR * This);
  1798. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1799. IWbemObjectSink __RPC_FAR * This,
  1800. /* [out] */ UINT __RPC_FAR *pctinfo);
  1801. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1802. IWbemObjectSink __RPC_FAR * This,
  1803. /* [in] */ UINT iTInfo,
  1804. /* [in] */ LCID lcid,
  1805. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1806. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1807. IWbemObjectSink __RPC_FAR * This,
  1808. /* [in] */ REFIID riid,
  1809. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1810. /* [in] */ UINT cNames,
  1811. /* [in] */ LCID lcid,
  1812. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1813. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1814. IWbemObjectSink __RPC_FAR * This,
  1815. /* [in] */ DISPID dispIdMember,
  1816. /* [in] */ REFIID riid,
  1817. /* [in] */ LCID lcid,
  1818. /* [in] */ WORD wFlags,
  1819. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1820. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1821. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1822. /* [out] */ UINT __RPC_FAR *puArgErr);
  1823. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Indicate )(
  1824. IWbemObjectSink __RPC_FAR * This,
  1825. /* [in] */ long lObjectCount,
  1826. /* [size_is][in] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppObjArray);
  1827. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetStatus )(
  1828. IWbemObjectSink __RPC_FAR * This,
  1829. /* [in] */ long lFlags,
  1830. /* [in] */ HRESULT hResult,
  1831. /* [in] */ BSTR strParam,
  1832. /* [in] */ IWbemClassObject __RPC_FAR *pObjParam);
  1833. END_INTERFACE
  1834. } IWbemObjectSinkVtbl;
  1835. interface IWbemObjectSink
  1836. {
  1837. CONST_VTBL struct IWbemObjectSinkVtbl __RPC_FAR *lpVtbl;
  1838. };
  1839. #ifdef COBJMACROS
  1840. #define IWbemObjectSink_QueryInterface(This,riid,ppvObject) \
  1841. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1842. #define IWbemObjectSink_AddRef(This) \
  1843. (This)->lpVtbl -> AddRef(This)
  1844. #define IWbemObjectSink_Release(This) \
  1845. (This)->lpVtbl -> Release(This)
  1846. #define IWbemObjectSink_GetTypeInfoCount(This,pctinfo) \
  1847. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1848. #define IWbemObjectSink_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1849. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1850. #define IWbemObjectSink_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1851. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1852. #define IWbemObjectSink_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1853. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1854. #define IWbemObjectSink_Indicate(This,lObjectCount,ppObjArray) \
  1855. (This)->lpVtbl -> Indicate(This,lObjectCount,ppObjArray)
  1856. #define IWbemObjectSink_SetStatus(This,lFlags,hResult,strParam,pObjParam) \
  1857. (This)->lpVtbl -> SetStatus(This,lFlags,hResult,strParam,pObjParam)
  1858. #endif /* COBJMACROS */
  1859. #endif /* C style interface */
  1860. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemObjectSink_Indicate_Proxy(
  1861. IWbemObjectSink __RPC_FAR * This,
  1862. /* [in] */ long lObjectCount,
  1863. /* [size_is][in] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppObjArray);
  1864. void __RPC_STUB IWbemObjectSink_Indicate_Stub(
  1865. IRpcStubBuffer *This,
  1866. IRpcChannelBuffer *_pRpcChannelBuffer,
  1867. PRPC_MESSAGE _pRpcMessage,
  1868. DWORD *_pdwStubPhase);
  1869. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemObjectSink_SetStatus_Proxy(
  1870. IWbemObjectSink __RPC_FAR * This,
  1871. /* [in] */ long lFlags,
  1872. /* [in] */ HRESULT hResult,
  1873. /* [in] */ BSTR strParam,
  1874. /* [in] */ IWbemClassObject __RPC_FAR *pObjParam);
  1875. void __RPC_STUB IWbemObjectSink_SetStatus_Stub(
  1876. IRpcStubBuffer *This,
  1877. IRpcChannelBuffer *_pRpcChannelBuffer,
  1878. PRPC_MESSAGE _pRpcMessage,
  1879. DWORD *_pdwStubPhase);
  1880. #endif /* __IWbemObjectSink_INTERFACE_DEFINED__ */
  1881. #ifndef __IEnumWbemClassObject_INTERFACE_DEFINED__
  1882. #define __IEnumWbemClassObject_INTERFACE_DEFINED__
  1883. /****************************************
  1884. * Generated header for interface: IEnumWbemClassObject
  1885. * at Tue Aug 19 16:16:10 1997
  1886. * using MIDL 3.01.75
  1887. ****************************************/
  1888. /* [dual][oleautomation][uuid][object] */
  1889. EXTERN_C const IID IID_IEnumWbemClassObject;
  1890. #if defined(__cplusplus) && !defined(CINTERFACE)
  1891. interface DECLSPEC_UUID("027947e1-d731-11ce-a357-000000000001")
  1892. IEnumWbemClassObject : public IDispatch
  1893. {
  1894. public:
  1895. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  1896. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Next(
  1897. /* [in] */ long lTimeout,
  1898. /* [in] */ unsigned long uCount,
  1899. /* [length_is][size_is][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppObjects,
  1900. /* [out] */ unsigned long __RPC_FAR *puReturned) = 0;
  1901. virtual /* [id] */ HRESULT STDMETHODCALLTYPE NextAsync(
  1902. /* [in] */ unsigned long uCount,
  1903. /* [in] */ IWbemObjectSink __RPC_FAR *pSink) = 0;
  1904. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Clone(
  1905. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  1906. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Skip(
  1907. /* [in] */ long lTimeout,
  1908. /* [in] */ unsigned long nCount) = 0;
  1909. };
  1910. #else /* C style interface */
  1911. typedef struct IEnumWbemClassObjectVtbl
  1912. {
  1913. BEGIN_INTERFACE
  1914. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1915. IEnumWbemClassObject __RPC_FAR * This,
  1916. /* [in] */ REFIID riid,
  1917. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1918. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1919. IEnumWbemClassObject __RPC_FAR * This);
  1920. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1921. IEnumWbemClassObject __RPC_FAR * This);
  1922. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1923. IEnumWbemClassObject __RPC_FAR * This,
  1924. /* [out] */ UINT __RPC_FAR *pctinfo);
  1925. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1926. IEnumWbemClassObject __RPC_FAR * This,
  1927. /* [in] */ UINT iTInfo,
  1928. /* [in] */ LCID lcid,
  1929. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1930. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1931. IEnumWbemClassObject __RPC_FAR * This,
  1932. /* [in] */ REFIID riid,
  1933. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1934. /* [in] */ UINT cNames,
  1935. /* [in] */ LCID lcid,
  1936. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1937. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1938. IEnumWbemClassObject __RPC_FAR * This,
  1939. /* [in] */ DISPID dispIdMember,
  1940. /* [in] */ REFIID riid,
  1941. /* [in] */ LCID lcid,
  1942. /* [in] */ WORD wFlags,
  1943. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1944. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1945. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1946. /* [out] */ UINT __RPC_FAR *puArgErr);
  1947. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Reset )(
  1948. IEnumWbemClassObject __RPC_FAR * This);
  1949. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Next )(
  1950. IEnumWbemClassObject __RPC_FAR * This,
  1951. /* [in] */ long lTimeout,
  1952. /* [in] */ unsigned long uCount,
  1953. /* [length_is][size_is][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppObjects,
  1954. /* [out] */ unsigned long __RPC_FAR *puReturned);
  1955. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *NextAsync )(
  1956. IEnumWbemClassObject __RPC_FAR * This,
  1957. /* [in] */ unsigned long uCount,
  1958. /* [in] */ IWbemObjectSink __RPC_FAR *pSink);
  1959. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Clone )(
  1960. IEnumWbemClassObject __RPC_FAR * This,
  1961. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum);
  1962. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Skip )(
  1963. IEnumWbemClassObject __RPC_FAR * This,
  1964. /* [in] */ long lTimeout,
  1965. /* [in] */ unsigned long nCount);
  1966. END_INTERFACE
  1967. } IEnumWbemClassObjectVtbl;
  1968. interface IEnumWbemClassObject
  1969. {
  1970. CONST_VTBL struct IEnumWbemClassObjectVtbl __RPC_FAR *lpVtbl;
  1971. };
  1972. #ifdef COBJMACROS
  1973. #define IEnumWbemClassObject_QueryInterface(This,riid,ppvObject) \
  1974. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1975. #define IEnumWbemClassObject_AddRef(This) \
  1976. (This)->lpVtbl -> AddRef(This)
  1977. #define IEnumWbemClassObject_Release(This) \
  1978. (This)->lpVtbl -> Release(This)
  1979. #define IEnumWbemClassObject_GetTypeInfoCount(This,pctinfo) \
  1980. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1981. #define IEnumWbemClassObject_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1982. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1983. #define IEnumWbemClassObject_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1984. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1985. #define IEnumWbemClassObject_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1986. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1987. #define IEnumWbemClassObject_Reset(This) \
  1988. (This)->lpVtbl -> Reset(This)
  1989. #define IEnumWbemClassObject_Next(This,lTimeout,uCount,ppObjects,puReturned) \
  1990. (This)->lpVtbl -> Next(This,lTimeout,uCount,ppObjects,puReturned)
  1991. #define IEnumWbemClassObject_NextAsync(This,uCount,pSink) \
  1992. (This)->lpVtbl -> NextAsync(This,uCount,pSink)
  1993. #define IEnumWbemClassObject_Clone(This,ppEnum) \
  1994. (This)->lpVtbl -> Clone(This,ppEnum)
  1995. #define IEnumWbemClassObject_Skip(This,lTimeout,nCount) \
  1996. (This)->lpVtbl -> Skip(This,lTimeout,nCount)
  1997. #endif /* COBJMACROS */
  1998. #endif /* C style interface */
  1999. /* [id] */ HRESULT STDMETHODCALLTYPE IEnumWbemClassObject_Reset_Proxy(
  2000. IEnumWbemClassObject __RPC_FAR * This);
  2001. void __RPC_STUB IEnumWbemClassObject_Reset_Stub(
  2002. IRpcStubBuffer *This,
  2003. IRpcChannelBuffer *_pRpcChannelBuffer,
  2004. PRPC_MESSAGE _pRpcMessage,
  2005. DWORD *_pdwStubPhase);
  2006. /* [id] */ HRESULT STDMETHODCALLTYPE IEnumWbemClassObject_Next_Proxy(
  2007. IEnumWbemClassObject __RPC_FAR * This,
  2008. /* [in] */ long lTimeout,
  2009. /* [in] */ unsigned long uCount,
  2010. /* [length_is][size_is][out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppObjects,
  2011. /* [out] */ unsigned long __RPC_FAR *puReturned);
  2012. void __RPC_STUB IEnumWbemClassObject_Next_Stub(
  2013. IRpcStubBuffer *This,
  2014. IRpcChannelBuffer *_pRpcChannelBuffer,
  2015. PRPC_MESSAGE _pRpcMessage,
  2016. DWORD *_pdwStubPhase);
  2017. /* [id] */ HRESULT STDMETHODCALLTYPE IEnumWbemClassObject_NextAsync_Proxy(
  2018. IEnumWbemClassObject __RPC_FAR * This,
  2019. /* [in] */ unsigned long uCount,
  2020. /* [in] */ IWbemObjectSink __RPC_FAR *pSink);
  2021. void __RPC_STUB IEnumWbemClassObject_NextAsync_Stub(
  2022. IRpcStubBuffer *This,
  2023. IRpcChannelBuffer *_pRpcChannelBuffer,
  2024. PRPC_MESSAGE _pRpcMessage,
  2025. DWORD *_pdwStubPhase);
  2026. /* [id] */ HRESULT STDMETHODCALLTYPE IEnumWbemClassObject_Clone_Proxy(
  2027. IEnumWbemClassObject __RPC_FAR * This,
  2028. /* [out] */ IEnumWbemClassObject __RPC_FAR *__RPC_FAR *ppEnum);
  2029. void __RPC_STUB IEnumWbemClassObject_Clone_Stub(
  2030. IRpcStubBuffer *This,
  2031. IRpcChannelBuffer *_pRpcChannelBuffer,
  2032. PRPC_MESSAGE _pRpcMessage,
  2033. DWORD *_pdwStubPhase);
  2034. /* [id] */ HRESULT STDMETHODCALLTYPE IEnumWbemClassObject_Skip_Proxy(
  2035. IEnumWbemClassObject __RPC_FAR * This,
  2036. /* [in] */ long lTimeout,
  2037. /* [in] */ unsigned long nCount);
  2038. void __RPC_STUB IEnumWbemClassObject_Skip_Stub(
  2039. IRpcStubBuffer *This,
  2040. IRpcChannelBuffer *_pRpcChannelBuffer,
  2041. PRPC_MESSAGE _pRpcMessage,
  2042. DWORD *_pdwStubPhase);
  2043. #endif /* __IEnumWbemClassObject_INTERFACE_DEFINED__ */
  2044. #ifndef __IWbemConfigure_INTERFACE_DEFINED__
  2045. #define __IWbemConfigure_INTERFACE_DEFINED__
  2046. /****************************************
  2047. * Generated header for interface: IWbemConfigure
  2048. * at Tue Aug 19 16:16:10 1997
  2049. * using MIDL 3.01.75
  2050. ****************************************/
  2051. /* [dual][oleautomation][uuid][object] */
  2052. EXTERN_C const IID IID_IWbemConfigure;
  2053. #if defined(__cplusplus) && !defined(CINTERFACE)
  2054. interface DECLSPEC_UUID("9a368276-26cf-11d0-ad3c-00c04fd8fdff")
  2055. IWbemConfigure : public IDispatch
  2056. {
  2057. public:
  2058. virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetConfigurationFlags(
  2059. /* [in] */ long lFlags) = 0;
  2060. };
  2061. #else /* C style interface */
  2062. typedef struct IWbemConfigureVtbl
  2063. {
  2064. BEGIN_INTERFACE
  2065. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2066. IWbemConfigure __RPC_FAR * This,
  2067. /* [in] */ REFIID riid,
  2068. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2069. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2070. IWbemConfigure __RPC_FAR * This);
  2071. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2072. IWbemConfigure __RPC_FAR * This);
  2073. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  2074. IWbemConfigure __RPC_FAR * This,
  2075. /* [out] */ UINT __RPC_FAR *pctinfo);
  2076. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  2077. IWbemConfigure __RPC_FAR * This,
  2078. /* [in] */ UINT iTInfo,
  2079. /* [in] */ LCID lcid,
  2080. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2081. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  2082. IWbemConfigure __RPC_FAR * This,
  2083. /* [in] */ REFIID riid,
  2084. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2085. /* [in] */ UINT cNames,
  2086. /* [in] */ LCID lcid,
  2087. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2088. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  2089. IWbemConfigure __RPC_FAR * This,
  2090. /* [in] */ DISPID dispIdMember,
  2091. /* [in] */ REFIID riid,
  2092. /* [in] */ LCID lcid,
  2093. /* [in] */ WORD wFlags,
  2094. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2095. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2096. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2097. /* [out] */ UINT __RPC_FAR *puArgErr);
  2098. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetConfigurationFlags )(
  2099. IWbemConfigure __RPC_FAR * This,
  2100. /* [in] */ long lFlags);
  2101. END_INTERFACE
  2102. } IWbemConfigureVtbl;
  2103. interface IWbemConfigure
  2104. {
  2105. CONST_VTBL struct IWbemConfigureVtbl __RPC_FAR *lpVtbl;
  2106. };
  2107. #ifdef COBJMACROS
  2108. #define IWbemConfigure_QueryInterface(This,riid,ppvObject) \
  2109. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2110. #define IWbemConfigure_AddRef(This) \
  2111. (This)->lpVtbl -> AddRef(This)
  2112. #define IWbemConfigure_Release(This) \
  2113. (This)->lpVtbl -> Release(This)
  2114. #define IWbemConfigure_GetTypeInfoCount(This,pctinfo) \
  2115. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2116. #define IWbemConfigure_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2117. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2118. #define IWbemConfigure_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2119. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2120. #define IWbemConfigure_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2121. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2122. #define IWbemConfigure_SetConfigurationFlags(This,lFlags) \
  2123. (This)->lpVtbl -> SetConfigurationFlags(This,lFlags)
  2124. #endif /* COBJMACROS */
  2125. #endif /* C style interface */
  2126. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemConfigure_SetConfigurationFlags_Proxy(
  2127. IWbemConfigure __RPC_FAR * This,
  2128. /* [in] */ long lFlags);
  2129. void __RPC_STUB IWbemConfigure_SetConfigurationFlags_Stub(
  2130. IRpcStubBuffer *This,
  2131. IRpcChannelBuffer *_pRpcChannelBuffer,
  2132. PRPC_MESSAGE _pRpcMessage,
  2133. DWORD *_pdwStubPhase);
  2134. #endif /* __IWbemConfigure_INTERFACE_DEFINED__ */
  2135. #ifndef __IWbemPropertyProvider_INTERFACE_DEFINED__
  2136. #define __IWbemPropertyProvider_INTERFACE_DEFINED__
  2137. /****************************************
  2138. * Generated header for interface: IWbemPropertyProvider
  2139. * at Tue Aug 19 16:16:10 1997
  2140. * using MIDL 3.01.75
  2141. ****************************************/
  2142. /* [uuid][local][object] */
  2143. EXTERN_C const IID IID_IWbemPropertyProvider;
  2144. #if defined(__cplusplus) && !defined(CINTERFACE)
  2145. interface DECLSPEC_UUID("CE61E841-65BC-11d0-B6BD-00AA003240C7")
  2146. IWbemPropertyProvider : public IUnknown
  2147. {
  2148. public:
  2149. virtual HRESULT STDMETHODCALLTYPE GetProperty(
  2150. /* [in] */ long lFlags,
  2151. /* [in] */ BSTR Locale,
  2152. /* [in] */ BSTR ClassMapping,
  2153. /* [in] */ BSTR InstMapping,
  2154. /* [in] */ BSTR PropMapping,
  2155. /* [out] */ VARIANT __RPC_FAR *pvValue) = 0;
  2156. virtual HRESULT STDMETHODCALLTYPE PutProperty(
  2157. /* [in] */ long lFlags,
  2158. /* [in] */ BSTR Locale,
  2159. /* [in] */ BSTR ClassMapping,
  2160. /* [in] */ BSTR InstMapping,
  2161. /* [in] */ BSTR PropMapping,
  2162. /* [in] */ VARIANT __RPC_FAR *pvValue) = 0;
  2163. };
  2164. #else /* C style interface */
  2165. typedef struct IWbemPropertyProviderVtbl
  2166. {
  2167. BEGIN_INTERFACE
  2168. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2169. IWbemPropertyProvider __RPC_FAR * This,
  2170. /* [in] */ REFIID riid,
  2171. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2172. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2173. IWbemPropertyProvider __RPC_FAR * This);
  2174. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2175. IWbemPropertyProvider __RPC_FAR * This);
  2176. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetProperty )(
  2177. IWbemPropertyProvider __RPC_FAR * This,
  2178. /* [in] */ long lFlags,
  2179. /* [in] */ BSTR Locale,
  2180. /* [in] */ BSTR ClassMapping,
  2181. /* [in] */ BSTR InstMapping,
  2182. /* [in] */ BSTR PropMapping,
  2183. /* [out] */ VARIANT __RPC_FAR *pvValue);
  2184. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PutProperty )(
  2185. IWbemPropertyProvider __RPC_FAR * This,
  2186. /* [in] */ long lFlags,
  2187. /* [in] */ BSTR Locale,
  2188. /* [in] */ BSTR ClassMapping,
  2189. /* [in] */ BSTR InstMapping,
  2190. /* [in] */ BSTR PropMapping,
  2191. /* [in] */ VARIANT __RPC_FAR *pvValue);
  2192. END_INTERFACE
  2193. } IWbemPropertyProviderVtbl;
  2194. interface IWbemPropertyProvider
  2195. {
  2196. CONST_VTBL struct IWbemPropertyProviderVtbl __RPC_FAR *lpVtbl;
  2197. };
  2198. #ifdef COBJMACROS
  2199. #define IWbemPropertyProvider_QueryInterface(This,riid,ppvObject) \
  2200. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2201. #define IWbemPropertyProvider_AddRef(This) \
  2202. (This)->lpVtbl -> AddRef(This)
  2203. #define IWbemPropertyProvider_Release(This) \
  2204. (This)->lpVtbl -> Release(This)
  2205. #define IWbemPropertyProvider_GetProperty(This,lFlags,Locale,ClassMapping,InstMapping,PropMapping,pvValue) \
  2206. (This)->lpVtbl -> GetProperty(This,lFlags,Locale,ClassMapping,InstMapping,PropMapping,pvValue)
  2207. #define IWbemPropertyProvider_PutProperty(This,lFlags,Locale,ClassMapping,InstMapping,PropMapping,pvValue) \
  2208. (This)->lpVtbl -> PutProperty(This,lFlags,Locale,ClassMapping,InstMapping,PropMapping,pvValue)
  2209. #endif /* COBJMACROS */
  2210. #endif /* C style interface */
  2211. HRESULT STDMETHODCALLTYPE IWbemPropertyProvider_GetProperty_Proxy(
  2212. IWbemPropertyProvider __RPC_FAR * This,
  2213. /* [in] */ long lFlags,
  2214. /* [in] */ BSTR Locale,
  2215. /* [in] */ BSTR ClassMapping,
  2216. /* [in] */ BSTR InstMapping,
  2217. /* [in] */ BSTR PropMapping,
  2218. /* [out] */ VARIANT __RPC_FAR *pvValue);
  2219. void __RPC_STUB IWbemPropertyProvider_GetProperty_Stub(
  2220. IRpcStubBuffer *This,
  2221. IRpcChannelBuffer *_pRpcChannelBuffer,
  2222. PRPC_MESSAGE _pRpcMessage,
  2223. DWORD *_pdwStubPhase);
  2224. HRESULT STDMETHODCALLTYPE IWbemPropertyProvider_PutProperty_Proxy(
  2225. IWbemPropertyProvider __RPC_FAR * This,
  2226. /* [in] */ long lFlags,
  2227. /* [in] */ BSTR Locale,
  2228. /* [in] */ BSTR ClassMapping,
  2229. /* [in] */ BSTR InstMapping,
  2230. /* [in] */ BSTR PropMapping,
  2231. /* [in] */ VARIANT __RPC_FAR *pvValue);
  2232. void __RPC_STUB IWbemPropertyProvider_PutProperty_Stub(
  2233. IRpcStubBuffer *This,
  2234. IRpcChannelBuffer *_pRpcChannelBuffer,
  2235. PRPC_MESSAGE _pRpcMessage,
  2236. DWORD *_pdwStubPhase);
  2237. #endif /* __IWbemPropertyProvider_INTERFACE_DEFINED__ */
  2238. #ifndef __IWbemTransport_INTERFACE_DEFINED__
  2239. #define __IWbemTransport_INTERFACE_DEFINED__
  2240. /****************************************
  2241. * Generated header for interface: IWbemTransport
  2242. * at Tue Aug 19 16:16:10 1997
  2243. * using MIDL 3.01.75
  2244. ****************************************/
  2245. /* [uuid][object][local][restricted] */
  2246. EXTERN_C const IID IID_IWbemTransport;
  2247. #if defined(__cplusplus) && !defined(CINTERFACE)
  2248. interface DECLSPEC_UUID("553fe584-2156-11d0-b6ae-00aa003240c7")
  2249. IWbemTransport : public IUnknown
  2250. {
  2251. public:
  2252. virtual HRESULT STDMETHODCALLTYPE Initialize(
  2253. /* [in] */ IWbemLocator __RPC_FAR *pInProcLocator) = 0;
  2254. };
  2255. #else /* C style interface */
  2256. typedef struct IWbemTransportVtbl
  2257. {
  2258. BEGIN_INTERFACE
  2259. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2260. IWbemTransport __RPC_FAR * This,
  2261. /* [in] */ REFIID riid,
  2262. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2263. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2264. IWbemTransport __RPC_FAR * This);
  2265. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2266. IWbemTransport __RPC_FAR * This);
  2267. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Initialize )(
  2268. IWbemTransport __RPC_FAR * This,
  2269. /* [in] */ IWbemLocator __RPC_FAR *pInProcLocator);
  2270. END_INTERFACE
  2271. } IWbemTransportVtbl;
  2272. interface IWbemTransport
  2273. {
  2274. CONST_VTBL struct IWbemTransportVtbl __RPC_FAR *lpVtbl;
  2275. };
  2276. #ifdef COBJMACROS
  2277. #define IWbemTransport_QueryInterface(This,riid,ppvObject) \
  2278. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2279. #define IWbemTransport_AddRef(This) \
  2280. (This)->lpVtbl -> AddRef(This)
  2281. #define IWbemTransport_Release(This) \
  2282. (This)->lpVtbl -> Release(This)
  2283. #define IWbemTransport_Initialize(This,pInProcLocator) \
  2284. (This)->lpVtbl -> Initialize(This,pInProcLocator)
  2285. #endif /* COBJMACROS */
  2286. #endif /* C style interface */
  2287. HRESULT STDMETHODCALLTYPE IWbemTransport_Initialize_Proxy(
  2288. IWbemTransport __RPC_FAR * This,
  2289. /* [in] */ IWbemLocator __RPC_FAR *pInProcLocator);
  2290. void __RPC_STUB IWbemTransport_Initialize_Stub(
  2291. IRpcStubBuffer *This,
  2292. IRpcChannelBuffer *_pRpcChannelBuffer,
  2293. PRPC_MESSAGE _pRpcMessage,
  2294. DWORD *_pdwStubPhase);
  2295. #endif /* __IWbemTransport_INTERFACE_DEFINED__ */
  2296. #ifndef __IWbemSecurityHelp_INTERFACE_DEFINED__
  2297. #define __IWbemSecurityHelp_INTERFACE_DEFINED__
  2298. /****************************************
  2299. * Generated header for interface: IWbemSecurityHelp
  2300. * at Tue Aug 19 16:16:10 1997
  2301. * using MIDL 3.01.75
  2302. ****************************************/
  2303. /* [unique][restricted][uuid][object][local] */
  2304. EXTERN_C const IID IID_IWbemSecurityHelp;
  2305. #if defined(__cplusplus) && !defined(CINTERFACE)
  2306. interface DECLSPEC_UUID("32e0ef00-c578-11d0-b6ca-00aa003240c7")
  2307. IWbemSecurityHelp : public IUnknown
  2308. {
  2309. public:
  2310. virtual HRESULT STDMETHODCALLTYPE ComputeMD5(
  2311. /* [in] */ BYTE __RPC_FAR *pBlob,
  2312. /* [in] */ long lBlobLength,
  2313. /* [out] */ BYTE __RPC_FAR *__RPC_FAR *pMD5) = 0;
  2314. virtual HRESULT STDMETHODCALLTYPE ComputeWBEMAccessToken(
  2315. /* [in] */ BYTE __RPC_FAR *pNonce,
  2316. /* [in] */ LPWSTR pCleartextPassword,
  2317. /* [out] */ BYTE __RPC_FAR *__RPC_FAR *pAccessToken) = 0;
  2318. };
  2319. #else /* C style interface */
  2320. typedef struct IWbemSecurityHelpVtbl
  2321. {
  2322. BEGIN_INTERFACE
  2323. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2324. IWbemSecurityHelp __RPC_FAR * This,
  2325. /* [in] */ REFIID riid,
  2326. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2327. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2328. IWbemSecurityHelp __RPC_FAR * This);
  2329. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2330. IWbemSecurityHelp __RPC_FAR * This);
  2331. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ComputeMD5 )(
  2332. IWbemSecurityHelp __RPC_FAR * This,
  2333. /* [in] */ BYTE __RPC_FAR *pBlob,
  2334. /* [in] */ long lBlobLength,
  2335. /* [out] */ BYTE __RPC_FAR *__RPC_FAR *pMD5);
  2336. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ComputeWBEMAccessToken )(
  2337. IWbemSecurityHelp __RPC_FAR * This,
  2338. /* [in] */ BYTE __RPC_FAR *pNonce,
  2339. /* [in] */ LPWSTR pCleartextPassword,
  2340. /* [out] */ BYTE __RPC_FAR *__RPC_FAR *pAccessToken);
  2341. END_INTERFACE
  2342. } IWbemSecurityHelpVtbl;
  2343. interface IWbemSecurityHelp
  2344. {
  2345. CONST_VTBL struct IWbemSecurityHelpVtbl __RPC_FAR *lpVtbl;
  2346. };
  2347. #ifdef COBJMACROS
  2348. #define IWbemSecurityHelp_QueryInterface(This,riid,ppvObject) \
  2349. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2350. #define IWbemSecurityHelp_AddRef(This) \
  2351. (This)->lpVtbl -> AddRef(This)
  2352. #define IWbemSecurityHelp_Release(This) \
  2353. (This)->lpVtbl -> Release(This)
  2354. #define IWbemSecurityHelp_ComputeMD5(This,pBlob,lBlobLength,pMD5) \
  2355. (This)->lpVtbl -> ComputeMD5(This,pBlob,lBlobLength,pMD5)
  2356. #define IWbemSecurityHelp_ComputeWBEMAccessToken(This,pNonce,pCleartextPassword,pAccessToken) \
  2357. (This)->lpVtbl -> ComputeWBEMAccessToken(This,pNonce,pCleartextPassword,pAccessToken)
  2358. #endif /* COBJMACROS */
  2359. #endif /* C style interface */
  2360. HRESULT STDMETHODCALLTYPE IWbemSecurityHelp_ComputeMD5_Proxy(
  2361. IWbemSecurityHelp __RPC_FAR * This,
  2362. /* [in] */ BYTE __RPC_FAR *pBlob,
  2363. /* [in] */ long lBlobLength,
  2364. /* [out] */ BYTE __RPC_FAR *__RPC_FAR *pMD5);
  2365. void __RPC_STUB IWbemSecurityHelp_ComputeMD5_Stub(
  2366. IRpcStubBuffer *This,
  2367. IRpcChannelBuffer *_pRpcChannelBuffer,
  2368. PRPC_MESSAGE _pRpcMessage,
  2369. DWORD *_pdwStubPhase);
  2370. HRESULT STDMETHODCALLTYPE IWbemSecurityHelp_ComputeWBEMAccessToken_Proxy(
  2371. IWbemSecurityHelp __RPC_FAR * This,
  2372. /* [in] */ BYTE __RPC_FAR *pNonce,
  2373. /* [in] */ LPWSTR pCleartextPassword,
  2374. /* [out] */ BYTE __RPC_FAR *__RPC_FAR *pAccessToken);
  2375. void __RPC_STUB IWbemSecurityHelp_ComputeWBEMAccessToken_Stub(
  2376. IRpcStubBuffer *This,
  2377. IRpcChannelBuffer *_pRpcChannelBuffer,
  2378. PRPC_MESSAGE _pRpcMessage,
  2379. DWORD *_pdwStubPhase);
  2380. #endif /* __IWbemSecurityHelp_INTERFACE_DEFINED__ */
  2381. #ifndef __IWbemLevel1Login_INTERFACE_DEFINED__
  2382. #define __IWbemLevel1Login_INTERFACE_DEFINED__
  2383. /****************************************
  2384. * Generated header for interface: IWbemLevel1Login
  2385. * at Tue Aug 19 16:16:10 1997
  2386. * using MIDL 3.01.75
  2387. ****************************************/
  2388. /* [unique][uuid][restricted][object] */
  2389. EXTERN_C const IID IID_IWbemLevel1Login;
  2390. #if defined(__cplusplus) && !defined(CINTERFACE)
  2391. interface DECLSPEC_UUID("F309AD18-D86A-11d0-A075-00C04FB68820")
  2392. IWbemLevel1Login : public IUnknown
  2393. {
  2394. public:
  2395. virtual HRESULT STDMETHODCALLTYPE RequestChallenge(
  2396. /* [string][unique][in] */ LPWSTR pNetworkResource,
  2397. /* [string][unique][in] */ LPWSTR pUser,
  2398. /* [out] */ WBEM_128BITS Nonce,
  2399. /* [in] */ DWORD dwProcessId,
  2400. /* [unique][in][out] */ DWORD __RPC_FAR *pAuthEventHandle) = 0;
  2401. virtual HRESULT STDMETHODCALLTYPE SspiPreLogin(
  2402. /* [string][unique][in] */ LPWSTR pNetworkResource,
  2403. /* [string][unique][in] */ LPSTR pszSSPIPkg,
  2404. /* [in] */ long lFlags,
  2405. /* [in] */ long lBufSize,
  2406. /* [size_is][in] */ byte __RPC_FAR *pInToken,
  2407. /* [in] */ long lOutBufSize,
  2408. /* [out] */ long __RPC_FAR *plOutBufBytes,
  2409. /* [size_is][out][in] */ byte __RPC_FAR *pOutToken,
  2410. /* [in] */ DWORD dwProcessId,
  2411. /* [unique][in][out] */ DWORD __RPC_FAR *pAuthEventHandle) = 0;
  2412. virtual HRESULT STDMETHODCALLTYPE Login(
  2413. /* [string][unique][in] */ LPWSTR pNetworkResource,
  2414. /* [string][unique][in] */ LPWSTR pTokenType,
  2415. /* [string][unique][in] */ LPWSTR pPreferredLocale,
  2416. /* [unique][in] */ WBEM_128BITS AccessToken,
  2417. /* [in] */ long lFlags,
  2418. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  2419. /* [out] */ IWbemServices __RPC_FAR *__RPC_FAR *ppNamespace) = 0;
  2420. };
  2421. #else /* C style interface */
  2422. typedef struct IWbemLevel1LoginVtbl
  2423. {
  2424. BEGIN_INTERFACE
  2425. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2426. IWbemLevel1Login __RPC_FAR * This,
  2427. /* [in] */ REFIID riid,
  2428. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2429. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2430. IWbemLevel1Login __RPC_FAR * This);
  2431. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2432. IWbemLevel1Login __RPC_FAR * This);
  2433. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestChallenge )(
  2434. IWbemLevel1Login __RPC_FAR * This,
  2435. /* [string][unique][in] */ LPWSTR pNetworkResource,
  2436. /* [string][unique][in] */ LPWSTR pUser,
  2437. /* [out] */ WBEM_128BITS Nonce,
  2438. /* [in] */ DWORD dwProcessId,
  2439. /* [unique][in][out] */ DWORD __RPC_FAR *pAuthEventHandle);
  2440. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SspiPreLogin )(
  2441. IWbemLevel1Login __RPC_FAR * This,
  2442. /* [string][unique][in] */ LPWSTR pNetworkResource,
  2443. /* [string][unique][in] */ LPSTR pszSSPIPkg,
  2444. /* [in] */ long lFlags,
  2445. /* [in] */ long lBufSize,
  2446. /* [size_is][in] */ byte __RPC_FAR *pInToken,
  2447. /* [in] */ long lOutBufSize,
  2448. /* [out] */ long __RPC_FAR *plOutBufBytes,
  2449. /* [size_is][out][in] */ byte __RPC_FAR *pOutToken,
  2450. /* [in] */ DWORD dwProcessId,
  2451. /* [unique][in][out] */ DWORD __RPC_FAR *pAuthEventHandle);
  2452. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Login )(
  2453. IWbemLevel1Login __RPC_FAR * This,
  2454. /* [string][unique][in] */ LPWSTR pNetworkResource,
  2455. /* [string][unique][in] */ LPWSTR pTokenType,
  2456. /* [string][unique][in] */ LPWSTR pPreferredLocale,
  2457. /* [unique][in] */ WBEM_128BITS AccessToken,
  2458. /* [in] */ long lFlags,
  2459. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  2460. /* [out] */ IWbemServices __RPC_FAR *__RPC_FAR *ppNamespace);
  2461. END_INTERFACE
  2462. } IWbemLevel1LoginVtbl;
  2463. interface IWbemLevel1Login
  2464. {
  2465. CONST_VTBL struct IWbemLevel1LoginVtbl __RPC_FAR *lpVtbl;
  2466. };
  2467. #ifdef COBJMACROS
  2468. #define IWbemLevel1Login_QueryInterface(This,riid,ppvObject) \
  2469. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2470. #define IWbemLevel1Login_AddRef(This) \
  2471. (This)->lpVtbl -> AddRef(This)
  2472. #define IWbemLevel1Login_Release(This) \
  2473. (This)->lpVtbl -> Release(This)
  2474. #define IWbemLevel1Login_RequestChallenge(This,pNetworkResource,pUser,Nonce,dwProcessId,pAuthEventHandle) \
  2475. (This)->lpVtbl -> RequestChallenge(This,pNetworkResource,pUser,Nonce,dwProcessId,pAuthEventHandle)
  2476. #define IWbemLevel1Login_SspiPreLogin(This,pNetworkResource,pszSSPIPkg,lFlags,lBufSize,pInToken,lOutBufSize,plOutBufBytes,pOutToken,dwProcessId,pAuthEventHandle) \
  2477. (This)->lpVtbl -> SspiPreLogin(This,pNetworkResource,pszSSPIPkg,lFlags,lBufSize,pInToken,lOutBufSize,plOutBufBytes,pOutToken,dwProcessId,pAuthEventHandle)
  2478. #define IWbemLevel1Login_Login(This,pNetworkResource,pTokenType,pPreferredLocale,AccessToken,lFlags,pCtx,ppNamespace) \
  2479. (This)->lpVtbl -> Login(This,pNetworkResource,pTokenType,pPreferredLocale,AccessToken,lFlags,pCtx,ppNamespace)
  2480. #endif /* COBJMACROS */
  2481. #endif /* C style interface */
  2482. HRESULT STDMETHODCALLTYPE IWbemLevel1Login_RequestChallenge_Proxy(
  2483. IWbemLevel1Login __RPC_FAR * This,
  2484. /* [string][unique][in] */ LPWSTR pNetworkResource,
  2485. /* [string][unique][in] */ LPWSTR pUser,
  2486. /* [out] */ WBEM_128BITS Nonce,
  2487. /* [in] */ DWORD dwProcessId,
  2488. /* [unique][in][out] */ DWORD __RPC_FAR *pAuthEventHandle);
  2489. void __RPC_STUB IWbemLevel1Login_RequestChallenge_Stub(
  2490. IRpcStubBuffer *This,
  2491. IRpcChannelBuffer *_pRpcChannelBuffer,
  2492. PRPC_MESSAGE _pRpcMessage,
  2493. DWORD *_pdwStubPhase);
  2494. HRESULT STDMETHODCALLTYPE IWbemLevel1Login_SspiPreLogin_Proxy(
  2495. IWbemLevel1Login __RPC_FAR * This,
  2496. /* [string][unique][in] */ LPWSTR pNetworkResource,
  2497. /* [string][unique][in] */ LPSTR pszSSPIPkg,
  2498. /* [in] */ long lFlags,
  2499. /* [in] */ long lBufSize,
  2500. /* [size_is][in] */ byte __RPC_FAR *pInToken,
  2501. /* [in] */ long lOutBufSize,
  2502. /* [out] */ long __RPC_FAR *plOutBufBytes,
  2503. /* [size_is][out][in] */ byte __RPC_FAR *pOutToken,
  2504. /* [in] */ DWORD dwProcessId,
  2505. /* [unique][in][out] */ DWORD __RPC_FAR *pAuthEventHandle);
  2506. void __RPC_STUB IWbemLevel1Login_SspiPreLogin_Stub(
  2507. IRpcStubBuffer *This,
  2508. IRpcChannelBuffer *_pRpcChannelBuffer,
  2509. PRPC_MESSAGE _pRpcMessage,
  2510. DWORD *_pdwStubPhase);
  2511. HRESULT STDMETHODCALLTYPE IWbemLevel1Login_Login_Proxy(
  2512. IWbemLevel1Login __RPC_FAR * This,
  2513. /* [string][unique][in] */ LPWSTR pNetworkResource,
  2514. /* [string][unique][in] */ LPWSTR pTokenType,
  2515. /* [string][unique][in] */ LPWSTR pPreferredLocale,
  2516. /* [unique][in] */ WBEM_128BITS AccessToken,
  2517. /* [in] */ long lFlags,
  2518. /* [in] */ IWbemContext __RPC_FAR *pCtx,
  2519. /* [out] */ IWbemServices __RPC_FAR *__RPC_FAR *ppNamespace);
  2520. void __RPC_STUB IWbemLevel1Login_Login_Stub(
  2521. IRpcStubBuffer *This,
  2522. IRpcChannelBuffer *_pRpcChannelBuffer,
  2523. PRPC_MESSAGE _pRpcMessage,
  2524. DWORD *_pdwStubPhase);
  2525. #endif /* __IWbemLevel1Login_INTERFACE_DEFINED__ */
  2526. #ifndef __IWbemCallResult_INTERFACE_DEFINED__
  2527. #define __IWbemCallResult_INTERFACE_DEFINED__
  2528. /****************************************
  2529. * Generated header for interface: IWbemCallResult
  2530. * at Tue Aug 19 16:16:10 1997
  2531. * using MIDL 3.01.75
  2532. ****************************************/
  2533. /* [dual][oleautomation][uuid][object] */
  2534. EXTERN_C const IID IID_IWbemCallResult;
  2535. #if defined(__cplusplus) && !defined(CINTERFACE)
  2536. interface DECLSPEC_UUID("44aca675-e8fc-11d0-a07c-00c04fb68820")
  2537. IWbemCallResult : public IDispatch
  2538. {
  2539. public:
  2540. virtual HRESULT STDMETHODCALLTYPE GetResultObject(
  2541. /* [in] */ long lTimeout,
  2542. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppResultObject) = 0;
  2543. virtual HRESULT STDMETHODCALLTYPE GetResultString(
  2544. /* [in] */ long lTimeout,
  2545. /* [out] */ BSTR __RPC_FAR *pstrResultString) = 0;
  2546. virtual HRESULT STDMETHODCALLTYPE GetResultServices(
  2547. /* [in] */ long lTimeout,
  2548. /* [out] */ IWbemServices __RPC_FAR *__RPC_FAR *ppServices) = 0;
  2549. virtual HRESULT STDMETHODCALLTYPE GetCallStatus(
  2550. /* [in] */ long lTimeout,
  2551. /* [out] */ long __RPC_FAR *plStatus) = 0;
  2552. };
  2553. #else /* C style interface */
  2554. typedef struct IWbemCallResultVtbl
  2555. {
  2556. BEGIN_INTERFACE
  2557. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2558. IWbemCallResult __RPC_FAR * This,
  2559. /* [in] */ REFIID riid,
  2560. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2561. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2562. IWbemCallResult __RPC_FAR * This);
  2563. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2564. IWbemCallResult __RPC_FAR * This);
  2565. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  2566. IWbemCallResult __RPC_FAR * This,
  2567. /* [out] */ UINT __RPC_FAR *pctinfo);
  2568. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  2569. IWbemCallResult __RPC_FAR * This,
  2570. /* [in] */ UINT iTInfo,
  2571. /* [in] */ LCID lcid,
  2572. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2573. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  2574. IWbemCallResult __RPC_FAR * This,
  2575. /* [in] */ REFIID riid,
  2576. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2577. /* [in] */ UINT cNames,
  2578. /* [in] */ LCID lcid,
  2579. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2580. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  2581. IWbemCallResult __RPC_FAR * This,
  2582. /* [in] */ DISPID dispIdMember,
  2583. /* [in] */ REFIID riid,
  2584. /* [in] */ LCID lcid,
  2585. /* [in] */ WORD wFlags,
  2586. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2587. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2588. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2589. /* [out] */ UINT __RPC_FAR *puArgErr);
  2590. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetResultObject )(
  2591. IWbemCallResult __RPC_FAR * This,
  2592. /* [in] */ long lTimeout,
  2593. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppResultObject);
  2594. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetResultString )(
  2595. IWbemCallResult __RPC_FAR * This,
  2596. /* [in] */ long lTimeout,
  2597. /* [out] */ BSTR __RPC_FAR *pstrResultString);
  2598. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetResultServices )(
  2599. IWbemCallResult __RPC_FAR * This,
  2600. /* [in] */ long lTimeout,
  2601. /* [out] */ IWbemServices __RPC_FAR *__RPC_FAR *ppServices);
  2602. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCallStatus )(
  2603. IWbemCallResult __RPC_FAR * This,
  2604. /* [in] */ long lTimeout,
  2605. /* [out] */ long __RPC_FAR *plStatus);
  2606. END_INTERFACE
  2607. } IWbemCallResultVtbl;
  2608. interface IWbemCallResult
  2609. {
  2610. CONST_VTBL struct IWbemCallResultVtbl __RPC_FAR *lpVtbl;
  2611. };
  2612. #ifdef COBJMACROS
  2613. #define IWbemCallResult_QueryInterface(This,riid,ppvObject) \
  2614. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2615. #define IWbemCallResult_AddRef(This) \
  2616. (This)->lpVtbl -> AddRef(This)
  2617. #define IWbemCallResult_Release(This) \
  2618. (This)->lpVtbl -> Release(This)
  2619. #define IWbemCallResult_GetTypeInfoCount(This,pctinfo) \
  2620. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2621. #define IWbemCallResult_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2622. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2623. #define IWbemCallResult_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2624. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2625. #define IWbemCallResult_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2626. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2627. #define IWbemCallResult_GetResultObject(This,lTimeout,ppResultObject) \
  2628. (This)->lpVtbl -> GetResultObject(This,lTimeout,ppResultObject)
  2629. #define IWbemCallResult_GetResultString(This,lTimeout,pstrResultString) \
  2630. (This)->lpVtbl -> GetResultString(This,lTimeout,pstrResultString)
  2631. #define IWbemCallResult_GetResultServices(This,lTimeout,ppServices) \
  2632. (This)->lpVtbl -> GetResultServices(This,lTimeout,ppServices)
  2633. #define IWbemCallResult_GetCallStatus(This,lTimeout,plStatus) \
  2634. (This)->lpVtbl -> GetCallStatus(This,lTimeout,plStatus)
  2635. #endif /* COBJMACROS */
  2636. #endif /* C style interface */
  2637. HRESULT STDMETHODCALLTYPE IWbemCallResult_GetResultObject_Proxy(
  2638. IWbemCallResult __RPC_FAR * This,
  2639. /* [in] */ long lTimeout,
  2640. /* [out] */ IWbemClassObject __RPC_FAR *__RPC_FAR *ppResultObject);
  2641. void __RPC_STUB IWbemCallResult_GetResultObject_Stub(
  2642. IRpcStubBuffer *This,
  2643. IRpcChannelBuffer *_pRpcChannelBuffer,
  2644. PRPC_MESSAGE _pRpcMessage,
  2645. DWORD *_pdwStubPhase);
  2646. HRESULT STDMETHODCALLTYPE IWbemCallResult_GetResultString_Proxy(
  2647. IWbemCallResult __RPC_FAR * This,
  2648. /* [in] */ long lTimeout,
  2649. /* [out] */ BSTR __RPC_FAR *pstrResultString);
  2650. void __RPC_STUB IWbemCallResult_GetResultString_Stub(
  2651. IRpcStubBuffer *This,
  2652. IRpcChannelBuffer *_pRpcChannelBuffer,
  2653. PRPC_MESSAGE _pRpcMessage,
  2654. DWORD *_pdwStubPhase);
  2655. HRESULT STDMETHODCALLTYPE IWbemCallResult_GetResultServices_Proxy(
  2656. IWbemCallResult __RPC_FAR * This,
  2657. /* [in] */ long lTimeout,
  2658. /* [out] */ IWbemServices __RPC_FAR *__RPC_FAR *ppServices);
  2659. void __RPC_STUB IWbemCallResult_GetResultServices_Stub(
  2660. IRpcStubBuffer *This,
  2661. IRpcChannelBuffer *_pRpcChannelBuffer,
  2662. PRPC_MESSAGE _pRpcMessage,
  2663. DWORD *_pdwStubPhase);
  2664. HRESULT STDMETHODCALLTYPE IWbemCallResult_GetCallStatus_Proxy(
  2665. IWbemCallResult __RPC_FAR * This,
  2666. /* [in] */ long lTimeout,
  2667. /* [out] */ long __RPC_FAR *plStatus);
  2668. void __RPC_STUB IWbemCallResult_GetCallStatus_Stub(
  2669. IRpcStubBuffer *This,
  2670. IRpcChannelBuffer *_pRpcChannelBuffer,
  2671. PRPC_MESSAGE _pRpcMessage,
  2672. DWORD *_pdwStubPhase);
  2673. #endif /* __IWbemCallResult_INTERFACE_DEFINED__ */
  2674. #ifndef __IWbemContext_INTERFACE_DEFINED__
  2675. #define __IWbemContext_INTERFACE_DEFINED__
  2676. /****************************************
  2677. * Generated header for interface: IWbemContext
  2678. * at Tue Aug 19 16:16:10 1997
  2679. * using MIDL 3.01.75
  2680. ****************************************/
  2681. /* [dual][oleautomation][uuid][local][object] */
  2682. EXTERN_C const IID IID_IWbemContext;
  2683. #if defined(__cplusplus) && !defined(CINTERFACE)
  2684. interface DECLSPEC_UUID("44aca674-e8fc-11d0-a07c-00c04fb68820")
  2685. IWbemContext : public IDispatch
  2686. {
  2687. public:
  2688. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Clone(
  2689. /* [out] */ IWbemContext __RPC_FAR *__RPC_FAR *pNewCopy) = 0;
  2690. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetNames(
  2691. /* [in] */ long lFlags,
  2692. /* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *pNames) = 0;
  2693. virtual /* [id] */ HRESULT STDMETHODCALLTYPE BeginEnumeration(
  2694. /* [in] */ long lFlags) = 0;
  2695. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Next(
  2696. /* [in] */ long lFlags,
  2697. /* [out] */ BSTR __RPC_FAR *pName,
  2698. /* [out] */ VARIANT __RPC_FAR *pValue) = 0;
  2699. virtual /* [id] */ HRESULT STDMETHODCALLTYPE EndEnumeration( void) = 0;
  2700. virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetValue(
  2701. /* [in] */ BSTR Name,
  2702. /* [in] */ long lFlags,
  2703. /* [in] */ VARIANT __RPC_FAR *pValue) = 0;
  2704. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetValue(
  2705. /* [in] */ BSTR Name,
  2706. /* [in] */ long lFlags,
  2707. /* [out] */ VARIANT __RPC_FAR *pValue) = 0;
  2708. virtual /* [id] */ HRESULT STDMETHODCALLTYPE DeleteValue(
  2709. /* [in] */ BSTR Name,
  2710. /* [in] */ long lFlags) = 0;
  2711. virtual /* [id] */ HRESULT STDMETHODCALLTYPE DeleteAll( void) = 0;
  2712. };
  2713. #else /* C style interface */
  2714. typedef struct IWbemContextVtbl
  2715. {
  2716. BEGIN_INTERFACE
  2717. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2718. IWbemContext __RPC_FAR * This,
  2719. /* [in] */ REFIID riid,
  2720. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2721. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2722. IWbemContext __RPC_FAR * This);
  2723. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2724. IWbemContext __RPC_FAR * This);
  2725. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  2726. IWbemContext __RPC_FAR * This,
  2727. /* [out] */ UINT __RPC_FAR *pctinfo);
  2728. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  2729. IWbemContext __RPC_FAR * This,
  2730. /* [in] */ UINT iTInfo,
  2731. /* [in] */ LCID lcid,
  2732. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2733. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  2734. IWbemContext __RPC_FAR * This,
  2735. /* [in] */ REFIID riid,
  2736. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2737. /* [in] */ UINT cNames,
  2738. /* [in] */ LCID lcid,
  2739. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2740. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  2741. IWbemContext __RPC_FAR * This,
  2742. /* [in] */ DISPID dispIdMember,
  2743. /* [in] */ REFIID riid,
  2744. /* [in] */ LCID lcid,
  2745. /* [in] */ WORD wFlags,
  2746. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2747. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2748. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2749. /* [out] */ UINT __RPC_FAR *puArgErr);
  2750. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Clone )(
  2751. IWbemContext __RPC_FAR * This,
  2752. /* [out] */ IWbemContext __RPC_FAR *__RPC_FAR *pNewCopy);
  2753. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNames )(
  2754. IWbemContext __RPC_FAR * This,
  2755. /* [in] */ long lFlags,
  2756. /* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *pNames);
  2757. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginEnumeration )(
  2758. IWbemContext __RPC_FAR * This,
  2759. /* [in] */ long lFlags);
  2760. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Next )(
  2761. IWbemContext __RPC_FAR * This,
  2762. /* [in] */ long lFlags,
  2763. /* [out] */ BSTR __RPC_FAR *pName,
  2764. /* [out] */ VARIANT __RPC_FAR *pValue);
  2765. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndEnumeration )(
  2766. IWbemContext __RPC_FAR * This);
  2767. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetValue )(
  2768. IWbemContext __RPC_FAR * This,
  2769. /* [in] */ BSTR Name,
  2770. /* [in] */ long lFlags,
  2771. /* [in] */ VARIANT __RPC_FAR *pValue);
  2772. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetValue )(
  2773. IWbemContext __RPC_FAR * This,
  2774. /* [in] */ BSTR Name,
  2775. /* [in] */ long lFlags,
  2776. /* [out] */ VARIANT __RPC_FAR *pValue);
  2777. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteValue )(
  2778. IWbemContext __RPC_FAR * This,
  2779. /* [in] */ BSTR Name,
  2780. /* [in] */ long lFlags);
  2781. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteAll )(
  2782. IWbemContext __RPC_FAR * This);
  2783. END_INTERFACE
  2784. } IWbemContextVtbl;
  2785. interface IWbemContext
  2786. {
  2787. CONST_VTBL struct IWbemContextVtbl __RPC_FAR *lpVtbl;
  2788. };
  2789. #ifdef COBJMACROS
  2790. #define IWbemContext_QueryInterface(This,riid,ppvObject) \
  2791. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2792. #define IWbemContext_AddRef(This) \
  2793. (This)->lpVtbl -> AddRef(This)
  2794. #define IWbemContext_Release(This) \
  2795. (This)->lpVtbl -> Release(This)
  2796. #define IWbemContext_GetTypeInfoCount(This,pctinfo) \
  2797. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2798. #define IWbemContext_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2799. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2800. #define IWbemContext_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2801. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2802. #define IWbemContext_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2803. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2804. #define IWbemContext_Clone(This,pNewCopy) \
  2805. (This)->lpVtbl -> Clone(This,pNewCopy)
  2806. #define IWbemContext_GetNames(This,lFlags,pNames) \
  2807. (This)->lpVtbl -> GetNames(This,lFlags,pNames)
  2808. #define IWbemContext_BeginEnumeration(This,lFlags) \
  2809. (This)->lpVtbl -> BeginEnumeration(This,lFlags)
  2810. #define IWbemContext_Next(This,lFlags,pName,pValue) \
  2811. (This)->lpVtbl -> Next(This,lFlags,pName,pValue)
  2812. #define IWbemContext_EndEnumeration(This) \
  2813. (This)->lpVtbl -> EndEnumeration(This)
  2814. #define IWbemContext_SetValue(This,Name,lFlags,pValue) \
  2815. (This)->lpVtbl -> SetValue(This,Name,lFlags,pValue)
  2816. #define IWbemContext_GetValue(This,Name,lFlags,pValue) \
  2817. (This)->lpVtbl -> GetValue(This,Name,lFlags,pValue)
  2818. #define IWbemContext_DeleteValue(This,Name,lFlags) \
  2819. (This)->lpVtbl -> DeleteValue(This,Name,lFlags)
  2820. #define IWbemContext_DeleteAll(This) \
  2821. (This)->lpVtbl -> DeleteAll(This)
  2822. #endif /* COBJMACROS */
  2823. #endif /* C style interface */
  2824. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemContext_Clone_Proxy(
  2825. IWbemContext __RPC_FAR * This,
  2826. /* [out] */ IWbemContext __RPC_FAR *__RPC_FAR *pNewCopy);
  2827. void __RPC_STUB IWbemContext_Clone_Stub(
  2828. IRpcStubBuffer *This,
  2829. IRpcChannelBuffer *_pRpcChannelBuffer,
  2830. PRPC_MESSAGE _pRpcMessage,
  2831. DWORD *_pdwStubPhase);
  2832. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemContext_GetNames_Proxy(
  2833. IWbemContext __RPC_FAR * This,
  2834. /* [in] */ long lFlags,
  2835. /* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *pNames);
  2836. void __RPC_STUB IWbemContext_GetNames_Stub(
  2837. IRpcStubBuffer *This,
  2838. IRpcChannelBuffer *_pRpcChannelBuffer,
  2839. PRPC_MESSAGE _pRpcMessage,
  2840. DWORD *_pdwStubPhase);
  2841. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemContext_BeginEnumeration_Proxy(
  2842. IWbemContext __RPC_FAR * This,
  2843. /* [in] */ long lFlags);
  2844. void __RPC_STUB IWbemContext_BeginEnumeration_Stub(
  2845. IRpcStubBuffer *This,
  2846. IRpcChannelBuffer *_pRpcChannelBuffer,
  2847. PRPC_MESSAGE _pRpcMessage,
  2848. DWORD *_pdwStubPhase);
  2849. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemContext_Next_Proxy(
  2850. IWbemContext __RPC_FAR * This,
  2851. /* [in] */ long lFlags,
  2852. /* [out] */ BSTR __RPC_FAR *pName,
  2853. /* [out] */ VARIANT __RPC_FAR *pValue);
  2854. void __RPC_STUB IWbemContext_Next_Stub(
  2855. IRpcStubBuffer *This,
  2856. IRpcChannelBuffer *_pRpcChannelBuffer,
  2857. PRPC_MESSAGE _pRpcMessage,
  2858. DWORD *_pdwStubPhase);
  2859. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemContext_EndEnumeration_Proxy(
  2860. IWbemContext __RPC_FAR * This);
  2861. void __RPC_STUB IWbemContext_EndEnumeration_Stub(
  2862. IRpcStubBuffer *This,
  2863. IRpcChannelBuffer *_pRpcChannelBuffer,
  2864. PRPC_MESSAGE _pRpcMessage,
  2865. DWORD *_pdwStubPhase);
  2866. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemContext_SetValue_Proxy(
  2867. IWbemContext __RPC_FAR * This,
  2868. /* [in] */ BSTR Name,
  2869. /* [in] */ long lFlags,
  2870. /* [in] */ VARIANT __RPC_FAR *pValue);
  2871. void __RPC_STUB IWbemContext_SetValue_Stub(
  2872. IRpcStubBuffer *This,
  2873. IRpcChannelBuffer *_pRpcChannelBuffer,
  2874. PRPC_MESSAGE _pRpcMessage,
  2875. DWORD *_pdwStubPhase);
  2876. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemContext_GetValue_Proxy(
  2877. IWbemContext __RPC_FAR * This,
  2878. /* [in] */ BSTR Name,
  2879. /* [in] */ long lFlags,
  2880. /* [out] */ VARIANT __RPC_FAR *pValue);
  2881. void __RPC_STUB IWbemContext_GetValue_Stub(
  2882. IRpcStubBuffer *This,
  2883. IRpcChannelBuffer *_pRpcChannelBuffer,
  2884. PRPC_MESSAGE _pRpcMessage,
  2885. DWORD *_pdwStubPhase);
  2886. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemContext_DeleteValue_Proxy(
  2887. IWbemContext __RPC_FAR * This,
  2888. /* [in] */ BSTR Name,
  2889. /* [in] */ long lFlags);
  2890. void __RPC_STUB IWbemContext_DeleteValue_Stub(
  2891. IRpcStubBuffer *This,
  2892. IRpcChannelBuffer *_pRpcChannelBuffer,
  2893. PRPC_MESSAGE _pRpcMessage,
  2894. DWORD *_pdwStubPhase);
  2895. /* [id] */ HRESULT STDMETHODCALLTYPE IWbemContext_DeleteAll_Proxy(
  2896. IWbemContext __RPC_FAR * This);
  2897. void __RPC_STUB IWbemContext_DeleteAll_Stub(
  2898. IRpcStubBuffer *This,
  2899. IRpcChannelBuffer *_pRpcChannelBuffer,
  2900. PRPC_MESSAGE _pRpcMessage,
  2901. DWORD *_pdwStubPhase);
  2902. #endif /* __IWbemContext_INTERFACE_DEFINED__ */
  2903. #ifndef __IWbemUnboundObjectSink_INTERFACE_DEFINED__
  2904. #define __IWbemUnboundObjectSink_INTERFACE_DEFINED__
  2905. /****************************************
  2906. * Generated header for interface: IWbemUnboundObjectSink
  2907. * at Tue Aug 19 16:16:10 1997
  2908. * using MIDL 3.01.75
  2909. ****************************************/
  2910. /* [uuid][object] */
  2911. EXTERN_C const IID IID_IWbemUnboundObjectSink;
  2912. #if defined(__cplusplus) && !defined(CINTERFACE)
  2913. interface DECLSPEC_UUID("e246107b-b06e-11d0-ad61-00c04fd8fdff")
  2914. IWbemUnboundObjectSink : public IUnknown
  2915. {
  2916. public:
  2917. virtual HRESULT STDMETHODCALLTYPE IndicateToConsumer(
  2918. /* [in] */ IWbemClassObject __RPC_FAR *pLogicalConsumer,
  2919. /* [in] */ long lNumObjects,
  2920. /* [size_is][in] */ IWbemClassObject __RPC_FAR *__RPC_FAR *apObjects) = 0;
  2921. };
  2922. #else /* C style interface */
  2923. typedef struct IWbemUnboundObjectSinkVtbl
  2924. {
  2925. BEGIN_INTERFACE
  2926. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2927. IWbemUnboundObjectSink __RPC_FAR * This,
  2928. /* [in] */ REFIID riid,
  2929. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2930. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2931. IWbemUnboundObjectSink __RPC_FAR * This);
  2932. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2933. IWbemUnboundObjectSink __RPC_FAR * This);
  2934. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IndicateToConsumer )(
  2935. IWbemUnboundObjectSink __RPC_FAR * This,
  2936. /* [in] */ IWbemClassObject __RPC_FAR *pLogicalConsumer,
  2937. /* [in] */ long lNumObjects,
  2938. /* [size_is][in] */ IWbemClassObject __RPC_FAR *__RPC_FAR *apObjects);
  2939. END_INTERFACE
  2940. } IWbemUnboundObjectSinkVtbl;
  2941. interface IWbemUnboundObjectSink
  2942. {
  2943. CONST_VTBL struct IWbemUnboundObjectSinkVtbl __RPC_FAR *lpVtbl;
  2944. };
  2945. #ifdef COBJMACROS
  2946. #define IWbemUnboundObjectSink_QueryInterface(This,riid,ppvObject) \
  2947. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2948. #define IWbemUnboundObjectSink_AddRef(This) \
  2949. (This)->lpVtbl -> AddRef(This)
  2950. #define IWbemUnboundObjectSink_Release(This) \
  2951. (This)->lpVtbl -> Release(This)
  2952. #define IWbemUnboundObjectSink_IndicateToConsumer(This,pLogicalConsumer,lNumObjects,apObjects) \
  2953. (This)->lpVtbl -> IndicateToConsumer(This,pLogicalConsumer,lNumObjects,apObjects)
  2954. #endif /* COBJMACROS */
  2955. #endif /* C style interface */
  2956. HRESULT STDMETHODCALLTYPE IWbemUnboundObjectSink_IndicateToConsumer_Proxy(
  2957. IWbemUnboundObjectSink __RPC_FAR * This,
  2958. /* [in] */ IWbemClassObject __RPC_FAR *pLogicalConsumer,
  2959. /* [in] */ long lNumObjects,
  2960. /* [size_is][in] */ IWbemClassObject __RPC_FAR *__RPC_FAR *apObjects);
  2961. void __RPC_STUB IWbemUnboundObjectSink_IndicateToConsumer_Stub(
  2962. IRpcStubBuffer *This,
  2963. IRpcChannelBuffer *_pRpcChannelBuffer,
  2964. PRPC_MESSAGE _pRpcMessage,
  2965. DWORD *_pdwStubPhase);
  2966. #endif /* __IWbemUnboundObjectSink_INTERFACE_DEFINED__ */
  2967. #ifdef __cplusplus
  2968. EXTERN_C const CLSID CLSID_WbemLevel1Login;
  2969. class DECLSPEC_UUID("8BC3F05E-D86B-11d0-A075-00C04FB68820")
  2970. WbemLevel1Login;
  2971. #endif
  2972. #ifdef __cplusplus
  2973. EXTERN_C const CLSID CLSID_WbemLevel1LoginHelp;
  2974. class DECLSPEC_UUID("8BC3F05F-D86B-11d0-A075-00C04FB68820")
  2975. WbemLevel1LoginHelp;
  2976. #endif
  2977. #ifdef __cplusplus
  2978. EXTERN_C const CLSID CLSID_WbemLocator;
  2979. class DECLSPEC_UUID("4590f811-1d3a-11d0-891f-00aa004b2e24")
  2980. WbemLocator;
  2981. #endif
  2982. #ifdef __cplusplus
  2983. EXTERN_C const CLSID CLSID_WbemSecurityHelp;
  2984. class DECLSPEC_UUID("fa39d5a1-c584-11d0-9e48-00c04fc324a8")
  2985. WbemSecurityHelp;
  2986. #endif
  2987. #ifdef __cplusplus
  2988. EXTERN_C const CLSID CLSID_PrivateWbemLevel1Login;
  2989. class DECLSPEC_UUID("7d191c92-d92b-11d0-9e48-00c04fc324a8")
  2990. PrivateWbemLevel1Login;
  2991. #endif
  2992. #ifdef __cplusplus
  2993. EXTERN_C const CLSID CLSID_InProcWbemLevel1LoginHelp;
  2994. class DECLSPEC_UUID("7d191c93-d92b-11d0-9e48-00c04fc324a8")
  2995. InProcWbemLevel1LoginHelp;
  2996. #endif
  2997. #ifdef __cplusplus
  2998. EXTERN_C const CLSID CLSID_InProcWbemLevel1Login;
  2999. class DECLSPEC_UUID("1214c791-dd2a-11d0-9e49-00c04fc324a8")
  3000. InProcWbemLevel1Login;
  3001. #endif
  3002. #ifdef __cplusplus
  3003. EXTERN_C const CLSID CLSID_WbemContext;
  3004. class DECLSPEC_UUID("674B6698-EE92-11d0-AD71-00C04FD8FDFF")
  3005. WbemContext;
  3006. #endif
  3007. #ifdef __cplusplus
  3008. EXTERN_C const CLSID CLSID_WbemClassObjectProxy;
  3009. class DECLSPEC_UUID("4590f812-1d3a-11d0-891f-00aa004b2e24")
  3010. WbemClassObjectProxy;
  3011. #endif
  3012. #endif /* __WbemServices_v1_LIBRARY_DEFINED__ */
  3013. /****************************************
  3014. * Generated header for interface: __MIDL_itf_wbemsvc_0000
  3015. * at Tue Aug 19 16:16:10 1997
  3016. * using MIDL 3.01.75
  3017. ****************************************/
  3018. /* [local] */
  3019. extern RPC_IF_HANDLE __MIDL_itf_wbemsvc_0000_v0_0_c_ifspec;
  3020. extern RPC_IF_HANDLE __MIDL_itf_wbemsvc_0000_v0_0_s_ifspec;
  3021. /****************************************
  3022. * Generated header for interface: __MIDL_itf_wbemsvc_0072
  3023. * at Tue Aug 19 16:16:10 1997
  3024. * using MIDL 3.01.75
  3025. ****************************************/
  3026. /* [local] */
  3027. extern RPC_IF_HANDLE __MIDL_itf_wbemsvc_0072_v0_0_c_ifspec;
  3028. extern RPC_IF_HANDLE __MIDL_itf_wbemsvc_0072_v0_0_s_ifspec;
  3029. #ifndef __IWbemLevel1LoginHelp_INTERFACE_DEFINED__
  3030. #define __IWbemLevel1LoginHelp_INTERFACE_DEFINED__
  3031. /****************************************
  3032. * Generated header for interface: IWbemLevel1LoginHelp
  3033. * at Tue Aug 19 16:16:10 1997
  3034. * using MIDL 3.01.75
  3035. ****************************************/
  3036. /* [unique][restricted][uuid][local][object] */
  3037. EXTERN_C const IID IID_IWbemLevel1LoginHelp;
  3038. #if defined(__cplusplus) && !defined(CINTERFACE)
  3039. interface DECLSPEC_UUID("F309AD19-D86A-11d0-A075-00C04FB68820")
  3040. IWbemLevel1LoginHelp : public IUnknown
  3041. {
  3042. public:
  3043. virtual HRESULT STDMETHODCALLTYPE InvalidateToken(
  3044. /* [unique][in] */ WBEM_128BITS AccessToken) = 0;
  3045. virtual HRESULT STDMETHODCALLTYPE ValidateSignature(
  3046. /* [in] */ long lFlags,
  3047. /* [unique][in] */ WBEM_128BITS PartialDigest,
  3048. /* [unique][in] */ WBEM_128BITS AccessToken,
  3049. /* [unique][in] */ WBEM_128BITS PacketSignature) = 0;
  3050. virtual HRESULT STDMETHODCALLTYPE GenerateSignature(
  3051. /* [in] */ long lFlags,
  3052. /* [unique][in] */ WBEM_128BITS PartialDigest,
  3053. /* [unique][in] */ WBEM_128BITS AccessToken,
  3054. /* [out] */ WBEM_128BITS PacketSignature) = 0;
  3055. };
  3056. #else /* C style interface */
  3057. typedef struct IWbemLevel1LoginHelpVtbl
  3058. {
  3059. BEGIN_INTERFACE
  3060. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  3061. IWbemLevel1LoginHelp __RPC_FAR * This,
  3062. /* [in] */ REFIID riid,
  3063. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3064. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  3065. IWbemLevel1LoginHelp __RPC_FAR * This);
  3066. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  3067. IWbemLevel1LoginHelp __RPC_FAR * This);
  3068. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InvalidateToken )(
  3069. IWbemLevel1LoginHelp __RPC_FAR * This,
  3070. /* [unique][in] */ WBEM_128BITS AccessToken);
  3071. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ValidateSignature )(
  3072. IWbemLevel1LoginHelp __RPC_FAR * This,
  3073. /* [in] */ long lFlags,
  3074. /* [unique][in] */ WBEM_128BITS PartialDigest,
  3075. /* [unique][in] */ WBEM_128BITS AccessToken,
  3076. /* [unique][in] */ WBEM_128BITS PacketSignature);
  3077. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GenerateSignature )(
  3078. IWbemLevel1LoginHelp __RPC_FAR * This,
  3079. /* [in] */ long lFlags,
  3080. /* [unique][in] */ WBEM_128BITS PartialDigest,
  3081. /* [unique][in] */ WBEM_128BITS AccessToken,
  3082. /* [out] */ WBEM_128BITS PacketSignature);
  3083. END_INTERFACE
  3084. } IWbemLevel1LoginHelpVtbl;
  3085. interface IWbemLevel1LoginHelp
  3086. {
  3087. CONST_VTBL struct IWbemLevel1LoginHelpVtbl __RPC_FAR *lpVtbl;
  3088. };
  3089. #ifdef COBJMACROS
  3090. #define IWbemLevel1LoginHelp_QueryInterface(This,riid,ppvObject) \
  3091. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3092. #define IWbemLevel1LoginHelp_AddRef(This) \
  3093. (This)->lpVtbl -> AddRef(This)
  3094. #define IWbemLevel1LoginHelp_Release(This) \
  3095. (This)->lpVtbl -> Release(This)
  3096. #define IWbemLevel1LoginHelp_InvalidateToken(This,AccessToken) \
  3097. (This)->lpVtbl -> InvalidateToken(This,AccessToken)
  3098. #define IWbemLevel1LoginHelp_ValidateSignature(This,lFlags,PartialDigest,AccessToken,PacketSignature) \
  3099. (This)->lpVtbl -> ValidateSignature(This,lFlags,PartialDigest,AccessToken,PacketSignature)
  3100. #define IWbemLevel1LoginHelp_GenerateSignature(This,lFlags,PartialDigest,AccessToken,PacketSignature) \
  3101. (This)->lpVtbl -> GenerateSignature(This,lFlags,PartialDigest,AccessToken,PacketSignature)
  3102. #endif /* COBJMACROS */
  3103. #endif /* C style interface */
  3104. HRESULT STDMETHODCALLTYPE IWbemLevel1LoginHelp_InvalidateToken_Proxy(
  3105. IWbemLevel1LoginHelp __RPC_FAR * This,
  3106. /* [unique][in] */ WBEM_128BITS AccessToken);
  3107. void __RPC_STUB IWbemLevel1LoginHelp_InvalidateToken_Stub(
  3108. IRpcStubBuffer *This,
  3109. IRpcChannelBuffer *_pRpcChannelBuffer,
  3110. PRPC_MESSAGE _pRpcMessage,
  3111. DWORD *_pdwStubPhase);
  3112. HRESULT STDMETHODCALLTYPE IWbemLevel1LoginHelp_ValidateSignature_Proxy(
  3113. IWbemLevel1LoginHelp __RPC_FAR * This,
  3114. /* [in] */ long lFlags,
  3115. /* [unique][in] */ WBEM_128BITS PartialDigest,
  3116. /* [unique][in] */ WBEM_128BITS AccessToken,
  3117. /* [unique][in] */ WBEM_128BITS PacketSignature);
  3118. void __RPC_STUB IWbemLevel1LoginHelp_ValidateSignature_Stub(
  3119. IRpcStubBuffer *This,
  3120. IRpcChannelBuffer *_pRpcChannelBuffer,
  3121. PRPC_MESSAGE _pRpcMessage,
  3122. DWORD *_pdwStubPhase);
  3123. HRESULT STDMETHODCALLTYPE IWbemLevel1LoginHelp_GenerateSignature_Proxy(
  3124. IWbemLevel1LoginHelp __RPC_FAR * This,
  3125. /* [in] */ long lFlags,
  3126. /* [unique][in] */ WBEM_128BITS PartialDigest,
  3127. /* [unique][in] */ WBEM_128BITS AccessToken,
  3128. /* [out] */ WBEM_128BITS PacketSignature);
  3129. void __RPC_STUB IWbemLevel1LoginHelp_GenerateSignature_Stub(
  3130. IRpcStubBuffer *This,
  3131. IRpcChannelBuffer *_pRpcChannelBuffer,
  3132. PRPC_MESSAGE _pRpcMessage,
  3133. DWORD *_pdwStubPhase);
  3134. #endif /* __IWbemLevel1LoginHelp_INTERFACE_DEFINED__ */
  3135. /* Additional Prototypes for ALL interfaces */
  3136. unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * );
  3137. unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  3138. unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  3139. void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * );
  3140. /* end of Additional Prototypes */
  3141. #ifdef __cplusplus
  3142. }
  3143. #endif
  3144. #endif