1 /** 2 * This file has no copyright assigned and is placed in the Public Domain. 3 * This file is part of the mingw-w64 runtime package. 4 * No warranty is given; refer to the file DISCLAIMER.PD within this package. 5 */ 6 #ifndef __REQUIRED_RPCNDR_H_VERSION__ 7 #define __REQUIRED_RPCNDR_H_VERSION__ 475 8 #endif 9 10 #include "rpc.h" 11 #include "rpcndr.h" 12 13 #ifndef __RPCNDR_H_VERSION__ 14 #error This stub requires an updated version of <rpcndr.h> 15 #endif 16 17 #ifndef COM_NO_WINDOWS_H 18 #include "windows.h" 19 #include "ole2.h" 20 #endif 21 22 #ifndef __wbemtran_h__ 23 #define __wbemtran_h__ 24 25 #ifndef __IWbemTransport_FWD_DEFINED__ 26 #define __IWbemTransport_FWD_DEFINED__ 27 typedef struct IWbemTransport IWbemTransport; 28 #endif 29 30 #ifndef __IWbemLevel1Login_FWD_DEFINED__ 31 #define __IWbemLevel1Login_FWD_DEFINED__ 32 typedef struct IWbemLevel1Login IWbemLevel1Login; 33 #endif 34 35 #ifndef __IWbemConnectorLogin_FWD_DEFINED__ 36 #define __IWbemConnectorLogin_FWD_DEFINED__ 37 typedef struct IWbemConnectorLogin IWbemConnectorLogin; 38 #endif 39 40 #ifndef __IWbemAddressResolution_FWD_DEFINED__ 41 #define __IWbemAddressResolution_FWD_DEFINED__ 42 typedef struct IWbemAddressResolution IWbemAddressResolution; 43 #endif 44 45 #ifndef __WbemLevel1Login_FWD_DEFINED__ 46 #define __WbemLevel1Login_FWD_DEFINED__ 47 #ifdef __cplusplus 48 typedef class WbemLevel1Login WbemLevel1Login; 49 #else 50 typedef struct WbemLevel1Login WbemLevel1Login; 51 #endif 52 #endif 53 54 #ifndef __WbemLocalAddrRes_FWD_DEFINED__ 55 #define __WbemLocalAddrRes_FWD_DEFINED__ 56 #ifdef __cplusplus 57 typedef class WbemLocalAddrRes WbemLocalAddrRes; 58 #else 59 typedef struct WbemLocalAddrRes WbemLocalAddrRes; 60 #endif 61 #endif 62 63 #ifndef __WbemUninitializedClassObject_FWD_DEFINED__ 64 #define __WbemUninitializedClassObject_FWD_DEFINED__ 65 #ifdef __cplusplus 66 typedef class WbemUninitializedClassObject WbemUninitializedClassObject; 67 #else 68 typedef struct WbemUninitializedClassObject WbemUninitializedClassObject; 69 #endif 70 #endif 71 72 #ifndef __IWbemClientTransport_FWD_DEFINED__ 73 #define __IWbemClientTransport_FWD_DEFINED__ 74 typedef struct IWbemClientTransport IWbemClientTransport; 75 #endif 76 77 #ifndef __IWbemClientConnectionTransport_FWD_DEFINED__ 78 #define __IWbemClientConnectionTransport_FWD_DEFINED__ 79 typedef struct IWbemClientConnectionTransport IWbemClientConnectionTransport; 80 #endif 81 82 #ifndef __WbemDCOMTransport_FWD_DEFINED__ 83 #define __WbemDCOMTransport_FWD_DEFINED__ 84 #ifdef __cplusplus 85 typedef class WbemDCOMTransport WbemDCOMTransport; 86 #else 87 typedef struct WbemDCOMTransport WbemDCOMTransport; 88 #endif 89 #endif 90 91 #ifndef __IWbemLevel1Login_FWD_DEFINED__ 92 #define __IWbemLevel1Login_FWD_DEFINED__ 93 typedef struct IWbemLevel1Login IWbemLevel1Login; 94 #endif 95 96 #ifndef __IWbemConnectorLogin_FWD_DEFINED__ 97 #define __IWbemConnectorLogin_FWD_DEFINED__ 98 typedef struct IWbemConnectorLogin IWbemConnectorLogin; 99 #endif 100 101 #ifndef __IWbemAddressResolution_FWD_DEFINED__ 102 #define __IWbemAddressResolution_FWD_DEFINED__ 103 typedef struct IWbemAddressResolution IWbemAddressResolution; 104 #endif 105 106 #ifndef __IWbemTransport_FWD_DEFINED__ 107 #define __IWbemTransport_FWD_DEFINED__ 108 typedef struct IWbemTransport IWbemTransport; 109 #endif 110 111 #ifndef __IWbemConstructClassObject_FWD_DEFINED__ 112 #define __IWbemConstructClassObject_FWD_DEFINED__ 113 typedef struct IWbemConstructClassObject IWbemConstructClassObject; 114 #endif 115 116 #ifndef __IWbemClientTransport_FWD_DEFINED__ 117 #define __IWbemClientTransport_FWD_DEFINED__ 118 typedef struct IWbemClientTransport IWbemClientTransport; 119 #endif 120 121 #ifndef __IWbemClientConnectionTransport_FWD_DEFINED__ 122 #define __IWbemClientConnectionTransport_FWD_DEFINED__ 123 typedef struct IWbemClientConnectionTransport IWbemClientConnectionTransport; 124 #endif 125 126 #include "objidl.h" 127 #include "oleidl.h" 128 #include "oaidl.h" 129 #include "wbemcli.h" 130 131 #ifdef __cplusplus 132 extern "C" { 133 #endif 134 135 #ifndef __MIDL_user_allocate_free_DEFINED__ 136 #define __MIDL_user_allocate_free_DEFINED__ 137 void *__RPC_API MIDL_user_allocate(size_t); 138 void __RPC_API MIDL_user_free(void *); 139 #endif 140 141 extern RPC_IF_HANDLE __MIDL_itf_wbemtran_0000_v0_0_c_ifspec; 142 extern RPC_IF_HANDLE __MIDL_itf_wbemtran_0000_v0_0_s_ifspec; 143 144 #ifndef __WbemTransports_v1_LIBRARY_DEFINED__ 145 #define __WbemTransports_v1_LIBRARY_DEFINED__ 146 typedef enum tag_WBEM_LOGIN_TYPE { 147 WBEM_FLAG_INPROC_LOGIN = 0,WBEM_FLAG_LOCAL_LOGIN = 1,WBEM_FLAG_REMOTE_LOGIN = 2,WBEM_AUTHENTICATION_METHOD_MASK = 0xf, 148 WBEM_FLAG_USE_MULTIPLE_CHALLENGES = 0x10 149 } WBEM_LOGIN_TYPE; 150 151 typedef BYTE *WBEM_128BITS; 152 153 EXTERN_C const IID LIBID_WbemTransports_v1; 154 #ifndef __IWbemTransport_INTERFACE_DEFINED__ 155 #define __IWbemTransport_INTERFACE_DEFINED__ 156 EXTERN_C const IID IID_IWbemTransport; 157 #if defined(__cplusplus) && !defined(CINTERFACE) 158 struct IWbemTransport : public IUnknown { 159 public: 160 virtual HRESULT WINAPI Initialize(void) = 0; 161 }; 162 #else 163 typedef struct IWbemTransportVtbl { 164 BEGIN_INTERFACE 165 HRESULT (WINAPI *QueryInterface)(IWbemTransport *This,REFIID riid,void **ppvObject); 166 ULONG (WINAPI *AddRef)(IWbemTransport *This); 167 ULONG (WINAPI *Release)(IWbemTransport *This); 168 HRESULT (WINAPI *Initialize)(IWbemTransport *This); 169 END_INTERFACE 170 } IWbemTransportVtbl; 171 struct IWbemTransport { 172 CONST_VTBL struct IWbemTransportVtbl *lpVtbl; 173 }; 174 #ifdef COBJMACROS 175 #define IWbemTransport_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 176 #define IWbemTransport_AddRef(This) (This)->lpVtbl->AddRef(This) 177 #define IWbemTransport_Release(This) (This)->lpVtbl->Release(This) 178 #define IWbemTransport_Initialize(This) (This)->lpVtbl->Initialize(This) 179 #endif 180 #endif 181 HRESULT WINAPI IWbemTransport_Initialize_Proxy(IWbemTransport *This); 182 void __RPC_STUB IWbemTransport_Initialize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 183 #endif 184 185 #ifndef __IWbemLevel1Login_INTERFACE_DEFINED__ 186 #define __IWbemLevel1Login_INTERFACE_DEFINED__ 187 EXTERN_C const IID IID_IWbemLevel1Login; 188 #if defined(__cplusplus) && !defined(CINTERFACE) 189 struct IWbemLevel1Login : public IUnknown { 190 public: 191 virtual HRESULT WINAPI EstablishPosition(LPWSTR wszClientMachineName,DWORD dwProcessId,DWORD *phAuthEventHandle) = 0; 192 virtual HRESULT WINAPI RequestChallenge(LPWSTR wszNetworkResource,LPWSTR wszUser,WBEM_128BITS Nonce) = 0; 193 virtual HRESULT WINAPI WBEMLogin(LPWSTR wszPreferredLocale,WBEM_128BITS AccessToken,__LONG32 lFlags,IWbemContext *pCtx,IWbemServices **ppNamespace) = 0; 194 virtual HRESULT WINAPI NTLMLogin(LPWSTR wszNetworkResource,LPWSTR wszPreferredLocale,__LONG32 lFlags,IWbemContext *pCtx,IWbemServices **ppNamespace) = 0; 195 }; 196 #else 197 typedef struct IWbemLevel1LoginVtbl { 198 BEGIN_INTERFACE 199 HRESULT (WINAPI *QueryInterface)(IWbemLevel1Login *This,REFIID riid,void **ppvObject); 200 ULONG (WINAPI *AddRef)(IWbemLevel1Login *This); 201 ULONG (WINAPI *Release)(IWbemLevel1Login *This); 202 HRESULT (WINAPI *EstablishPosition)(IWbemLevel1Login *This,LPWSTR wszClientMachineName,DWORD dwProcessId,DWORD *phAuthEventHandle); 203 HRESULT (WINAPI *RequestChallenge)(IWbemLevel1Login *This,LPWSTR wszNetworkResource,LPWSTR wszUser,WBEM_128BITS Nonce); 204 HRESULT (WINAPI *WBEMLogin)(IWbemLevel1Login *This,LPWSTR wszPreferredLocale,WBEM_128BITS AccessToken,__LONG32 lFlags,IWbemContext *pCtx,IWbemServices **ppNamespace); 205 HRESULT (WINAPI *NTLMLogin)(IWbemLevel1Login *This,LPWSTR wszNetworkResource,LPWSTR wszPreferredLocale,__LONG32 lFlags,IWbemContext *pCtx,IWbemServices **ppNamespace); 206 END_INTERFACE 207 } IWbemLevel1LoginVtbl; 208 struct IWbemLevel1Login { 209 CONST_VTBL struct IWbemLevel1LoginVtbl *lpVtbl; 210 }; 211 #ifdef COBJMACROS 212 #define IWbemLevel1Login_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 213 #define IWbemLevel1Login_AddRef(This) (This)->lpVtbl->AddRef(This) 214 #define IWbemLevel1Login_Release(This) (This)->lpVtbl->Release(This) 215 #define IWbemLevel1Login_EstablishPosition(This,wszClientMachineName,dwProcessId,phAuthEventHandle) (This)->lpVtbl->EstablishPosition(This,wszClientMachineName,dwProcessId,phAuthEventHandle) 216 #define IWbemLevel1Login_RequestChallenge(This,wszNetworkResource,wszUser,Nonce) (This)->lpVtbl->RequestChallenge(This,wszNetworkResource,wszUser,Nonce) 217 #define IWbemLevel1Login_WBEMLogin(This,wszPreferredLocale,AccessToken,lFlags,pCtx,ppNamespace) (This)->lpVtbl->WBEMLogin(This,wszPreferredLocale,AccessToken,lFlags,pCtx,ppNamespace) 218 #define IWbemLevel1Login_NTLMLogin(This,wszNetworkResource,wszPreferredLocale,lFlags,pCtx,ppNamespace) (This)->lpVtbl->NTLMLogin(This,wszNetworkResource,wszPreferredLocale,lFlags,pCtx,ppNamespace) 219 #endif 220 #endif 221 HRESULT WINAPI IWbemLevel1Login_EstablishPosition_Proxy(IWbemLevel1Login *This,LPWSTR wszClientMachineName,DWORD dwProcessId,DWORD *phAuthEventHandle); 222 void __RPC_STUB IWbemLevel1Login_EstablishPosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 223 HRESULT WINAPI IWbemLevel1Login_RequestChallenge_Proxy(IWbemLevel1Login *This,LPWSTR wszNetworkResource,LPWSTR wszUser,WBEM_128BITS Nonce); 224 void __RPC_STUB IWbemLevel1Login_RequestChallenge_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 225 HRESULT WINAPI IWbemLevel1Login_WBEMLogin_Proxy(IWbemLevel1Login *This,LPWSTR wszPreferredLocale,WBEM_128BITS AccessToken,__LONG32 lFlags,IWbemContext *pCtx,IWbemServices **ppNamespace); 226 void __RPC_STUB IWbemLevel1Login_WBEMLogin_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 227 HRESULT WINAPI IWbemLevel1Login_NTLMLogin_Proxy(IWbemLevel1Login *This,LPWSTR wszNetworkResource,LPWSTR wszPreferredLocale,__LONG32 lFlags,IWbemContext *pCtx,IWbemServices **ppNamespace); 228 void __RPC_STUB IWbemLevel1Login_NTLMLogin_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 229 #endif 230 231 #ifndef __IWbemConnectorLogin_INTERFACE_DEFINED__ 232 #define __IWbemConnectorLogin_INTERFACE_DEFINED__ 233 EXTERN_C const IID IID_IWbemConnectorLogin; 234 #if defined(__cplusplus) && !defined(CINTERFACE) 235 struct IWbemConnectorLogin : public IUnknown { 236 public: 237 virtual HRESULT WINAPI ConnectorLogin(LPWSTR wszNetworkResource,LPWSTR wszPreferredLocale,__LONG32 lFlags,IWbemContext *pCtx,REFIID riid,void **pInterface) = 0; 238 }; 239 #else 240 typedef struct IWbemConnectorLoginVtbl { 241 BEGIN_INTERFACE 242 HRESULT (WINAPI *QueryInterface)(IWbemConnectorLogin *This,REFIID riid,void **ppvObject); 243 ULONG (WINAPI *AddRef)(IWbemConnectorLogin *This); 244 ULONG (WINAPI *Release)(IWbemConnectorLogin *This); 245 HRESULT (WINAPI *ConnectorLogin)(IWbemConnectorLogin *This,LPWSTR wszNetworkResource,LPWSTR wszPreferredLocale,__LONG32 lFlags,IWbemContext *pCtx,REFIID riid,void **pInterface); 246 END_INTERFACE 247 } IWbemConnectorLoginVtbl; 248 struct IWbemConnectorLogin { 249 CONST_VTBL struct IWbemConnectorLoginVtbl *lpVtbl; 250 }; 251 #ifdef COBJMACROS 252 #define IWbemConnectorLogin_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 253 #define IWbemConnectorLogin_AddRef(This) (This)->lpVtbl->AddRef(This) 254 #define IWbemConnectorLogin_Release(This) (This)->lpVtbl->Release(This) 255 #define IWbemConnectorLogin_ConnectorLogin(This,wszNetworkResource,wszPreferredLocale,lFlags,pCtx,riid,pInterface) (This)->lpVtbl->ConnectorLogin(This,wszNetworkResource,wszPreferredLocale,lFlags,pCtx,riid,pInterface) 256 #endif 257 #endif 258 HRESULT WINAPI IWbemConnectorLogin_ConnectorLogin_Proxy(IWbemConnectorLogin *This,LPWSTR wszNetworkResource,LPWSTR wszPreferredLocale,__LONG32 lFlags,IWbemContext *pCtx,REFIID riid,void **pInterface); 259 void __RPC_STUB IWbemConnectorLogin_ConnectorLogin_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 260 #endif 261 262 #ifndef __IWbemAddressResolution_INTERFACE_DEFINED__ 263 #define __IWbemAddressResolution_INTERFACE_DEFINED__ 264 EXTERN_C const IID IID_IWbemAddressResolution; 265 #if defined(__cplusplus) && !defined(CINTERFACE) 266 struct IWbemAddressResolution : public IUnknown { 267 public: 268 virtual HRESULT WINAPI Resolve(LPWSTR wszNamespacePath,LPWSTR wszAddressType,DWORD *pdwAddressLength,BYTE **pabBinaryAddress) = 0; 269 }; 270 #else 271 typedef struct IWbemAddressResolutionVtbl { 272 BEGIN_INTERFACE 273 HRESULT (WINAPI *QueryInterface)(IWbemAddressResolution *This,REFIID riid,void **ppvObject); 274 ULONG (WINAPI *AddRef)(IWbemAddressResolution *This); 275 ULONG (WINAPI *Release)(IWbemAddressResolution *This); 276 HRESULT (WINAPI *Resolve)(IWbemAddressResolution *This,LPWSTR wszNamespacePath,LPWSTR wszAddressType,DWORD *pdwAddressLength,BYTE **pabBinaryAddress); 277 END_INTERFACE 278 } IWbemAddressResolutionVtbl; 279 struct IWbemAddressResolution { 280 CONST_VTBL struct IWbemAddressResolutionVtbl *lpVtbl; 281 }; 282 #ifdef COBJMACROS 283 #define IWbemAddressResolution_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 284 #define IWbemAddressResolution_AddRef(This) (This)->lpVtbl->AddRef(This) 285 #define IWbemAddressResolution_Release(This) (This)->lpVtbl->Release(This) 286 #define IWbemAddressResolution_Resolve(This,wszNamespacePath,wszAddressType,pdwAddressLength,pabBinaryAddress) (This)->lpVtbl->Resolve(This,wszNamespacePath,wszAddressType,pdwAddressLength,pabBinaryAddress) 287 #endif 288 #endif 289 HRESULT WINAPI IWbemAddressResolution_Resolve_Proxy(IWbemAddressResolution *This,LPWSTR wszNamespacePath,LPWSTR wszAddressType,DWORD *pdwAddressLength,BYTE **pabBinaryAddress); 290 void __RPC_STUB IWbemAddressResolution_Resolve_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 291 #endif 292 293 EXTERN_C const CLSID CLSID_WbemLevel1Login; 294 #ifdef __cplusplus 295 class WbemLevel1Login; 296 #endif 297 EXTERN_C const CLSID CLSID_WbemLocalAddrRes; 298 #ifdef __cplusplus 299 class WbemLocalAddrRes; 300 #endif 301 EXTERN_C const CLSID CLSID_WbemUninitializedClassObject; 302 #ifdef __cplusplus 303 class WbemUninitializedClassObject; 304 #endif 305 306 #ifndef __IWbemClientTransport_INTERFACE_DEFINED__ 307 #define __IWbemClientTransport_INTERFACE_DEFINED__ 308 EXTERN_C const IID IID_IWbemClientTransport; 309 #if defined(__cplusplus) && !defined(CINTERFACE) 310 struct IWbemClientTransport : public IUnknown { 311 public: 312 virtual HRESULT WINAPI ConnectServer(BSTR strAddressType,DWORD dwBinaryAddressLength,BYTE *abBinaryAddress,BSTR strNetworkResource,BSTR strUser,BSTR strPassword,BSTR strLocale,__LONG32 lSecurityFlags,BSTR strAuthority,IWbemContext *pCtx,IWbemServices **ppNamespace) = 0; 313 }; 314 #else 315 typedef struct IWbemClientTransportVtbl { 316 BEGIN_INTERFACE 317 HRESULT (WINAPI *QueryInterface)(IWbemClientTransport *This,REFIID riid,void **ppvObject); 318 ULONG (WINAPI *AddRef)(IWbemClientTransport *This); 319 ULONG (WINAPI *Release)(IWbemClientTransport *This); 320 HRESULT (WINAPI *ConnectServer)(IWbemClientTransport *This,BSTR strAddressType,DWORD dwBinaryAddressLength,BYTE *abBinaryAddress,BSTR strNetworkResource,BSTR strUser,BSTR strPassword,BSTR strLocale,__LONG32 lSecurityFlags,BSTR strAuthority,IWbemContext *pCtx,IWbemServices **ppNamespace); 321 END_INTERFACE 322 } IWbemClientTransportVtbl; 323 struct IWbemClientTransport { 324 CONST_VTBL struct IWbemClientTransportVtbl *lpVtbl; 325 }; 326 #ifdef COBJMACROS 327 #define IWbemClientTransport_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 328 #define IWbemClientTransport_AddRef(This) (This)->lpVtbl->AddRef(This) 329 #define IWbemClientTransport_Release(This) (This)->lpVtbl->Release(This) 330 #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) 331 #endif 332 #endif 333 HRESULT WINAPI IWbemClientTransport_ConnectServer_Proxy(IWbemClientTransport *This,BSTR strAddressType,DWORD dwBinaryAddressLength,BYTE *abBinaryAddress,BSTR strNetworkResource,BSTR strUser,BSTR strPassword,BSTR strLocale,__LONG32 lSecurityFlags,BSTR strAuthority,IWbemContext *pCtx,IWbemServices **ppNamespace); 334 void __RPC_STUB IWbemClientTransport_ConnectServer_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 335 #endif 336 337 #ifndef __IWbemClientConnectionTransport_INTERFACE_DEFINED__ 338 #define __IWbemClientConnectionTransport_INTERFACE_DEFINED__ 339 EXTERN_C const IID IID_IWbemClientConnectionTransport; 340 #if defined(__cplusplus) && !defined(CINTERFACE) 341 struct IWbemClientConnectionTransport : public IUnknown { 342 public: 343 virtual HRESULT WINAPI Open(BSTR strAddressType,DWORD dwBinaryAddressLength,BYTE *abBinaryAddress,const BSTR strObject,const BSTR strUser,const BSTR strPassword,const BSTR strLocale,__LONG32 lFlags,IWbemContext *pCtx,REFIID riid,void **pInterface,IWbemCallResult **pCallRes) = 0; 344 virtual HRESULT WINAPI OpenAsync(BSTR strAddressType,DWORD dwBinaryAddressLength,BYTE *abBinaryAddress,const BSTR strObject,const BSTR strUser,const BSTR strPassword,const BSTR strLocale,__LONG32 lFlags,IWbemContext *pCtx,REFIID riid,IWbemObjectSink *pResponseHandler) = 0; 345 virtual HRESULT WINAPI Cancel(__LONG32 lFlags,IWbemObjectSink *pHandler) = 0; 346 }; 347 #else 348 typedef struct IWbemClientConnectionTransportVtbl { 349 BEGIN_INTERFACE 350 HRESULT (WINAPI *QueryInterface)(IWbemClientConnectionTransport *This,REFIID riid,void **ppvObject); 351 ULONG (WINAPI *AddRef)(IWbemClientConnectionTransport *This); 352 ULONG (WINAPI *Release)(IWbemClientConnectionTransport *This); 353 HRESULT (WINAPI *Open)(IWbemClientConnectionTransport *This,BSTR strAddressType,DWORD dwBinaryAddressLength,BYTE *abBinaryAddress,const BSTR strObject,const BSTR strUser,const BSTR strPassword,const BSTR strLocale,__LONG32 lFlags,IWbemContext *pCtx,REFIID riid,void **pInterface,IWbemCallResult **pCallRes); 354 HRESULT (WINAPI *OpenAsync)(IWbemClientConnectionTransport *This,BSTR strAddressType,DWORD dwBinaryAddressLength,BYTE *abBinaryAddress,const BSTR strObject,const BSTR strUser,const BSTR strPassword,const BSTR strLocale,__LONG32 lFlags,IWbemContext *pCtx,REFIID riid,IWbemObjectSink *pResponseHandler); 355 HRESULT (WINAPI *Cancel)(IWbemClientConnectionTransport *This,__LONG32 lFlags,IWbemObjectSink *pHandler); 356 END_INTERFACE 357 } IWbemClientConnectionTransportVtbl; 358 struct IWbemClientConnectionTransport { 359 CONST_VTBL struct IWbemClientConnectionTransportVtbl *lpVtbl; 360 }; 361 #ifdef COBJMACROS 362 #define IWbemClientConnectionTransport_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 363 #define IWbemClientConnectionTransport_AddRef(This) (This)->lpVtbl->AddRef(This) 364 #define IWbemClientConnectionTransport_Release(This) (This)->lpVtbl->Release(This) 365 #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) 366 #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) 367 #define IWbemClientConnectionTransport_Cancel(This,lFlags,pHandler) (This)->lpVtbl->Cancel(This,lFlags,pHandler) 368 #endif 369 #endif 370 HRESULT WINAPI IWbemClientConnectionTransport_Open_Proxy(IWbemClientConnectionTransport *This,BSTR strAddressType,DWORD dwBinaryAddressLength,BYTE *abBinaryAddress,const BSTR strObject,const BSTR strUser,const BSTR strPassword,const BSTR strLocale,__LONG32 lFlags,IWbemContext *pCtx,REFIID riid,void **pInterface,IWbemCallResult **pCallRes); 371 void __RPC_STUB IWbemClientConnectionTransport_Open_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 372 HRESULT WINAPI IWbemClientConnectionTransport_OpenAsync_Proxy(IWbemClientConnectionTransport *This,BSTR strAddressType,DWORD dwBinaryAddressLength,BYTE *abBinaryAddress,const BSTR strObject,const BSTR strUser,const BSTR strPassword,const BSTR strLocale,__LONG32 lFlags,IWbemContext *pCtx,REFIID riid,IWbemObjectSink *pResponseHandler); 373 void __RPC_STUB IWbemClientConnectionTransport_OpenAsync_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 374 HRESULT WINAPI IWbemClientConnectionTransport_Cancel_Proxy(IWbemClientConnectionTransport *This,__LONG32 lFlags,IWbemObjectSink *pHandler); 375 void __RPC_STUB IWbemClientConnectionTransport_Cancel_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 376 #endif 377 378 EXTERN_C const CLSID CLSID_WbemDCOMTransport; 379 #ifdef __cplusplus 380 class WbemDCOMTransport; 381 #endif 382 #endif 383 384 #ifndef __IWbemConstructClassObject_INTERFACE_DEFINED__ 385 #define __IWbemConstructClassObject_INTERFACE_DEFINED__ 386 EXTERN_C const IID IID_IWbemConstructClassObject; 387 #if defined(__cplusplus) && !defined(CINTERFACE) 388 struct IWbemConstructClassObject : public IUnknown { 389 public: 390 virtual HRESULT WINAPI SetInheritanceChain(__LONG32 lNumAntecedents,LPWSTR *awszAntecedents) = 0; 391 virtual HRESULT WINAPI SetPropertyOrigin(LPCWSTR wszPropertyName,__LONG32 lOriginIndex) = 0; 392 virtual HRESULT WINAPI SetMethodOrigin(LPCWSTR wszMethodName,__LONG32 lOriginIndex) = 0; 393 virtual HRESULT WINAPI SetServerNamespace(LPCWSTR wszServer,LPCWSTR wszNamespace) = 0; 394 }; 395 #else 396 typedef struct IWbemConstructClassObjectVtbl { 397 BEGIN_INTERFACE 398 HRESULT (WINAPI *QueryInterface)(IWbemConstructClassObject *This,REFIID riid,void **ppvObject); 399 ULONG (WINAPI *AddRef)(IWbemConstructClassObject *This); 400 ULONG (WINAPI *Release)(IWbemConstructClassObject *This); 401 HRESULT (WINAPI *SetInheritanceChain)(IWbemConstructClassObject *This,__LONG32 lNumAntecedents,LPWSTR *awszAntecedents); 402 HRESULT (WINAPI *SetPropertyOrigin)(IWbemConstructClassObject *This,LPCWSTR wszPropertyName,__LONG32 lOriginIndex); 403 HRESULT (WINAPI *SetMethodOrigin)(IWbemConstructClassObject *This,LPCWSTR wszMethodName,__LONG32 lOriginIndex); 404 HRESULT (WINAPI *SetServerNamespace)(IWbemConstructClassObject *This,LPCWSTR wszServer,LPCWSTR wszNamespace); 405 END_INTERFACE 406 } IWbemConstructClassObjectVtbl; 407 struct IWbemConstructClassObject { 408 CONST_VTBL struct IWbemConstructClassObjectVtbl *lpVtbl; 409 }; 410 #ifdef COBJMACROS 411 #define IWbemConstructClassObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 412 #define IWbemConstructClassObject_AddRef(This) (This)->lpVtbl->AddRef(This) 413 #define IWbemConstructClassObject_Release(This) (This)->lpVtbl->Release(This) 414 #define IWbemConstructClassObject_SetInheritanceChain(This,lNumAntecedents,awszAntecedents) (This)->lpVtbl->SetInheritanceChain(This,lNumAntecedents,awszAntecedents) 415 #define IWbemConstructClassObject_SetPropertyOrigin(This,wszPropertyName,lOriginIndex) (This)->lpVtbl->SetPropertyOrigin(This,wszPropertyName,lOriginIndex) 416 #define IWbemConstructClassObject_SetMethodOrigin(This,wszMethodName,lOriginIndex) (This)->lpVtbl->SetMethodOrigin(This,wszMethodName,lOriginIndex) 417 #define IWbemConstructClassObject_SetServerNamespace(This,wszServer,wszNamespace) (This)->lpVtbl->SetServerNamespace(This,wszServer,wszNamespace) 418 #endif 419 #endif 420 HRESULT WINAPI IWbemConstructClassObject_SetInheritanceChain_Proxy(IWbemConstructClassObject *This,__LONG32 lNumAntecedents,LPWSTR *awszAntecedents); 421 void __RPC_STUB IWbemConstructClassObject_SetInheritanceChain_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 422 HRESULT WINAPI IWbemConstructClassObject_SetPropertyOrigin_Proxy(IWbemConstructClassObject *This,LPCWSTR wszPropertyName,__LONG32 lOriginIndex); 423 void __RPC_STUB IWbemConstructClassObject_SetPropertyOrigin_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 424 HRESULT WINAPI IWbemConstructClassObject_SetMethodOrigin_Proxy(IWbemConstructClassObject *This,LPCWSTR wszMethodName,__LONG32 lOriginIndex); 425 void __RPC_STUB IWbemConstructClassObject_SetMethodOrigin_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 426 HRESULT WINAPI IWbemConstructClassObject_SetServerNamespace_Proxy(IWbemConstructClassObject *This,LPCWSTR wszServer,LPCWSTR wszNamespace); 427 void __RPC_STUB IWbemConstructClassObject_SetServerNamespace_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 428 #endif 429 430 #ifdef __cplusplus 431 } 432 #endif 433 #endif 434