wbemtran.h 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994
  1. /*** Autogenerated by WIDL 7.7 from include/wbemtran.idl - Do not edit ***/
  2. #ifdef _WIN32
  3. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  4. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  5. #endif
  6. #include <rpc.h>
  7. #include <rpcndr.h>
  8. #endif
  9. #ifndef COM_NO_WINDOWS_H
  10. #include <windows.h>
  11. #include <ole2.h>
  12. #endif
  13. #ifndef __wbemtran_h__
  14. #define __wbemtran_h__
  15. /* Forward declarations */
  16. #ifndef __WbemLevel1Login_FWD_DEFINED__
  17. #define __WbemLevel1Login_FWD_DEFINED__
  18. #ifdef __cplusplus
  19. typedef class WbemLevel1Login WbemLevel1Login;
  20. #else
  21. typedef struct WbemLevel1Login WbemLevel1Login;
  22. #endif /* defined __cplusplus */
  23. #endif /* defined __WbemLevel1Login_FWD_DEFINED__ */
  24. #ifndef __WbemLocalAddrRes_FWD_DEFINED__
  25. #define __WbemLocalAddrRes_FWD_DEFINED__
  26. #ifdef __cplusplus
  27. typedef class WbemLocalAddrRes WbemLocalAddrRes;
  28. #else
  29. typedef struct WbemLocalAddrRes WbemLocalAddrRes;
  30. #endif /* defined __cplusplus */
  31. #endif /* defined __WbemLocalAddrRes_FWD_DEFINED__ */
  32. #ifndef __WbemUninitializedClassObject_FWD_DEFINED__
  33. #define __WbemUninitializedClassObject_FWD_DEFINED__
  34. #ifdef __cplusplus
  35. typedef class WbemUninitializedClassObject WbemUninitializedClassObject;
  36. #else
  37. typedef struct WbemUninitializedClassObject WbemUninitializedClassObject;
  38. #endif /* defined __cplusplus */
  39. #endif /* defined __WbemUninitializedClassObject_FWD_DEFINED__ */
  40. #ifndef __WbemDCOMTransport_FWD_DEFINED__
  41. #define __WbemDCOMTransport_FWD_DEFINED__
  42. #ifdef __cplusplus
  43. typedef class WbemDCOMTransport WbemDCOMTransport;
  44. #else
  45. typedef struct WbemDCOMTransport WbemDCOMTransport;
  46. #endif /* defined __cplusplus */
  47. #endif /* defined __WbemDCOMTransport_FWD_DEFINED__ */
  48. #ifndef __IWbemLevel1Login_FWD_DEFINED__
  49. #define __IWbemLevel1Login_FWD_DEFINED__
  50. typedef interface IWbemLevel1Login IWbemLevel1Login;
  51. #ifdef __cplusplus
  52. interface IWbemLevel1Login;
  53. #endif /* __cplusplus */
  54. #endif
  55. #ifndef __IWbemConnectorLogin_FWD_DEFINED__
  56. #define __IWbemConnectorLogin_FWD_DEFINED__
  57. typedef interface IWbemConnectorLogin IWbemConnectorLogin;
  58. #ifdef __cplusplus
  59. interface IWbemConnectorLogin;
  60. #endif /* __cplusplus */
  61. #endif
  62. #ifndef __IWbemAddressResolution_FWD_DEFINED__
  63. #define __IWbemAddressResolution_FWD_DEFINED__
  64. typedef interface IWbemAddressResolution IWbemAddressResolution;
  65. #ifdef __cplusplus
  66. interface IWbemAddressResolution;
  67. #endif /* __cplusplus */
  68. #endif
  69. #ifndef __IWbemTransport_FWD_DEFINED__
  70. #define __IWbemTransport_FWD_DEFINED__
  71. typedef interface IWbemTransport IWbemTransport;
  72. #ifdef __cplusplus
  73. interface IWbemTransport;
  74. #endif /* __cplusplus */
  75. #endif
  76. #ifndef __IWbemConstructClassObject_FWD_DEFINED__
  77. #define __IWbemConstructClassObject_FWD_DEFINED__
  78. typedef interface IWbemConstructClassObject IWbemConstructClassObject;
  79. #ifdef __cplusplus
  80. interface IWbemConstructClassObject;
  81. #endif /* __cplusplus */
  82. #endif
  83. #ifndef __IWbemClientTransport_FWD_DEFINED__
  84. #define __IWbemClientTransport_FWD_DEFINED__
  85. typedef interface IWbemClientTransport IWbemClientTransport;
  86. #ifdef __cplusplus
  87. interface IWbemClientTransport;
  88. #endif /* __cplusplus */
  89. #endif
  90. #ifndef __IWbemClientConnectionTransport_FWD_DEFINED__
  91. #define __IWbemClientConnectionTransport_FWD_DEFINED__
  92. typedef interface IWbemClientConnectionTransport IWbemClientConnectionTransport;
  93. #ifdef __cplusplus
  94. interface IWbemClientConnectionTransport;
  95. #endif /* __cplusplus */
  96. #endif
  97. /* Headers for imported files */
  98. #include <objidl.h>
  99. #include <oleidl.h>
  100. #include <oaidl.h>
  101. #include <wbemcli.h>
  102. #ifdef __cplusplus
  103. extern "C" {
  104. #endif
  105. /**
  106. * This file is part of the mingw-w64 runtime package.
  107. * No warranty is given; refer to the file DISCLAIMER within this package.
  108. */
  109. #include <winapifamily.h>
  110. #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  111. #ifndef __IWbemTransport_FWD_DEFINED__
  112. #define __IWbemTransport_FWD_DEFINED__
  113. typedef interface IWbemTransport IWbemTransport;
  114. #ifdef __cplusplus
  115. interface IWbemTransport;
  116. #endif /* __cplusplus */
  117. #endif
  118. #ifndef __IWbemLevel1Login_FWD_DEFINED__
  119. #define __IWbemLevel1Login_FWD_DEFINED__
  120. typedef interface IWbemLevel1Login IWbemLevel1Login;
  121. #ifdef __cplusplus
  122. interface IWbemLevel1Login;
  123. #endif /* __cplusplus */
  124. #endif
  125. #ifndef __IWbemConnectorLogin_FWD_DEFINED__
  126. #define __IWbemConnectorLogin_FWD_DEFINED__
  127. typedef interface IWbemConnectorLogin IWbemConnectorLogin;
  128. #ifdef __cplusplus
  129. interface IWbemConnectorLogin;
  130. #endif /* __cplusplus */
  131. #endif
  132. #ifndef __IWbemAddressResolution_FWD_DEFINED__
  133. #define __IWbemAddressResolution_FWD_DEFINED__
  134. typedef interface IWbemAddressResolution IWbemAddressResolution;
  135. #ifdef __cplusplus
  136. interface IWbemAddressResolution;
  137. #endif /* __cplusplus */
  138. #endif
  139. #ifndef __IWbemClientTransport_FWD_DEFINED__
  140. #define __IWbemClientTransport_FWD_DEFINED__
  141. typedef interface IWbemClientTransport IWbemClientTransport;
  142. #ifdef __cplusplus
  143. interface IWbemClientTransport;
  144. #endif /* __cplusplus */
  145. #endif
  146. #ifndef __IWbemClientConnectionTransport_FWD_DEFINED__
  147. #define __IWbemClientConnectionTransport_FWD_DEFINED__
  148. typedef interface IWbemClientConnectionTransport IWbemClientConnectionTransport;
  149. #ifdef __cplusplus
  150. interface IWbemClientConnectionTransport;
  151. #endif /* __cplusplus */
  152. #endif
  153. typedef enum tag_WBEM_LOGIN_TYPE {
  154. WBEM_FLAG_INPROC_LOGIN = 0,
  155. WBEM_FLAG_LOCAL_LOGIN = 1,
  156. WBEM_FLAG_REMOTE_LOGIN = 2,
  157. WBEM_AUTHENTICATION_METHOD_MASK = 0xf,
  158. WBEM_FLAG_USE_MULTIPLE_CHALLENGES = 0x10
  159. } WBEM_LOGIN_TYPE;
  160. typedef BYTE *WBEM_128BITS;
  161. #ifndef __WbemTransports_v1_LIBRARY_DEFINED__
  162. #define __WbemTransports_v1_LIBRARY_DEFINED__
  163. DEFINE_GUID(LIBID_WbemTransports_v1, 0x027947f3, 0xd731, 0x11ce, 0xa3,0x57, 0x00,0x00,0x00,0x00,0x00,0x01);
  164. /*****************************************************************************
  165. * WbemLevel1Login coclass
  166. */
  167. DEFINE_GUID(CLSID_WbemLevel1Login, 0x8bc3f05e, 0xd86b, 0x11d0, 0xa0,0x75, 0x00,0xc0,0x4f,0xb6,0x88,0x20);
  168. #ifdef __cplusplus
  169. class DECLSPEC_UUID("8bc3f05e-d86b-11d0-a075-00c04fb68820") WbemLevel1Login;
  170. #ifdef __CRT_UUID_DECL
  171. __CRT_UUID_DECL(WbemLevel1Login, 0x8bc3f05e, 0xd86b, 0x11d0, 0xa0,0x75, 0x00,0xc0,0x4f,0xb6,0x88,0x20)
  172. #endif
  173. #endif
  174. /*****************************************************************************
  175. * WbemLocalAddrRes coclass
  176. */
  177. DEFINE_GUID(CLSID_WbemLocalAddrRes, 0xa1044801, 0x8f7e, 0x11d1, 0x9e,0x7c, 0x00,0xc0,0x4f,0xc3,0x24,0xa8);
  178. #ifdef __cplusplus
  179. class DECLSPEC_UUID("a1044801-8f7e-11d1-9e7c-00c04fc324a8") WbemLocalAddrRes;
  180. #ifdef __CRT_UUID_DECL
  181. __CRT_UUID_DECL(WbemLocalAddrRes, 0xa1044801, 0x8f7e, 0x11d1, 0x9e,0x7c, 0x00,0xc0,0x4f,0xc3,0x24,0xa8)
  182. #endif
  183. #endif
  184. /*****************************************************************************
  185. * WbemUninitializedClassObject coclass
  186. */
  187. DEFINE_GUID(CLSID_WbemUninitializedClassObject, 0x7a0227f6, 0x7108, 0x11d1, 0xad,0x90, 0x00,0xc0,0x4f,0xd8,0xfd,0xff);
  188. #ifdef __cplusplus
  189. class DECLSPEC_UUID("7a0227f6-7108-11d1-ad90-00c04fd8fdff") WbemUninitializedClassObject;
  190. #ifdef __CRT_UUID_DECL
  191. __CRT_UUID_DECL(WbemUninitializedClassObject, 0x7a0227f6, 0x7108, 0x11d1, 0xad,0x90, 0x00,0xc0,0x4f,0xd8,0xfd,0xff)
  192. #endif
  193. #endif
  194. /*****************************************************************************
  195. * WbemDCOMTransport coclass
  196. */
  197. DEFINE_GUID(CLSID_WbemDCOMTransport, 0xf7ce2e13, 0x8c90, 0x11d1, 0x9e,0x7b, 0x00,0xc0,0x4f,0xc3,0x24,0xa8);
  198. #ifdef __cplusplus
  199. class DECLSPEC_UUID("f7ce2e13-8c90-11d1-9e7b-00c04fc324a8") WbemDCOMTransport;
  200. #ifdef __CRT_UUID_DECL
  201. __CRT_UUID_DECL(WbemDCOMTransport, 0xf7ce2e13, 0x8c90, 0x11d1, 0x9e,0x7b, 0x00,0xc0,0x4f,0xc3,0x24,0xa8)
  202. #endif
  203. #endif
  204. #endif /* __WbemTransports_v1_LIBRARY_DEFINED__ */
  205. /*****************************************************************************
  206. * IWbemLevel1Login interface
  207. */
  208. #ifndef __IWbemLevel1Login_INTERFACE_DEFINED__
  209. #define __IWbemLevel1Login_INTERFACE_DEFINED__
  210. DEFINE_GUID(IID_IWbemLevel1Login, 0xf309ad18, 0xd86a, 0x11d0, 0xa0,0x75, 0x00,0xc0,0x4f,0xb6,0x88,0x20);
  211. #if defined(__cplusplus) && !defined(CINTERFACE)
  212. MIDL_INTERFACE("f309ad18-d86a-11d0-a075-00c04fb68820")
  213. IWbemLevel1Login : public IUnknown
  214. {
  215. virtual HRESULT STDMETHODCALLTYPE EstablishPosition(
  216. LPWSTR wszLocaleList,
  217. DWORD dwNumLocales,
  218. DWORD *reserved) = 0;
  219. virtual HRESULT STDMETHODCALLTYPE RequestChallenge(
  220. LPWSTR wszNetworkResource,
  221. LPWSTR wszUser,
  222. WBEM_128BITS Nonce) = 0;
  223. virtual HRESULT STDMETHODCALLTYPE WBEMLogin(
  224. LPWSTR wszPreferredLocale,
  225. WBEM_128BITS AccessToken,
  226. LONG lFlags,
  227. IWbemContext *pCtx,
  228. IWbemServices **ppNamespace) = 0;
  229. virtual HRESULT STDMETHODCALLTYPE NTLMLogin(
  230. LPWSTR wszNetworkResource,
  231. LPWSTR wszPreferredLocale,
  232. LONG lFlags,
  233. IWbemContext *pCtx,
  234. IWbemServices **ppNamespace) = 0;
  235. };
  236. #ifdef __CRT_UUID_DECL
  237. __CRT_UUID_DECL(IWbemLevel1Login, 0xf309ad18, 0xd86a, 0x11d0, 0xa0,0x75, 0x00,0xc0,0x4f,0xb6,0x88,0x20)
  238. #endif
  239. #else
  240. typedef struct IWbemLevel1LoginVtbl {
  241. BEGIN_INTERFACE
  242. /*** IUnknown methods ***/
  243. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  244. IWbemLevel1Login *This,
  245. REFIID riid,
  246. void **ppvObject);
  247. ULONG (STDMETHODCALLTYPE *AddRef)(
  248. IWbemLevel1Login *This);
  249. ULONG (STDMETHODCALLTYPE *Release)(
  250. IWbemLevel1Login *This);
  251. /*** IWbemLevel1Login methods ***/
  252. HRESULT (STDMETHODCALLTYPE *EstablishPosition)(
  253. IWbemLevel1Login *This,
  254. LPWSTR wszLocaleList,
  255. DWORD dwNumLocales,
  256. DWORD *reserved);
  257. HRESULT (STDMETHODCALLTYPE *RequestChallenge)(
  258. IWbemLevel1Login *This,
  259. LPWSTR wszNetworkResource,
  260. LPWSTR wszUser,
  261. WBEM_128BITS Nonce);
  262. HRESULT (STDMETHODCALLTYPE *WBEMLogin)(
  263. IWbemLevel1Login *This,
  264. LPWSTR wszPreferredLocale,
  265. WBEM_128BITS AccessToken,
  266. LONG lFlags,
  267. IWbemContext *pCtx,
  268. IWbemServices **ppNamespace);
  269. HRESULT (STDMETHODCALLTYPE *NTLMLogin)(
  270. IWbemLevel1Login *This,
  271. LPWSTR wszNetworkResource,
  272. LPWSTR wszPreferredLocale,
  273. LONG lFlags,
  274. IWbemContext *pCtx,
  275. IWbemServices **ppNamespace);
  276. END_INTERFACE
  277. } IWbemLevel1LoginVtbl;
  278. interface IWbemLevel1Login {
  279. CONST_VTBL IWbemLevel1LoginVtbl* lpVtbl;
  280. };
  281. #ifdef COBJMACROS
  282. #ifndef WIDL_C_INLINE_WRAPPERS
  283. /*** IUnknown methods ***/
  284. #define IWbemLevel1Login_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  285. #define IWbemLevel1Login_AddRef(This) (This)->lpVtbl->AddRef(This)
  286. #define IWbemLevel1Login_Release(This) (This)->lpVtbl->Release(This)
  287. /*** IWbemLevel1Login methods ***/
  288. #define IWbemLevel1Login_EstablishPosition(This,wszLocaleList,dwNumLocales,reserved) (This)->lpVtbl->EstablishPosition(This,wszLocaleList,dwNumLocales,reserved)
  289. #define IWbemLevel1Login_RequestChallenge(This,wszNetworkResource,wszUser,Nonce) (This)->lpVtbl->RequestChallenge(This,wszNetworkResource,wszUser,Nonce)
  290. #define IWbemLevel1Login_WBEMLogin(This,wszPreferredLocale,AccessToken,lFlags,pCtx,ppNamespace) (This)->lpVtbl->WBEMLogin(This,wszPreferredLocale,AccessToken,lFlags,pCtx,ppNamespace)
  291. #define IWbemLevel1Login_NTLMLogin(This,wszNetworkResource,wszPreferredLocale,lFlags,pCtx,ppNamespace) (This)->lpVtbl->NTLMLogin(This,wszNetworkResource,wszPreferredLocale,lFlags,pCtx,ppNamespace)
  292. #else
  293. /*** IUnknown methods ***/
  294. static FORCEINLINE HRESULT IWbemLevel1Login_QueryInterface(IWbemLevel1Login* This,REFIID riid,void **ppvObject) {
  295. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  296. }
  297. static FORCEINLINE ULONG IWbemLevel1Login_AddRef(IWbemLevel1Login* This) {
  298. return This->lpVtbl->AddRef(This);
  299. }
  300. static FORCEINLINE ULONG IWbemLevel1Login_Release(IWbemLevel1Login* This) {
  301. return This->lpVtbl->Release(This);
  302. }
  303. /*** IWbemLevel1Login methods ***/
  304. static FORCEINLINE HRESULT IWbemLevel1Login_EstablishPosition(IWbemLevel1Login* This,LPWSTR wszLocaleList,DWORD dwNumLocales,DWORD *reserved) {
  305. return This->lpVtbl->EstablishPosition(This,wszLocaleList,dwNumLocales,reserved);
  306. }
  307. static FORCEINLINE HRESULT IWbemLevel1Login_RequestChallenge(IWbemLevel1Login* This,LPWSTR wszNetworkResource,LPWSTR wszUser,WBEM_128BITS Nonce) {
  308. return This->lpVtbl->RequestChallenge(This,wszNetworkResource,wszUser,Nonce);
  309. }
  310. static FORCEINLINE HRESULT IWbemLevel1Login_WBEMLogin(IWbemLevel1Login* This,LPWSTR wszPreferredLocale,WBEM_128BITS AccessToken,LONG lFlags,IWbemContext *pCtx,IWbemServices **ppNamespace) {
  311. return This->lpVtbl->WBEMLogin(This,wszPreferredLocale,AccessToken,lFlags,pCtx,ppNamespace);
  312. }
  313. static FORCEINLINE HRESULT IWbemLevel1Login_NTLMLogin(IWbemLevel1Login* This,LPWSTR wszNetworkResource,LPWSTR wszPreferredLocale,LONG lFlags,IWbemContext *pCtx,IWbemServices **ppNamespace) {
  314. return This->lpVtbl->NTLMLogin(This,wszNetworkResource,wszPreferredLocale,lFlags,pCtx,ppNamespace);
  315. }
  316. #endif
  317. #endif
  318. #endif
  319. #endif /* __IWbemLevel1Login_INTERFACE_DEFINED__ */
  320. /*****************************************************************************
  321. * IWbemConnectorLogin interface
  322. */
  323. #ifndef __IWbemConnectorLogin_INTERFACE_DEFINED__
  324. #define __IWbemConnectorLogin_INTERFACE_DEFINED__
  325. DEFINE_GUID(IID_IWbemConnectorLogin, 0xd8ec9cb1, 0xb135, 0x4f10, 0x8b,0x1b, 0xc7,0x18,0x8b,0xb0,0xd1,0x86);
  326. #if defined(__cplusplus) && !defined(CINTERFACE)
  327. MIDL_INTERFACE("d8ec9cb1-b135-4f10-8b1b-c7188bb0d186")
  328. IWbemConnectorLogin : public IUnknown
  329. {
  330. virtual HRESULT STDMETHODCALLTYPE ConnectorLogin(
  331. LPWSTR wszNetworkResource,
  332. LPWSTR wszPreferredLocale,
  333. LONG lFlags,
  334. IWbemContext *pCtx,
  335. REFIID riid,
  336. void **pInterface) = 0;
  337. };
  338. #ifdef __CRT_UUID_DECL
  339. __CRT_UUID_DECL(IWbemConnectorLogin, 0xd8ec9cb1, 0xb135, 0x4f10, 0x8b,0x1b, 0xc7,0x18,0x8b,0xb0,0xd1,0x86)
  340. #endif
  341. #else
  342. typedef struct IWbemConnectorLoginVtbl {
  343. BEGIN_INTERFACE
  344. /*** IUnknown methods ***/
  345. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  346. IWbemConnectorLogin *This,
  347. REFIID riid,
  348. void **ppvObject);
  349. ULONG (STDMETHODCALLTYPE *AddRef)(
  350. IWbemConnectorLogin *This);
  351. ULONG (STDMETHODCALLTYPE *Release)(
  352. IWbemConnectorLogin *This);
  353. /*** IWbemConnectorLogin methods ***/
  354. HRESULT (STDMETHODCALLTYPE *ConnectorLogin)(
  355. IWbemConnectorLogin *This,
  356. LPWSTR wszNetworkResource,
  357. LPWSTR wszPreferredLocale,
  358. LONG lFlags,
  359. IWbemContext *pCtx,
  360. REFIID riid,
  361. void **pInterface);
  362. END_INTERFACE
  363. } IWbemConnectorLoginVtbl;
  364. interface IWbemConnectorLogin {
  365. CONST_VTBL IWbemConnectorLoginVtbl* lpVtbl;
  366. };
  367. #ifdef COBJMACROS
  368. #ifndef WIDL_C_INLINE_WRAPPERS
  369. /*** IUnknown methods ***/
  370. #define IWbemConnectorLogin_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  371. #define IWbemConnectorLogin_AddRef(This) (This)->lpVtbl->AddRef(This)
  372. #define IWbemConnectorLogin_Release(This) (This)->lpVtbl->Release(This)
  373. /*** IWbemConnectorLogin methods ***/
  374. #define IWbemConnectorLogin_ConnectorLogin(This,wszNetworkResource,wszPreferredLocale,lFlags,pCtx,riid,pInterface) (This)->lpVtbl->ConnectorLogin(This,wszNetworkResource,wszPreferredLocale,lFlags,pCtx,riid,pInterface)
  375. #else
  376. /*** IUnknown methods ***/
  377. static FORCEINLINE HRESULT IWbemConnectorLogin_QueryInterface(IWbemConnectorLogin* This,REFIID riid,void **ppvObject) {
  378. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  379. }
  380. static FORCEINLINE ULONG IWbemConnectorLogin_AddRef(IWbemConnectorLogin* This) {
  381. return This->lpVtbl->AddRef(This);
  382. }
  383. static FORCEINLINE ULONG IWbemConnectorLogin_Release(IWbemConnectorLogin* This) {
  384. return This->lpVtbl->Release(This);
  385. }
  386. /*** IWbemConnectorLogin methods ***/
  387. static FORCEINLINE HRESULT IWbemConnectorLogin_ConnectorLogin(IWbemConnectorLogin* This,LPWSTR wszNetworkResource,LPWSTR wszPreferredLocale,LONG lFlags,IWbemContext *pCtx,REFIID riid,void **pInterface) {
  388. return This->lpVtbl->ConnectorLogin(This,wszNetworkResource,wszPreferredLocale,lFlags,pCtx,riid,pInterface);
  389. }
  390. #endif
  391. #endif
  392. #endif
  393. #endif /* __IWbemConnectorLogin_INTERFACE_DEFINED__ */
  394. /*****************************************************************************
  395. * IWbemAddressResolution interface
  396. */
  397. #ifndef __IWbemAddressResolution_INTERFACE_DEFINED__
  398. #define __IWbemAddressResolution_INTERFACE_DEFINED__
  399. DEFINE_GUID(IID_IWbemAddressResolution, 0xf7ce2e12, 0x8c90, 0x11d1, 0x9e,0x7b, 0x00,0xc0,0x4f,0xc3,0x24,0xa8);
  400. #if defined(__cplusplus) && !defined(CINTERFACE)
  401. MIDL_INTERFACE("f7ce2e12-8c90-11d1-9e7b-00c04fc324a8")
  402. IWbemAddressResolution : public IUnknown
  403. {
  404. virtual HRESULT STDMETHODCALLTYPE Resolve(
  405. LPWSTR wszNamespacePath,
  406. LPWSTR wszAddressType,
  407. DWORD *pdwAddressLength,
  408. BYTE **pabBinaryAddress) = 0;
  409. };
  410. #ifdef __CRT_UUID_DECL
  411. __CRT_UUID_DECL(IWbemAddressResolution, 0xf7ce2e12, 0x8c90, 0x11d1, 0x9e,0x7b, 0x00,0xc0,0x4f,0xc3,0x24,0xa8)
  412. #endif
  413. #else
  414. typedef struct IWbemAddressResolutionVtbl {
  415. BEGIN_INTERFACE
  416. /*** IUnknown methods ***/
  417. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  418. IWbemAddressResolution *This,
  419. REFIID riid,
  420. void **ppvObject);
  421. ULONG (STDMETHODCALLTYPE *AddRef)(
  422. IWbemAddressResolution *This);
  423. ULONG (STDMETHODCALLTYPE *Release)(
  424. IWbemAddressResolution *This);
  425. /*** IWbemAddressResolution methods ***/
  426. HRESULT (STDMETHODCALLTYPE *Resolve)(
  427. IWbemAddressResolution *This,
  428. LPWSTR wszNamespacePath,
  429. LPWSTR wszAddressType,
  430. DWORD *pdwAddressLength,
  431. BYTE **pabBinaryAddress);
  432. END_INTERFACE
  433. } IWbemAddressResolutionVtbl;
  434. interface IWbemAddressResolution {
  435. CONST_VTBL IWbemAddressResolutionVtbl* lpVtbl;
  436. };
  437. #ifdef COBJMACROS
  438. #ifndef WIDL_C_INLINE_WRAPPERS
  439. /*** IUnknown methods ***/
  440. #define IWbemAddressResolution_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  441. #define IWbemAddressResolution_AddRef(This) (This)->lpVtbl->AddRef(This)
  442. #define IWbemAddressResolution_Release(This) (This)->lpVtbl->Release(This)
  443. /*** IWbemAddressResolution methods ***/
  444. #define IWbemAddressResolution_Resolve(This,wszNamespacePath,wszAddressType,pdwAddressLength,pabBinaryAddress) (This)->lpVtbl->Resolve(This,wszNamespacePath,wszAddressType,pdwAddressLength,pabBinaryAddress)
  445. #else
  446. /*** IUnknown methods ***/
  447. static FORCEINLINE HRESULT IWbemAddressResolution_QueryInterface(IWbemAddressResolution* This,REFIID riid,void **ppvObject) {
  448. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  449. }
  450. static FORCEINLINE ULONG IWbemAddressResolution_AddRef(IWbemAddressResolution* This) {
  451. return This->lpVtbl->AddRef(This);
  452. }
  453. static FORCEINLINE ULONG IWbemAddressResolution_Release(IWbemAddressResolution* This) {
  454. return This->lpVtbl->Release(This);
  455. }
  456. /*** IWbemAddressResolution methods ***/
  457. static FORCEINLINE HRESULT IWbemAddressResolution_Resolve(IWbemAddressResolution* This,LPWSTR wszNamespacePath,LPWSTR wszAddressType,DWORD *pdwAddressLength,BYTE **pabBinaryAddress) {
  458. return This->lpVtbl->Resolve(This,wszNamespacePath,wszAddressType,pdwAddressLength,pabBinaryAddress);
  459. }
  460. #endif
  461. #endif
  462. #endif
  463. #endif /* __IWbemAddressResolution_INTERFACE_DEFINED__ */
  464. /*****************************************************************************
  465. * IWbemTransport interface
  466. */
  467. #ifndef __IWbemTransport_INTERFACE_DEFINED__
  468. #define __IWbemTransport_INTERFACE_DEFINED__
  469. DEFINE_GUID(IID_IWbemTransport, 0x553fe584, 0x2156, 0x11d0, 0xb6,0xae, 0x00,0xaa,0x00,0x32,0x40,0xc7);
  470. #if defined(__cplusplus) && !defined(CINTERFACE)
  471. MIDL_INTERFACE("553fe584-2156-11d0-b6ae-00aa003240c7")
  472. IWbemTransport : public IUnknown
  473. {
  474. virtual HRESULT STDMETHODCALLTYPE Initialize(
  475. ) = 0;
  476. };
  477. #ifdef __CRT_UUID_DECL
  478. __CRT_UUID_DECL(IWbemTransport, 0x553fe584, 0x2156, 0x11d0, 0xb6,0xae, 0x00,0xaa,0x00,0x32,0x40,0xc7)
  479. #endif
  480. #else
  481. typedef struct IWbemTransportVtbl {
  482. BEGIN_INTERFACE
  483. /*** IUnknown methods ***/
  484. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  485. IWbemTransport *This,
  486. REFIID riid,
  487. void **ppvObject);
  488. ULONG (STDMETHODCALLTYPE *AddRef)(
  489. IWbemTransport *This);
  490. ULONG (STDMETHODCALLTYPE *Release)(
  491. IWbemTransport *This);
  492. /*** IWbemTransport methods ***/
  493. HRESULT (STDMETHODCALLTYPE *Initialize)(
  494. IWbemTransport *This);
  495. END_INTERFACE
  496. } IWbemTransportVtbl;
  497. interface IWbemTransport {
  498. CONST_VTBL IWbemTransportVtbl* lpVtbl;
  499. };
  500. #ifdef COBJMACROS
  501. #ifndef WIDL_C_INLINE_WRAPPERS
  502. /*** IUnknown methods ***/
  503. #define IWbemTransport_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  504. #define IWbemTransport_AddRef(This) (This)->lpVtbl->AddRef(This)
  505. #define IWbemTransport_Release(This) (This)->lpVtbl->Release(This)
  506. /*** IWbemTransport methods ***/
  507. #define IWbemTransport_Initialize(This) (This)->lpVtbl->Initialize(This)
  508. #else
  509. /*** IUnknown methods ***/
  510. static FORCEINLINE HRESULT IWbemTransport_QueryInterface(IWbemTransport* This,REFIID riid,void **ppvObject) {
  511. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  512. }
  513. static FORCEINLINE ULONG IWbemTransport_AddRef(IWbemTransport* This) {
  514. return This->lpVtbl->AddRef(This);
  515. }
  516. static FORCEINLINE ULONG IWbemTransport_Release(IWbemTransport* This) {
  517. return This->lpVtbl->Release(This);
  518. }
  519. /*** IWbemTransport methods ***/
  520. static FORCEINLINE HRESULT IWbemTransport_Initialize(IWbemTransport* This) {
  521. return This->lpVtbl->Initialize(This);
  522. }
  523. #endif
  524. #endif
  525. #endif
  526. #endif /* __IWbemTransport_INTERFACE_DEFINED__ */
  527. /*****************************************************************************
  528. * IWbemConstructClassObject interface
  529. */
  530. #ifndef __IWbemConstructClassObject_INTERFACE_DEFINED__
  531. #define __IWbemConstructClassObject_INTERFACE_DEFINED__
  532. DEFINE_GUID(IID_IWbemConstructClassObject, 0x9ef76194, 0x70d5, 0x11d1, 0xad,0x90, 0x00,0xc0,0x4f,0xd8,0xfd,0xff);
  533. #if defined(__cplusplus) && !defined(CINTERFACE)
  534. MIDL_INTERFACE("9ef76194-70d5-11d1-ad90-00c04fd8fdff")
  535. IWbemConstructClassObject : public IUnknown
  536. {
  537. virtual HRESULT STDMETHODCALLTYPE SetInheritanceChain(
  538. LONG lNumAntecedents,
  539. LPWSTR *awszAntecedents) = 0;
  540. virtual HRESULT STDMETHODCALLTYPE SetPropertyOrigin(
  541. LPCWSTR wszPropertyName,
  542. LONG lOriginIndex) = 0;
  543. virtual HRESULT STDMETHODCALLTYPE SetMethodOrigin(
  544. LPCWSTR wszMethodName,
  545. LONG lOriginIndex) = 0;
  546. virtual HRESULT STDMETHODCALLTYPE SetServerNamespace(
  547. LPCWSTR wszServer,
  548. LPCWSTR wszNamespace) = 0;
  549. };
  550. #ifdef __CRT_UUID_DECL
  551. __CRT_UUID_DECL(IWbemConstructClassObject, 0x9ef76194, 0x70d5, 0x11d1, 0xad,0x90, 0x00,0xc0,0x4f,0xd8,0xfd,0xff)
  552. #endif
  553. #else
  554. typedef struct IWbemConstructClassObjectVtbl {
  555. BEGIN_INTERFACE
  556. /*** IUnknown methods ***/
  557. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  558. IWbemConstructClassObject *This,
  559. REFIID riid,
  560. void **ppvObject);
  561. ULONG (STDMETHODCALLTYPE *AddRef)(
  562. IWbemConstructClassObject *This);
  563. ULONG (STDMETHODCALLTYPE *Release)(
  564. IWbemConstructClassObject *This);
  565. /*** IWbemConstructClassObject methods ***/
  566. HRESULT (STDMETHODCALLTYPE *SetInheritanceChain)(
  567. IWbemConstructClassObject *This,
  568. LONG lNumAntecedents,
  569. LPWSTR *awszAntecedents);
  570. HRESULT (STDMETHODCALLTYPE *SetPropertyOrigin)(
  571. IWbemConstructClassObject *This,
  572. LPCWSTR wszPropertyName,
  573. LONG lOriginIndex);
  574. HRESULT (STDMETHODCALLTYPE *SetMethodOrigin)(
  575. IWbemConstructClassObject *This,
  576. LPCWSTR wszMethodName,
  577. LONG lOriginIndex);
  578. HRESULT (STDMETHODCALLTYPE *SetServerNamespace)(
  579. IWbemConstructClassObject *This,
  580. LPCWSTR wszServer,
  581. LPCWSTR wszNamespace);
  582. END_INTERFACE
  583. } IWbemConstructClassObjectVtbl;
  584. interface IWbemConstructClassObject {
  585. CONST_VTBL IWbemConstructClassObjectVtbl* lpVtbl;
  586. };
  587. #ifdef COBJMACROS
  588. #ifndef WIDL_C_INLINE_WRAPPERS
  589. /*** IUnknown methods ***/
  590. #define IWbemConstructClassObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  591. #define IWbemConstructClassObject_AddRef(This) (This)->lpVtbl->AddRef(This)
  592. #define IWbemConstructClassObject_Release(This) (This)->lpVtbl->Release(This)
  593. /*** IWbemConstructClassObject methods ***/
  594. #define IWbemConstructClassObject_SetInheritanceChain(This,lNumAntecedents,awszAntecedents) (This)->lpVtbl->SetInheritanceChain(This,lNumAntecedents,awszAntecedents)
  595. #define IWbemConstructClassObject_SetPropertyOrigin(This,wszPropertyName,lOriginIndex) (This)->lpVtbl->SetPropertyOrigin(This,wszPropertyName,lOriginIndex)
  596. #define IWbemConstructClassObject_SetMethodOrigin(This,wszMethodName,lOriginIndex) (This)->lpVtbl->SetMethodOrigin(This,wszMethodName,lOriginIndex)
  597. #define IWbemConstructClassObject_SetServerNamespace(This,wszServer,wszNamespace) (This)->lpVtbl->SetServerNamespace(This,wszServer,wszNamespace)
  598. #else
  599. /*** IUnknown methods ***/
  600. static FORCEINLINE HRESULT IWbemConstructClassObject_QueryInterface(IWbemConstructClassObject* This,REFIID riid,void **ppvObject) {
  601. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  602. }
  603. static FORCEINLINE ULONG IWbemConstructClassObject_AddRef(IWbemConstructClassObject* This) {
  604. return This->lpVtbl->AddRef(This);
  605. }
  606. static FORCEINLINE ULONG IWbemConstructClassObject_Release(IWbemConstructClassObject* This) {
  607. return This->lpVtbl->Release(This);
  608. }
  609. /*** IWbemConstructClassObject methods ***/
  610. static FORCEINLINE HRESULT IWbemConstructClassObject_SetInheritanceChain(IWbemConstructClassObject* This,LONG lNumAntecedents,LPWSTR *awszAntecedents) {
  611. return This->lpVtbl->SetInheritanceChain(This,lNumAntecedents,awszAntecedents);
  612. }
  613. static FORCEINLINE HRESULT IWbemConstructClassObject_SetPropertyOrigin(IWbemConstructClassObject* This,LPCWSTR wszPropertyName,LONG lOriginIndex) {
  614. return This->lpVtbl->SetPropertyOrigin(This,wszPropertyName,lOriginIndex);
  615. }
  616. static FORCEINLINE HRESULT IWbemConstructClassObject_SetMethodOrigin(IWbemConstructClassObject* This,LPCWSTR wszMethodName,LONG lOriginIndex) {
  617. return This->lpVtbl->SetMethodOrigin(This,wszMethodName,lOriginIndex);
  618. }
  619. static FORCEINLINE HRESULT IWbemConstructClassObject_SetServerNamespace(IWbemConstructClassObject* This,LPCWSTR wszServer,LPCWSTR wszNamespace) {
  620. return This->lpVtbl->SetServerNamespace(This,wszServer,wszNamespace);
  621. }
  622. #endif
  623. #endif
  624. #endif
  625. #endif /* __IWbemConstructClassObject_INTERFACE_DEFINED__ */
  626. /*****************************************************************************
  627. * IWbemClientTransport interface
  628. */
  629. #ifndef __IWbemClientTransport_INTERFACE_DEFINED__
  630. #define __IWbemClientTransport_INTERFACE_DEFINED__
  631. DEFINE_GUID(IID_IWbemClientTransport, 0xf7ce2e11, 0x8c90, 0x11d1, 0x9e,0x7b, 0x00,0xc0,0x4f,0xc3,0x24,0xa8);
  632. #if defined(__cplusplus) && !defined(CINTERFACE)
  633. MIDL_INTERFACE("f7ce2e11-8c90-11d1-9e7b-00c04fc324a8")
  634. IWbemClientTransport : public IUnknown
  635. {
  636. virtual HRESULT STDMETHODCALLTYPE ConnectServer(
  637. BSTR strAddressType,
  638. DWORD dwBinaryAddressLength,
  639. BYTE *abBinaryAddress,
  640. BSTR strNetworkResource,
  641. BSTR strUser,
  642. BSTR strPassword,
  643. BSTR strLocale,
  644. LONG lSecurityFlags,
  645. BSTR strAuthority,
  646. IWbemContext *pCtx,
  647. IWbemServices **ppNamespace) = 0;
  648. };
  649. #ifdef __CRT_UUID_DECL
  650. __CRT_UUID_DECL(IWbemClientTransport, 0xf7ce2e11, 0x8c90, 0x11d1, 0x9e,0x7b, 0x00,0xc0,0x4f,0xc3,0x24,0xa8)
  651. #endif
  652. #else
  653. typedef struct IWbemClientTransportVtbl {
  654. BEGIN_INTERFACE
  655. /*** IUnknown methods ***/
  656. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  657. IWbemClientTransport *This,
  658. REFIID riid,
  659. void **ppvObject);
  660. ULONG (STDMETHODCALLTYPE *AddRef)(
  661. IWbemClientTransport *This);
  662. ULONG (STDMETHODCALLTYPE *Release)(
  663. IWbemClientTransport *This);
  664. /*** IWbemClientTransport methods ***/
  665. HRESULT (STDMETHODCALLTYPE *ConnectServer)(
  666. IWbemClientTransport *This,
  667. BSTR strAddressType,
  668. DWORD dwBinaryAddressLength,
  669. BYTE *abBinaryAddress,
  670. BSTR strNetworkResource,
  671. BSTR strUser,
  672. BSTR strPassword,
  673. BSTR strLocale,
  674. LONG lSecurityFlags,
  675. BSTR strAuthority,
  676. IWbemContext *pCtx,
  677. IWbemServices **ppNamespace);
  678. END_INTERFACE
  679. } IWbemClientTransportVtbl;
  680. interface IWbemClientTransport {
  681. CONST_VTBL IWbemClientTransportVtbl* lpVtbl;
  682. };
  683. #ifdef COBJMACROS
  684. #ifndef WIDL_C_INLINE_WRAPPERS
  685. /*** IUnknown methods ***/
  686. #define IWbemClientTransport_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  687. #define IWbemClientTransport_AddRef(This) (This)->lpVtbl->AddRef(This)
  688. #define IWbemClientTransport_Release(This) (This)->lpVtbl->Release(This)
  689. /*** IWbemClientTransport methods ***/
  690. #define IWbemClientTransport_ConnectServer(This,strAddressType,dwBinaryAddressLength,abBinaryAddress,strNetworkResource,strUser,strPassword,strLocale,lSecurityFlags,strAuthority,pCtx,ppNamespace) (This)->lpVtbl->ConnectServer(This,strAddressType,dwBinaryAddressLength,abBinaryAddress,strNetworkResource,strUser,strPassword,strLocale,lSecurityFlags,strAuthority,pCtx,ppNamespace)
  691. #else
  692. /*** IUnknown methods ***/
  693. static FORCEINLINE HRESULT IWbemClientTransport_QueryInterface(IWbemClientTransport* This,REFIID riid,void **ppvObject) {
  694. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  695. }
  696. static FORCEINLINE ULONG IWbemClientTransport_AddRef(IWbemClientTransport* This) {
  697. return This->lpVtbl->AddRef(This);
  698. }
  699. static FORCEINLINE ULONG IWbemClientTransport_Release(IWbemClientTransport* This) {
  700. return This->lpVtbl->Release(This);
  701. }
  702. /*** IWbemClientTransport methods ***/
  703. static FORCEINLINE HRESULT IWbemClientTransport_ConnectServer(IWbemClientTransport* This,BSTR strAddressType,DWORD dwBinaryAddressLength,BYTE *abBinaryAddress,BSTR strNetworkResource,BSTR strUser,BSTR strPassword,BSTR strLocale,LONG lSecurityFlags,BSTR strAuthority,IWbemContext *pCtx,IWbemServices **ppNamespace) {
  704. return This->lpVtbl->ConnectServer(This,strAddressType,dwBinaryAddressLength,abBinaryAddress,strNetworkResource,strUser,strPassword,strLocale,lSecurityFlags,strAuthority,pCtx,ppNamespace);
  705. }
  706. #endif
  707. #endif
  708. #endif
  709. #endif /* __IWbemClientTransport_INTERFACE_DEFINED__ */
  710. /*****************************************************************************
  711. * IWbemClientConnectionTransport interface
  712. */
  713. #ifndef __IWbemClientConnectionTransport_INTERFACE_DEFINED__
  714. #define __IWbemClientConnectionTransport_INTERFACE_DEFINED__
  715. DEFINE_GUID(IID_IWbemClientConnectionTransport, 0xa889c72a, 0xfcc1, 0x4a9e, 0xaf,0x61, 0xed,0x07,0x13,0x33,0xfb,0x5b);
  716. #if defined(__cplusplus) && !defined(CINTERFACE)
  717. MIDL_INTERFACE("a889c72a-fcc1-4a9e-af61-ed071333fb5b")
  718. IWbemClientConnectionTransport : public IUnknown
  719. {
  720. virtual HRESULT STDMETHODCALLTYPE Open(
  721. BSTR strAddressType,
  722. DWORD dwBinaryAddressLength,
  723. BYTE *abBinaryAddress,
  724. const BSTR strObject,
  725. const BSTR strUser,
  726. const BSTR strPassword,
  727. const BSTR strLocale,
  728. LONG lFlags,
  729. IWbemContext *pCtx,
  730. REFIID riid,
  731. void **pInterface,
  732. IWbemCallResult **pCallRes) = 0;
  733. virtual HRESULT STDMETHODCALLTYPE OpenAsync(
  734. BSTR strAddressType,
  735. DWORD dwBinaryAddressLength,
  736. BYTE *abBinaryAddress,
  737. const BSTR strObject,
  738. const BSTR strUser,
  739. const BSTR strPassword,
  740. const BSTR strLocale,
  741. LONG lFlags,
  742. IWbemContext *pCtx,
  743. REFIID riid,
  744. IWbemObjectSink *pResponseHandler) = 0;
  745. virtual HRESULT STDMETHODCALLTYPE Cancel(
  746. LONG lFlags,
  747. IWbemObjectSink *pHandler) = 0;
  748. };
  749. #ifdef __CRT_UUID_DECL
  750. __CRT_UUID_DECL(IWbemClientConnectionTransport, 0xa889c72a, 0xfcc1, 0x4a9e, 0xaf,0x61, 0xed,0x07,0x13,0x33,0xfb,0x5b)
  751. #endif
  752. #else
  753. typedef struct IWbemClientConnectionTransportVtbl {
  754. BEGIN_INTERFACE
  755. /*** IUnknown methods ***/
  756. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  757. IWbemClientConnectionTransport *This,
  758. REFIID riid,
  759. void **ppvObject);
  760. ULONG (STDMETHODCALLTYPE *AddRef)(
  761. IWbemClientConnectionTransport *This);
  762. ULONG (STDMETHODCALLTYPE *Release)(
  763. IWbemClientConnectionTransport *This);
  764. /*** IWbemClientConnectionTransport methods ***/
  765. HRESULT (STDMETHODCALLTYPE *Open)(
  766. IWbemClientConnectionTransport *This,
  767. BSTR strAddressType,
  768. DWORD dwBinaryAddressLength,
  769. BYTE *abBinaryAddress,
  770. const BSTR strObject,
  771. const BSTR strUser,
  772. const BSTR strPassword,
  773. const BSTR strLocale,
  774. LONG lFlags,
  775. IWbemContext *pCtx,
  776. REFIID riid,
  777. void **pInterface,
  778. IWbemCallResult **pCallRes);
  779. HRESULT (STDMETHODCALLTYPE *OpenAsync)(
  780. IWbemClientConnectionTransport *This,
  781. BSTR strAddressType,
  782. DWORD dwBinaryAddressLength,
  783. BYTE *abBinaryAddress,
  784. const BSTR strObject,
  785. const BSTR strUser,
  786. const BSTR strPassword,
  787. const BSTR strLocale,
  788. LONG lFlags,
  789. IWbemContext *pCtx,
  790. REFIID riid,
  791. IWbemObjectSink *pResponseHandler);
  792. HRESULT (STDMETHODCALLTYPE *Cancel)(
  793. IWbemClientConnectionTransport *This,
  794. LONG lFlags,
  795. IWbemObjectSink *pHandler);
  796. END_INTERFACE
  797. } IWbemClientConnectionTransportVtbl;
  798. interface IWbemClientConnectionTransport {
  799. CONST_VTBL IWbemClientConnectionTransportVtbl* lpVtbl;
  800. };
  801. #ifdef COBJMACROS
  802. #ifndef WIDL_C_INLINE_WRAPPERS
  803. /*** IUnknown methods ***/
  804. #define IWbemClientConnectionTransport_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  805. #define IWbemClientConnectionTransport_AddRef(This) (This)->lpVtbl->AddRef(This)
  806. #define IWbemClientConnectionTransport_Release(This) (This)->lpVtbl->Release(This)
  807. /*** IWbemClientConnectionTransport methods ***/
  808. #define IWbemClientConnectionTransport_Open(This,strAddressType,dwBinaryAddressLength,abBinaryAddress,strObject,strUser,strPassword,strLocale,lFlags,pCtx,riid,pInterface,pCallRes) (This)->lpVtbl->Open(This,strAddressType,dwBinaryAddressLength,abBinaryAddress,strObject,strUser,strPassword,strLocale,lFlags,pCtx,riid,pInterface,pCallRes)
  809. #define IWbemClientConnectionTransport_OpenAsync(This,strAddressType,dwBinaryAddressLength,abBinaryAddress,strObject,strUser,strPassword,strLocale,lFlags,pCtx,riid,pResponseHandler) (This)->lpVtbl->OpenAsync(This,strAddressType,dwBinaryAddressLength,abBinaryAddress,strObject,strUser,strPassword,strLocale,lFlags,pCtx,riid,pResponseHandler)
  810. #define IWbemClientConnectionTransport_Cancel(This,lFlags,pHandler) (This)->lpVtbl->Cancel(This,lFlags,pHandler)
  811. #else
  812. /*** IUnknown methods ***/
  813. static FORCEINLINE HRESULT IWbemClientConnectionTransport_QueryInterface(IWbemClientConnectionTransport* This,REFIID riid,void **ppvObject) {
  814. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  815. }
  816. static FORCEINLINE ULONG IWbemClientConnectionTransport_AddRef(IWbemClientConnectionTransport* This) {
  817. return This->lpVtbl->AddRef(This);
  818. }
  819. static FORCEINLINE ULONG IWbemClientConnectionTransport_Release(IWbemClientConnectionTransport* This) {
  820. return This->lpVtbl->Release(This);
  821. }
  822. /*** IWbemClientConnectionTransport methods ***/
  823. static FORCEINLINE HRESULT IWbemClientConnectionTransport_Open(IWbemClientConnectionTransport* This,BSTR strAddressType,DWORD dwBinaryAddressLength,BYTE *abBinaryAddress,const BSTR strObject,const BSTR strUser,const BSTR strPassword,const BSTR strLocale,LONG lFlags,IWbemContext *pCtx,REFIID riid,void **pInterface,IWbemCallResult **pCallRes) {
  824. return This->lpVtbl->Open(This,strAddressType,dwBinaryAddressLength,abBinaryAddress,strObject,strUser,strPassword,strLocale,lFlags,pCtx,riid,pInterface,pCallRes);
  825. }
  826. static FORCEINLINE HRESULT IWbemClientConnectionTransport_OpenAsync(IWbemClientConnectionTransport* This,BSTR strAddressType,DWORD dwBinaryAddressLength,BYTE *abBinaryAddress,const BSTR strObject,const BSTR strUser,const BSTR strPassword,const BSTR strLocale,LONG lFlags,IWbemContext *pCtx,REFIID riid,IWbemObjectSink *pResponseHandler) {
  827. return This->lpVtbl->OpenAsync(This,strAddressType,dwBinaryAddressLength,abBinaryAddress,strObject,strUser,strPassword,strLocale,lFlags,pCtx,riid,pResponseHandler);
  828. }
  829. static FORCEINLINE HRESULT IWbemClientConnectionTransport_Cancel(IWbemClientConnectionTransport* This,LONG lFlags,IWbemObjectSink *pHandler) {
  830. return This->lpVtbl->Cancel(This,lFlags,pHandler);
  831. }
  832. #endif
  833. #endif
  834. #endif
  835. #endif /* __IWbemClientConnectionTransport_INTERFACE_DEFINED__ */
  836. #endif
  837. /* Begin additional prototypes for all interfaces */
  838. /* End additional prototypes */
  839. #ifdef __cplusplus
  840. }
  841. #endif
  842. #endif /* __wbemtran_h__ */