1 /*** Autogenerated by WIDL 1.6 from include/wbemtran.idl - Do not edit ***/ 2 3 #ifndef __REQUIRED_RPCNDR_H_VERSION__ 4 #define __REQUIRED_RPCNDR_H_VERSION__ 475 5 #endif 6 7 #include <rpc.h> 8 #include <rpcndr.h> 9 10 #ifndef COM_NO_WINDOWS_H 11 #include <windows.h> 12 #include <ole2.h> 13 #endif 14 15 #ifndef __wbemtran_h__ 16 #define __wbemtran_h__ 17 18 /* Forward declarations */ 19 20 #ifndef __WbemLevel1Login_FWD_DEFINED__ 21 #define __WbemLevel1Login_FWD_DEFINED__ 22 #ifdef __cplusplus 23 typedef class WbemLevel1Login WbemLevel1Login; 24 #else 25 typedef struct WbemLevel1Login WbemLevel1Login; 26 #endif /* defined __cplusplus */ 27 #endif /* defined __WbemLevel1Login_FWD_DEFINED__ */ 28 29 #ifndef __WbemLocalAddrRes_FWD_DEFINED__ 30 #define __WbemLocalAddrRes_FWD_DEFINED__ 31 #ifdef __cplusplus 32 typedef class WbemLocalAddrRes WbemLocalAddrRes; 33 #else 34 typedef struct WbemLocalAddrRes WbemLocalAddrRes; 35 #endif /* defined __cplusplus */ 36 #endif /* defined __WbemLocalAddrRes_FWD_DEFINED__ */ 37 38 #ifndef __WbemUninitializedClassObject_FWD_DEFINED__ 39 #define __WbemUninitializedClassObject_FWD_DEFINED__ 40 #ifdef __cplusplus 41 typedef class WbemUninitializedClassObject WbemUninitializedClassObject; 42 #else 43 typedef struct WbemUninitializedClassObject WbemUninitializedClassObject; 44 #endif /* defined __cplusplus */ 45 #endif /* defined __WbemUninitializedClassObject_FWD_DEFINED__ */ 46 47 #ifndef __WbemDCOMTransport_FWD_DEFINED__ 48 #define __WbemDCOMTransport_FWD_DEFINED__ 49 #ifdef __cplusplus 50 typedef class WbemDCOMTransport WbemDCOMTransport; 51 #else 52 typedef struct WbemDCOMTransport WbemDCOMTransport; 53 #endif /* defined __cplusplus */ 54 #endif /* defined __WbemDCOMTransport_FWD_DEFINED__ */ 55 56 #ifndef __IWbemLevel1Login_FWD_DEFINED__ 57 #define __IWbemLevel1Login_FWD_DEFINED__ 58 typedef interface IWbemLevel1Login IWbemLevel1Login; 59 #endif 60 61 #ifndef __IWbemConnectorLogin_FWD_DEFINED__ 62 #define __IWbemConnectorLogin_FWD_DEFINED__ 63 typedef interface IWbemConnectorLogin IWbemConnectorLogin; 64 #endif 65 66 #ifndef __IWbemAddressResolution_FWD_DEFINED__ 67 #define __IWbemAddressResolution_FWD_DEFINED__ 68 typedef interface IWbemAddressResolution IWbemAddressResolution; 69 #endif 70 71 #ifndef __IWbemTransport_FWD_DEFINED__ 72 #define __IWbemTransport_FWD_DEFINED__ 73 typedef interface IWbemTransport IWbemTransport; 74 #endif 75 76 #ifndef __IWbemConstructClassObject_FWD_DEFINED__ 77 #define __IWbemConstructClassObject_FWD_DEFINED__ 78 typedef interface IWbemConstructClassObject IWbemConstructClassObject; 79 #endif 80 81 #ifndef __IWbemClientTransport_FWD_DEFINED__ 82 #define __IWbemClientTransport_FWD_DEFINED__ 83 typedef interface IWbemClientTransport IWbemClientTransport; 84 #endif 85 86 #ifndef __IWbemClientConnectionTransport_FWD_DEFINED__ 87 #define __IWbemClientConnectionTransport_FWD_DEFINED__ 88 typedef interface IWbemClientConnectionTransport IWbemClientConnectionTransport; 89 #endif 90 91 /* Headers for imported files */ 92 93 #include <objidl.h> 94 #include <oleidl.h> 95 #include <oaidl.h> 96 #include <wbemcli.h> 97 98 #ifdef __cplusplus 99 extern "C" { 100 #endif 101 102 /** 103 * This file is part of the mingw-w64 runtime package. 104 * No warranty is given; refer to the file DISCLAIMER within this package. 105 */ 106 107 #include <winapifamily.h> 108 109 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) 110 #ifndef __IWbemTransport_FWD_DEFINED__ 111 #define __IWbemTransport_FWD_DEFINED__ 112 typedef interface IWbemTransport IWbemTransport; 113 #endif 114 115 #ifndef __IWbemLevel1Login_FWD_DEFINED__ 116 #define __IWbemLevel1Login_FWD_DEFINED__ 117 typedef interface IWbemLevel1Login IWbemLevel1Login; 118 #endif 119 120 #ifndef __IWbemConnectorLogin_FWD_DEFINED__ 121 #define __IWbemConnectorLogin_FWD_DEFINED__ 122 typedef interface IWbemConnectorLogin IWbemConnectorLogin; 123 #endif 124 125 #ifndef __IWbemAddressResolution_FWD_DEFINED__ 126 #define __IWbemAddressResolution_FWD_DEFINED__ 127 typedef interface IWbemAddressResolution IWbemAddressResolution; 128 #endif 129 130 #ifndef __IWbemClientTransport_FWD_DEFINED__ 131 #define __IWbemClientTransport_FWD_DEFINED__ 132 typedef interface IWbemClientTransport IWbemClientTransport; 133 #endif 134 135 #ifndef __IWbemClientConnectionTransport_FWD_DEFINED__ 136 #define __IWbemClientConnectionTransport_FWD_DEFINED__ 137 typedef interface IWbemClientConnectionTransport IWbemClientConnectionTransport; 138 #endif 139 140 typedef enum tag_WBEM_LOGIN_TYPE { 141 WBEM_FLAG_INPROC_LOGIN = 0, 142 WBEM_FLAG_LOCAL_LOGIN = 1, 143 WBEM_FLAG_REMOTE_LOGIN = 2, 144 WBEM_AUTHENTICATION_METHOD_MASK = 0xf, 145 WBEM_FLAG_USE_MULTIPLE_CHALLENGES = 0x10 146 } WBEM_LOGIN_TYPE; 147 typedef BYTE *WBEM_128BITS; 148 149 DEFINE_GUID(LIBID_WbemTransports_v1, 0x027947f3, 0xd731, 0x11ce, 0xa3,0x57, 0x00,0x00,0x00,0x00,0x00,0x01); 150 151 /***************************************************************************** 152 * WbemLevel1Login coclass 153 */ 154 155 DEFINE_GUID(CLSID_WbemLevel1Login, 0x8bc3f05e, 0xd86b, 0x11d0, 0xa0,0x75, 0x00,0xc0,0x4f,0xb6,0x88,0x20); 156 157 #ifdef __cplusplus 158 class DECLSPEC_UUID("8bc3f05e-d86b-11d0-a075-00c04fb68820") WbemLevel1Login; 159 #ifdef __CRT_UUID_DECL 160 __CRT_UUID_DECL(WbemLevel1Login, 0x8bc3f05e, 0xd86b, 0x11d0, 0xa0,0x75, 0x00,0xc0,0x4f,0xb6,0x88,0x20) 161 #endif 162 #endif 163 164 /***************************************************************************** 165 * WbemLocalAddrRes coclass 166 */ 167 168 DEFINE_GUID(CLSID_WbemLocalAddrRes, 0xa1044801, 0x8f7e, 0x11d1, 0x9e,0x7c, 0x00,0xc0,0x4f,0xc3,0x24,0xa8); 169 170 #ifdef __cplusplus 171 class DECLSPEC_UUID("a1044801-8f7e-11d1-9e7c-00c04fc324a8") WbemLocalAddrRes; 172 #ifdef __CRT_UUID_DECL 173 __CRT_UUID_DECL(WbemLocalAddrRes, 0xa1044801, 0x8f7e, 0x11d1, 0x9e,0x7c, 0x00,0xc0,0x4f,0xc3,0x24,0xa8) 174 #endif 175 #endif 176 177 /***************************************************************************** 178 * WbemUninitializedClassObject coclass 179 */ 180 181 DEFINE_GUID(CLSID_WbemUninitializedClassObject, 0x7a0227f6, 0x7108, 0x11d1, 0xad,0x90, 0x00,0xc0,0x4f,0xd8,0xfd,0xff); 182 183 #ifdef __cplusplus 184 class DECLSPEC_UUID("7a0227f6-7108-11d1-ad90-00c04fd8fdff") WbemUninitializedClassObject; 185 #ifdef __CRT_UUID_DECL 186 __CRT_UUID_DECL(WbemUninitializedClassObject, 0x7a0227f6, 0x7108, 0x11d1, 0xad,0x90, 0x00,0xc0,0x4f,0xd8,0xfd,0xff) 187 #endif 188 #endif 189 190 /***************************************************************************** 191 * WbemDCOMTransport coclass 192 */ 193 194 DEFINE_GUID(CLSID_WbemDCOMTransport, 0xf7ce2e13, 0x8c90, 0x11d1, 0x9e,0x7b, 0x00,0xc0,0x4f,0xc3,0x24,0xa8); 195 196 #ifdef __cplusplus 197 class DECLSPEC_UUID("f7ce2e13-8c90-11d1-9e7b-00c04fc324a8") WbemDCOMTransport; 198 #ifdef __CRT_UUID_DECL 199 __CRT_UUID_DECL(WbemDCOMTransport, 0xf7ce2e13, 0x8c90, 0x11d1, 0x9e,0x7b, 0x00,0xc0,0x4f,0xc3,0x24,0xa8) 200 #endif 201 #endif 202 203 /***************************************************************************** 204 * IWbemLevel1Login interface 205 */ 206 #ifndef __IWbemLevel1Login_INTERFACE_DEFINED__ 207 #define __IWbemLevel1Login_INTERFACE_DEFINED__ 208 209 DEFINE_GUID(IID_IWbemLevel1Login, 0xf309ad18, 0xd86a, 0x11d0, 0xa0,0x75, 0x00,0xc0,0x4f,0xb6,0x88,0x20); 210 #if defined(__cplusplus) && !defined(CINTERFACE) 211 MIDL_INTERFACE("f309ad18-d86a-11d0-a075-00c04fb68820") 212 IWbemLevel1Login : public IUnknown 213 { 214 virtual HRESULT STDMETHODCALLTYPE EstablishPosition( 215 LPWSTR wszLocaleList, 216 DWORD dwNumLocales, 217 DWORD *reserved) = 0; 218 219 virtual HRESULT STDMETHODCALLTYPE RequestChallenge( 220 LPWSTR wszNetworkResource, 221 LPWSTR wszUser, 222 WBEM_128BITS Nonce) = 0; 223 224 virtual HRESULT STDMETHODCALLTYPE WBEMLogin( 225 LPWSTR wszPreferredLocale, 226 WBEM_128BITS AccessToken, 227 LONG lFlags, 228 IWbemContext *pCtx, 229 IWbemServices **ppNamespace) = 0; 230 231 virtual HRESULT STDMETHODCALLTYPE NTLMLogin( 232 LPWSTR wszNetworkResource, 233 LPWSTR wszPreferredLocale, 234 LONG lFlags, 235 IWbemContext *pCtx, 236 IWbemServices **ppNamespace) = 0; 237 238 }; 239 #ifdef __CRT_UUID_DECL 240 __CRT_UUID_DECL(IWbemLevel1Login, 0xf309ad18, 0xd86a, 0x11d0, 0xa0,0x75, 0x00,0xc0,0x4f,0xb6,0x88,0x20) 241 #endif 242 #else 243 typedef struct IWbemLevel1LoginVtbl { 244 BEGIN_INTERFACE 245 246 /*** IUnknown methods ***/ 247 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 248 IWbemLevel1Login* This, 249 REFIID riid, 250 void **ppvObject); 251 252 ULONG (STDMETHODCALLTYPE *AddRef)( 253 IWbemLevel1Login* This); 254 255 ULONG (STDMETHODCALLTYPE *Release)( 256 IWbemLevel1Login* This); 257 258 /*** IWbemLevel1Login methods ***/ 259 HRESULT (STDMETHODCALLTYPE *EstablishPosition)( 260 IWbemLevel1Login* This, 261 LPWSTR wszLocaleList, 262 DWORD dwNumLocales, 263 DWORD *reserved); 264 265 HRESULT (STDMETHODCALLTYPE *RequestChallenge)( 266 IWbemLevel1Login* This, 267 LPWSTR wszNetworkResource, 268 LPWSTR wszUser, 269 WBEM_128BITS Nonce); 270 271 HRESULT (STDMETHODCALLTYPE *WBEMLogin)( 272 IWbemLevel1Login* This, 273 LPWSTR wszPreferredLocale, 274 WBEM_128BITS AccessToken, 275 LONG lFlags, 276 IWbemContext *pCtx, 277 IWbemServices **ppNamespace); 278 279 HRESULT (STDMETHODCALLTYPE *NTLMLogin)( 280 IWbemLevel1Login* This, 281 LPWSTR wszNetworkResource, 282 LPWSTR wszPreferredLocale, 283 LONG lFlags, 284 IWbemContext *pCtx, 285 IWbemServices **ppNamespace); 286 287 END_INTERFACE 288 } IWbemLevel1LoginVtbl; 289 interface IWbemLevel1Login { 290 CONST_VTBL IWbemLevel1LoginVtbl* lpVtbl; 291 }; 292 293 #ifdef COBJMACROS 294 #ifndef WIDL_C_INLINE_WRAPPERS 295 /*** IUnknown methods ***/ 296 #define IWbemLevel1Login_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 297 #define IWbemLevel1Login_AddRef(This) (This)->lpVtbl->AddRef(This) 298 #define IWbemLevel1Login_Release(This) (This)->lpVtbl->Release(This) 299 /*** IWbemLevel1Login methods ***/ 300 #define IWbemLevel1Login_EstablishPosition(This,wszLocaleList,dwNumLocales,reserved) (This)->lpVtbl->EstablishPosition(This,wszLocaleList,dwNumLocales,reserved) 301 #define IWbemLevel1Login_RequestChallenge(This,wszNetworkResource,wszUser,Nonce) (This)->lpVtbl->RequestChallenge(This,wszNetworkResource,wszUser,Nonce) 302 #define IWbemLevel1Login_WBEMLogin(This,wszPreferredLocale,AccessToken,lFlags,pCtx,ppNamespace) (This)->lpVtbl->WBEMLogin(This,wszPreferredLocale,AccessToken,lFlags,pCtx,ppNamespace) 303 #define IWbemLevel1Login_NTLMLogin(This,wszNetworkResource,wszPreferredLocale,lFlags,pCtx,ppNamespace) (This)->lpVtbl->NTLMLogin(This,wszNetworkResource,wszPreferredLocale,lFlags,pCtx,ppNamespace) 304 #else 305 /*** IUnknown methods ***/ 306 static FORCEINLINE HRESULT IWbemLevel1Login_QueryInterface(IWbemLevel1Login* This,REFIID riid,void **ppvObject) { 307 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 308 } 309 static FORCEINLINE ULONG IWbemLevel1Login_AddRef(IWbemLevel1Login* This) { 310 return This->lpVtbl->AddRef(This); 311 } 312 static FORCEINLINE ULONG IWbemLevel1Login_Release(IWbemLevel1Login* This) { 313 return This->lpVtbl->Release(This); 314 } 315 /*** IWbemLevel1Login methods ***/ 316 static FORCEINLINE HRESULT IWbemLevel1Login_EstablishPosition(IWbemLevel1Login* This,LPWSTR wszLocaleList,DWORD dwNumLocales,DWORD *reserved) { 317 return This->lpVtbl->EstablishPosition(This,wszLocaleList,dwNumLocales,reserved); 318 } 319 static FORCEINLINE HRESULT IWbemLevel1Login_RequestChallenge(IWbemLevel1Login* This,LPWSTR wszNetworkResource,LPWSTR wszUser,WBEM_128BITS Nonce) { 320 return This->lpVtbl->RequestChallenge(This,wszNetworkResource,wszUser,Nonce); 321 } 322 static FORCEINLINE HRESULT IWbemLevel1Login_WBEMLogin(IWbemLevel1Login* This,LPWSTR wszPreferredLocale,WBEM_128BITS AccessToken,LONG lFlags,IWbemContext *pCtx,IWbemServices **ppNamespace) { 323 return This->lpVtbl->WBEMLogin(This,wszPreferredLocale,AccessToken,lFlags,pCtx,ppNamespace); 324 } 325 static FORCEINLINE HRESULT IWbemLevel1Login_NTLMLogin(IWbemLevel1Login* This,LPWSTR wszNetworkResource,LPWSTR wszPreferredLocale,LONG lFlags,IWbemContext *pCtx,IWbemServices **ppNamespace) { 326 return This->lpVtbl->NTLMLogin(This,wszNetworkResource,wszPreferredLocale,lFlags,pCtx,ppNamespace); 327 } 328 #endif 329 #endif 330 331 #endif 332 333 HRESULT STDMETHODCALLTYPE IWbemLevel1Login_EstablishPosition_Proxy( 334 IWbemLevel1Login* This, 335 LPWSTR wszLocaleList, 336 DWORD dwNumLocales, 337 DWORD *reserved); 338 void __RPC_STUB IWbemLevel1Login_EstablishPosition_Stub( 339 IRpcStubBuffer* This, 340 IRpcChannelBuffer* pRpcChannelBuffer, 341 PRPC_MESSAGE pRpcMessage, 342 DWORD* pdwStubPhase); 343 HRESULT STDMETHODCALLTYPE IWbemLevel1Login_RequestChallenge_Proxy( 344 IWbemLevel1Login* This, 345 LPWSTR wszNetworkResource, 346 LPWSTR wszUser, 347 WBEM_128BITS Nonce); 348 void __RPC_STUB IWbemLevel1Login_RequestChallenge_Stub( 349 IRpcStubBuffer* This, 350 IRpcChannelBuffer* pRpcChannelBuffer, 351 PRPC_MESSAGE pRpcMessage, 352 DWORD* pdwStubPhase); 353 HRESULT STDMETHODCALLTYPE IWbemLevel1Login_WBEMLogin_Proxy( 354 IWbemLevel1Login* This, 355 LPWSTR wszPreferredLocale, 356 WBEM_128BITS AccessToken, 357 LONG lFlags, 358 IWbemContext *pCtx, 359 IWbemServices **ppNamespace); 360 void __RPC_STUB IWbemLevel1Login_WBEMLogin_Stub( 361 IRpcStubBuffer* This, 362 IRpcChannelBuffer* pRpcChannelBuffer, 363 PRPC_MESSAGE pRpcMessage, 364 DWORD* pdwStubPhase); 365 HRESULT STDMETHODCALLTYPE IWbemLevel1Login_NTLMLogin_Proxy( 366 IWbemLevel1Login* This, 367 LPWSTR wszNetworkResource, 368 LPWSTR wszPreferredLocale, 369 LONG lFlags, 370 IWbemContext *pCtx, 371 IWbemServices **ppNamespace); 372 void __RPC_STUB IWbemLevel1Login_NTLMLogin_Stub( 373 IRpcStubBuffer* This, 374 IRpcChannelBuffer* pRpcChannelBuffer, 375 PRPC_MESSAGE pRpcMessage, 376 DWORD* pdwStubPhase); 377 378 #endif /* __IWbemLevel1Login_INTERFACE_DEFINED__ */ 379 380 /***************************************************************************** 381 * IWbemConnectorLogin interface 382 */ 383 #ifndef __IWbemConnectorLogin_INTERFACE_DEFINED__ 384 #define __IWbemConnectorLogin_INTERFACE_DEFINED__ 385 386 DEFINE_GUID(IID_IWbemConnectorLogin, 0xd8ec9cb1, 0xb135, 0x4f10, 0x8b,0x1b, 0xc7,0x18,0x8b,0xb0,0xd1,0x86); 387 #if defined(__cplusplus) && !defined(CINTERFACE) 388 MIDL_INTERFACE("d8ec9cb1-b135-4f10-8b1b-c7188bb0d186") 389 IWbemConnectorLogin : public IUnknown 390 { 391 virtual HRESULT STDMETHODCALLTYPE ConnectorLogin( 392 LPWSTR wszNetworkResource, 393 LPWSTR wszPreferredLocale, 394 LONG lFlags, 395 IWbemContext *pCtx, 396 REFIID riid, 397 void **pInterface) = 0; 398 399 }; 400 #ifdef __CRT_UUID_DECL 401 __CRT_UUID_DECL(IWbemConnectorLogin, 0xd8ec9cb1, 0xb135, 0x4f10, 0x8b,0x1b, 0xc7,0x18,0x8b,0xb0,0xd1,0x86) 402 #endif 403 #else 404 typedef struct IWbemConnectorLoginVtbl { 405 BEGIN_INTERFACE 406 407 /*** IUnknown methods ***/ 408 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 409 IWbemConnectorLogin* This, 410 REFIID riid, 411 void **ppvObject); 412 413 ULONG (STDMETHODCALLTYPE *AddRef)( 414 IWbemConnectorLogin* This); 415 416 ULONG (STDMETHODCALLTYPE *Release)( 417 IWbemConnectorLogin* This); 418 419 /*** IWbemConnectorLogin methods ***/ 420 HRESULT (STDMETHODCALLTYPE *ConnectorLogin)( 421 IWbemConnectorLogin* This, 422 LPWSTR wszNetworkResource, 423 LPWSTR wszPreferredLocale, 424 LONG lFlags, 425 IWbemContext *pCtx, 426 REFIID riid, 427 void **pInterface); 428 429 END_INTERFACE 430 } IWbemConnectorLoginVtbl; 431 interface IWbemConnectorLogin { 432 CONST_VTBL IWbemConnectorLoginVtbl* lpVtbl; 433 }; 434 435 #ifdef COBJMACROS 436 #ifndef WIDL_C_INLINE_WRAPPERS 437 /*** IUnknown methods ***/ 438 #define IWbemConnectorLogin_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 439 #define IWbemConnectorLogin_AddRef(This) (This)->lpVtbl->AddRef(This) 440 #define IWbemConnectorLogin_Release(This) (This)->lpVtbl->Release(This) 441 /*** IWbemConnectorLogin methods ***/ 442 #define IWbemConnectorLogin_ConnectorLogin(This,wszNetworkResource,wszPreferredLocale,lFlags,pCtx,riid,pInterface) (This)->lpVtbl->ConnectorLogin(This,wszNetworkResource,wszPreferredLocale,lFlags,pCtx,riid,pInterface) 443 #else 444 /*** IUnknown methods ***/ 445 static FORCEINLINE HRESULT IWbemConnectorLogin_QueryInterface(IWbemConnectorLogin* This,REFIID riid,void **ppvObject) { 446 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 447 } 448 static FORCEINLINE ULONG IWbemConnectorLogin_AddRef(IWbemConnectorLogin* This) { 449 return This->lpVtbl->AddRef(This); 450 } 451 static FORCEINLINE ULONG IWbemConnectorLogin_Release(IWbemConnectorLogin* This) { 452 return This->lpVtbl->Release(This); 453 } 454 /*** IWbemConnectorLogin methods ***/ 455 static FORCEINLINE HRESULT IWbemConnectorLogin_ConnectorLogin(IWbemConnectorLogin* This,LPWSTR wszNetworkResource,LPWSTR wszPreferredLocale,LONG lFlags,IWbemContext *pCtx,REFIID riid,void **pInterface) { 456 return This->lpVtbl->ConnectorLogin(This,wszNetworkResource,wszPreferredLocale,lFlags,pCtx,riid,pInterface); 457 } 458 #endif 459 #endif 460 461 #endif 462 463 HRESULT STDMETHODCALLTYPE IWbemConnectorLogin_ConnectorLogin_Proxy( 464 IWbemConnectorLogin* This, 465 LPWSTR wszNetworkResource, 466 LPWSTR wszPreferredLocale, 467 LONG lFlags, 468 IWbemContext *pCtx, 469 REFIID riid, 470 void **pInterface); 471 void __RPC_STUB IWbemConnectorLogin_ConnectorLogin_Stub( 472 IRpcStubBuffer* This, 473 IRpcChannelBuffer* pRpcChannelBuffer, 474 PRPC_MESSAGE pRpcMessage, 475 DWORD* pdwStubPhase); 476 477 #endif /* __IWbemConnectorLogin_INTERFACE_DEFINED__ */ 478 479 /***************************************************************************** 480 * IWbemAddressResolution interface 481 */ 482 #ifndef __IWbemAddressResolution_INTERFACE_DEFINED__ 483 #define __IWbemAddressResolution_INTERFACE_DEFINED__ 484 485 DEFINE_GUID(IID_IWbemAddressResolution, 0xf7ce2e12, 0x8c90, 0x11d1, 0x9e,0x7b, 0x00,0xc0,0x4f,0xc3,0x24,0xa8); 486 #if defined(__cplusplus) && !defined(CINTERFACE) 487 MIDL_INTERFACE("f7ce2e12-8c90-11d1-9e7b-00c04fc324a8") 488 IWbemAddressResolution : public IUnknown 489 { 490 virtual HRESULT STDMETHODCALLTYPE Resolve( 491 LPWSTR wszNamespacePath, 492 LPWSTR wszAddressType, 493 DWORD *pdwAddressLength, 494 BYTE **pabBinaryAddress) = 0; 495 496 }; 497 #ifdef __CRT_UUID_DECL 498 __CRT_UUID_DECL(IWbemAddressResolution, 0xf7ce2e12, 0x8c90, 0x11d1, 0x9e,0x7b, 0x00,0xc0,0x4f,0xc3,0x24,0xa8) 499 #endif 500 #else 501 typedef struct IWbemAddressResolutionVtbl { 502 BEGIN_INTERFACE 503 504 /*** IUnknown methods ***/ 505 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 506 IWbemAddressResolution* This, 507 REFIID riid, 508 void **ppvObject); 509 510 ULONG (STDMETHODCALLTYPE *AddRef)( 511 IWbemAddressResolution* This); 512 513 ULONG (STDMETHODCALLTYPE *Release)( 514 IWbemAddressResolution* This); 515 516 /*** IWbemAddressResolution methods ***/ 517 HRESULT (STDMETHODCALLTYPE *Resolve)( 518 IWbemAddressResolution* This, 519 LPWSTR wszNamespacePath, 520 LPWSTR wszAddressType, 521 DWORD *pdwAddressLength, 522 BYTE **pabBinaryAddress); 523 524 END_INTERFACE 525 } IWbemAddressResolutionVtbl; 526 interface IWbemAddressResolution { 527 CONST_VTBL IWbemAddressResolutionVtbl* lpVtbl; 528 }; 529 530 #ifdef COBJMACROS 531 #ifndef WIDL_C_INLINE_WRAPPERS 532 /*** IUnknown methods ***/ 533 #define IWbemAddressResolution_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 534 #define IWbemAddressResolution_AddRef(This) (This)->lpVtbl->AddRef(This) 535 #define IWbemAddressResolution_Release(This) (This)->lpVtbl->Release(This) 536 /*** IWbemAddressResolution methods ***/ 537 #define IWbemAddressResolution_Resolve(This,wszNamespacePath,wszAddressType,pdwAddressLength,pabBinaryAddress) (This)->lpVtbl->Resolve(This,wszNamespacePath,wszAddressType,pdwAddressLength,pabBinaryAddress) 538 #else 539 /*** IUnknown methods ***/ 540 static FORCEINLINE HRESULT IWbemAddressResolution_QueryInterface(IWbemAddressResolution* This,REFIID riid,void **ppvObject) { 541 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 542 } 543 static FORCEINLINE ULONG IWbemAddressResolution_AddRef(IWbemAddressResolution* This) { 544 return This->lpVtbl->AddRef(This); 545 } 546 static FORCEINLINE ULONG IWbemAddressResolution_Release(IWbemAddressResolution* This) { 547 return This->lpVtbl->Release(This); 548 } 549 /*** IWbemAddressResolution methods ***/ 550 static FORCEINLINE HRESULT IWbemAddressResolution_Resolve(IWbemAddressResolution* This,LPWSTR wszNamespacePath,LPWSTR wszAddressType,DWORD *pdwAddressLength,BYTE **pabBinaryAddress) { 551 return This->lpVtbl->Resolve(This,wszNamespacePath,wszAddressType,pdwAddressLength,pabBinaryAddress); 552 } 553 #endif 554 #endif 555 556 #endif 557 558 HRESULT STDMETHODCALLTYPE IWbemAddressResolution_Resolve_Proxy( 559 IWbemAddressResolution* This, 560 LPWSTR wszNamespacePath, 561 LPWSTR wszAddressType, 562 DWORD *pdwAddressLength, 563 BYTE **pabBinaryAddress); 564 void __RPC_STUB IWbemAddressResolution_Resolve_Stub( 565 IRpcStubBuffer* This, 566 IRpcChannelBuffer* pRpcChannelBuffer, 567 PRPC_MESSAGE pRpcMessage, 568 DWORD* pdwStubPhase); 569 570 #endif /* __IWbemAddressResolution_INTERFACE_DEFINED__ */ 571 572 /***************************************************************************** 573 * IWbemTransport interface 574 */ 575 #ifndef __IWbemTransport_INTERFACE_DEFINED__ 576 #define __IWbemTransport_INTERFACE_DEFINED__ 577 578 DEFINE_GUID(IID_IWbemTransport, 0x553fe584, 0x2156, 0x11d0, 0xb6,0xae, 0x00,0xaa,0x00,0x32,0x40,0xc7); 579 #if defined(__cplusplus) && !defined(CINTERFACE) 580 MIDL_INTERFACE("553fe584-2156-11d0-b6ae-00aa003240c7") 581 IWbemTransport : public IUnknown 582 { 583 virtual HRESULT STDMETHODCALLTYPE Initialize( 584 ) = 0; 585 586 }; 587 #ifdef __CRT_UUID_DECL 588 __CRT_UUID_DECL(IWbemTransport, 0x553fe584, 0x2156, 0x11d0, 0xb6,0xae, 0x00,0xaa,0x00,0x32,0x40,0xc7) 589 #endif 590 #else 591 typedef struct IWbemTransportVtbl { 592 BEGIN_INTERFACE 593 594 /*** IUnknown methods ***/ 595 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 596 IWbemTransport* This, 597 REFIID riid, 598 void **ppvObject); 599 600 ULONG (STDMETHODCALLTYPE *AddRef)( 601 IWbemTransport* This); 602 603 ULONG (STDMETHODCALLTYPE *Release)( 604 IWbemTransport* This); 605 606 /*** IWbemTransport methods ***/ 607 HRESULT (STDMETHODCALLTYPE *Initialize)( 608 IWbemTransport* This); 609 610 END_INTERFACE 611 } IWbemTransportVtbl; 612 interface IWbemTransport { 613 CONST_VTBL IWbemTransportVtbl* lpVtbl; 614 }; 615 616 #ifdef COBJMACROS 617 #ifndef WIDL_C_INLINE_WRAPPERS 618 /*** IUnknown methods ***/ 619 #define IWbemTransport_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 620 #define IWbemTransport_AddRef(This) (This)->lpVtbl->AddRef(This) 621 #define IWbemTransport_Release(This) (This)->lpVtbl->Release(This) 622 /*** IWbemTransport methods ***/ 623 #define IWbemTransport_Initialize(This) (This)->lpVtbl->Initialize(This) 624 #else 625 /*** IUnknown methods ***/ 626 static FORCEINLINE HRESULT IWbemTransport_QueryInterface(IWbemTransport* This,REFIID riid,void **ppvObject) { 627 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 628 } 629 static FORCEINLINE ULONG IWbemTransport_AddRef(IWbemTransport* This) { 630 return This->lpVtbl->AddRef(This); 631 } 632 static FORCEINLINE ULONG IWbemTransport_Release(IWbemTransport* This) { 633 return This->lpVtbl->Release(This); 634 } 635 /*** IWbemTransport methods ***/ 636 static FORCEINLINE HRESULT IWbemTransport_Initialize(IWbemTransport* This) { 637 return This->lpVtbl->Initialize(This); 638 } 639 #endif 640 #endif 641 642 #endif 643 644 HRESULT STDMETHODCALLTYPE IWbemTransport_Initialize_Proxy( 645 IWbemTransport* This); 646 void __RPC_STUB IWbemTransport_Initialize_Stub( 647 IRpcStubBuffer* This, 648 IRpcChannelBuffer* pRpcChannelBuffer, 649 PRPC_MESSAGE pRpcMessage, 650 DWORD* pdwStubPhase); 651 652 #endif /* __IWbemTransport_INTERFACE_DEFINED__ */ 653 654 /***************************************************************************** 655 * IWbemConstructClassObject interface 656 */ 657 #ifndef __IWbemConstructClassObject_INTERFACE_DEFINED__ 658 #define __IWbemConstructClassObject_INTERFACE_DEFINED__ 659 660 DEFINE_GUID(IID_IWbemConstructClassObject, 0x9ef76194, 0x70d5, 0x11d1, 0xad,0x90, 0x00,0xc0,0x4f,0xd8,0xfd,0xff); 661 #if defined(__cplusplus) && !defined(CINTERFACE) 662 MIDL_INTERFACE("9ef76194-70d5-11d1-ad90-00c04fd8fdff") 663 IWbemConstructClassObject : public IUnknown 664 { 665 virtual HRESULT STDMETHODCALLTYPE SetInheritanceChain( 666 LONG lNumAntecedents, 667 LPWSTR *awszAntecedents) = 0; 668 669 virtual HRESULT STDMETHODCALLTYPE SetPropertyOrigin( 670 LPCWSTR wszPropertyName, 671 LONG lOriginIndex) = 0; 672 673 virtual HRESULT STDMETHODCALLTYPE SetMethodOrigin( 674 LPCWSTR wszMethodName, 675 LONG lOriginIndex) = 0; 676 677 virtual HRESULT STDMETHODCALLTYPE SetServerNamespace( 678 LPCWSTR wszServer, 679 LPCWSTR wszNamespace) = 0; 680 681 }; 682 #ifdef __CRT_UUID_DECL 683 __CRT_UUID_DECL(IWbemConstructClassObject, 0x9ef76194, 0x70d5, 0x11d1, 0xad,0x90, 0x00,0xc0,0x4f,0xd8,0xfd,0xff) 684 #endif 685 #else 686 typedef struct IWbemConstructClassObjectVtbl { 687 BEGIN_INTERFACE 688 689 /*** IUnknown methods ***/ 690 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 691 IWbemConstructClassObject* This, 692 REFIID riid, 693 void **ppvObject); 694 695 ULONG (STDMETHODCALLTYPE *AddRef)( 696 IWbemConstructClassObject* This); 697 698 ULONG (STDMETHODCALLTYPE *Release)( 699 IWbemConstructClassObject* This); 700 701 /*** IWbemConstructClassObject methods ***/ 702 HRESULT (STDMETHODCALLTYPE *SetInheritanceChain)( 703 IWbemConstructClassObject* This, 704 LONG lNumAntecedents, 705 LPWSTR *awszAntecedents); 706 707 HRESULT (STDMETHODCALLTYPE *SetPropertyOrigin)( 708 IWbemConstructClassObject* This, 709 LPCWSTR wszPropertyName, 710 LONG lOriginIndex); 711 712 HRESULT (STDMETHODCALLTYPE *SetMethodOrigin)( 713 IWbemConstructClassObject* This, 714 LPCWSTR wszMethodName, 715 LONG lOriginIndex); 716 717 HRESULT (STDMETHODCALLTYPE *SetServerNamespace)( 718 IWbemConstructClassObject* This, 719 LPCWSTR wszServer, 720 LPCWSTR wszNamespace); 721 722 END_INTERFACE 723 } IWbemConstructClassObjectVtbl; 724 interface IWbemConstructClassObject { 725 CONST_VTBL IWbemConstructClassObjectVtbl* lpVtbl; 726 }; 727 728 #ifdef COBJMACROS 729 #ifndef WIDL_C_INLINE_WRAPPERS 730 /*** IUnknown methods ***/ 731 #define IWbemConstructClassObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 732 #define IWbemConstructClassObject_AddRef(This) (This)->lpVtbl->AddRef(This) 733 #define IWbemConstructClassObject_Release(This) (This)->lpVtbl->Release(This) 734 /*** IWbemConstructClassObject methods ***/ 735 #define IWbemConstructClassObject_SetInheritanceChain(This,lNumAntecedents,awszAntecedents) (This)->lpVtbl->SetInheritanceChain(This,lNumAntecedents,awszAntecedents) 736 #define IWbemConstructClassObject_SetPropertyOrigin(This,wszPropertyName,lOriginIndex) (This)->lpVtbl->SetPropertyOrigin(This,wszPropertyName,lOriginIndex) 737 #define IWbemConstructClassObject_SetMethodOrigin(This,wszMethodName,lOriginIndex) (This)->lpVtbl->SetMethodOrigin(This,wszMethodName,lOriginIndex) 738 #define IWbemConstructClassObject_SetServerNamespace(This,wszServer,wszNamespace) (This)->lpVtbl->SetServerNamespace(This,wszServer,wszNamespace) 739 #else 740 /*** IUnknown methods ***/ 741 static FORCEINLINE HRESULT IWbemConstructClassObject_QueryInterface(IWbemConstructClassObject* This,REFIID riid,void **ppvObject) { 742 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 743 } 744 static FORCEINLINE ULONG IWbemConstructClassObject_AddRef(IWbemConstructClassObject* This) { 745 return This->lpVtbl->AddRef(This); 746 } 747 static FORCEINLINE ULONG IWbemConstructClassObject_Release(IWbemConstructClassObject* This) { 748 return This->lpVtbl->Release(This); 749 } 750 /*** IWbemConstructClassObject methods ***/ 751 static FORCEINLINE HRESULT IWbemConstructClassObject_SetInheritanceChain(IWbemConstructClassObject* This,LONG lNumAntecedents,LPWSTR *awszAntecedents) { 752 return This->lpVtbl->SetInheritanceChain(This,lNumAntecedents,awszAntecedents); 753 } 754 static FORCEINLINE HRESULT IWbemConstructClassObject_SetPropertyOrigin(IWbemConstructClassObject* This,LPCWSTR wszPropertyName,LONG lOriginIndex) { 755 return This->lpVtbl->SetPropertyOrigin(This,wszPropertyName,lOriginIndex); 756 } 757 static FORCEINLINE HRESULT IWbemConstructClassObject_SetMethodOrigin(IWbemConstructClassObject* This,LPCWSTR wszMethodName,LONG lOriginIndex) { 758 return This->lpVtbl->SetMethodOrigin(This,wszMethodName,lOriginIndex); 759 } 760 static FORCEINLINE HRESULT IWbemConstructClassObject_SetServerNamespace(IWbemConstructClassObject* This,LPCWSTR wszServer,LPCWSTR wszNamespace) { 761 return This->lpVtbl->SetServerNamespace(This,wszServer,wszNamespace); 762 } 763 #endif 764 #endif 765 766 #endif 767 768 HRESULT STDMETHODCALLTYPE IWbemConstructClassObject_SetInheritanceChain_Proxy( 769 IWbemConstructClassObject* This, 770 LONG lNumAntecedents, 771 LPWSTR *awszAntecedents); 772 void __RPC_STUB IWbemConstructClassObject_SetInheritanceChain_Stub( 773 IRpcStubBuffer* This, 774 IRpcChannelBuffer* pRpcChannelBuffer, 775 PRPC_MESSAGE pRpcMessage, 776 DWORD* pdwStubPhase); 777 HRESULT STDMETHODCALLTYPE IWbemConstructClassObject_SetPropertyOrigin_Proxy( 778 IWbemConstructClassObject* This, 779 LPCWSTR wszPropertyName, 780 LONG lOriginIndex); 781 void __RPC_STUB IWbemConstructClassObject_SetPropertyOrigin_Stub( 782 IRpcStubBuffer* This, 783 IRpcChannelBuffer* pRpcChannelBuffer, 784 PRPC_MESSAGE pRpcMessage, 785 DWORD* pdwStubPhase); 786 HRESULT STDMETHODCALLTYPE IWbemConstructClassObject_SetMethodOrigin_Proxy( 787 IWbemConstructClassObject* This, 788 LPCWSTR wszMethodName, 789 LONG lOriginIndex); 790 void __RPC_STUB IWbemConstructClassObject_SetMethodOrigin_Stub( 791 IRpcStubBuffer* This, 792 IRpcChannelBuffer* pRpcChannelBuffer, 793 PRPC_MESSAGE pRpcMessage, 794 DWORD* pdwStubPhase); 795 HRESULT STDMETHODCALLTYPE IWbemConstructClassObject_SetServerNamespace_Proxy( 796 IWbemConstructClassObject* This, 797 LPCWSTR wszServer, 798 LPCWSTR wszNamespace); 799 void __RPC_STUB IWbemConstructClassObject_SetServerNamespace_Stub( 800 IRpcStubBuffer* This, 801 IRpcChannelBuffer* pRpcChannelBuffer, 802 PRPC_MESSAGE pRpcMessage, 803 DWORD* pdwStubPhase); 804 805 #endif /* __IWbemConstructClassObject_INTERFACE_DEFINED__ */ 806 807 /***************************************************************************** 808 * IWbemClientTransport interface 809 */ 810 #ifndef __IWbemClientTransport_INTERFACE_DEFINED__ 811 #define __IWbemClientTransport_INTERFACE_DEFINED__ 812 813 DEFINE_GUID(IID_IWbemClientTransport, 0xf7ce2e11, 0x8c90, 0x11d1, 0x9e,0x7b, 0x00,0xc0,0x4f,0xc3,0x24,0xa8); 814 #if defined(__cplusplus) && !defined(CINTERFACE) 815 MIDL_INTERFACE("f7ce2e11-8c90-11d1-9e7b-00c04fc324a8") 816 IWbemClientTransport : public IUnknown 817 { 818 virtual HRESULT STDMETHODCALLTYPE ConnectServer( 819 BSTR strAddressType, 820 DWORD dwBinaryAddressLength, 821 BYTE *abBinaryAddress, 822 BSTR strNetworkResource, 823 BSTR strUser, 824 BSTR strPassword, 825 BSTR strLocale, 826 LONG lSecurityFlags, 827 BSTR strAuthority, 828 IWbemContext *pCtx, 829 IWbemServices **ppNamespace) = 0; 830 831 }; 832 #ifdef __CRT_UUID_DECL 833 __CRT_UUID_DECL(IWbemClientTransport, 0xf7ce2e11, 0x8c90, 0x11d1, 0x9e,0x7b, 0x00,0xc0,0x4f,0xc3,0x24,0xa8) 834 #endif 835 #else 836 typedef struct IWbemClientTransportVtbl { 837 BEGIN_INTERFACE 838 839 /*** IUnknown methods ***/ 840 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 841 IWbemClientTransport* This, 842 REFIID riid, 843 void **ppvObject); 844 845 ULONG (STDMETHODCALLTYPE *AddRef)( 846 IWbemClientTransport* This); 847 848 ULONG (STDMETHODCALLTYPE *Release)( 849 IWbemClientTransport* This); 850 851 /*** IWbemClientTransport methods ***/ 852 HRESULT (STDMETHODCALLTYPE *ConnectServer)( 853 IWbemClientTransport* This, 854 BSTR strAddressType, 855 DWORD dwBinaryAddressLength, 856 BYTE *abBinaryAddress, 857 BSTR strNetworkResource, 858 BSTR strUser, 859 BSTR strPassword, 860 BSTR strLocale, 861 LONG lSecurityFlags, 862 BSTR strAuthority, 863 IWbemContext *pCtx, 864 IWbemServices **ppNamespace); 865 866 END_INTERFACE 867 } IWbemClientTransportVtbl; 868 interface IWbemClientTransport { 869 CONST_VTBL IWbemClientTransportVtbl* lpVtbl; 870 }; 871 872 #ifdef COBJMACROS 873 #ifndef WIDL_C_INLINE_WRAPPERS 874 /*** IUnknown methods ***/ 875 #define IWbemClientTransport_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 876 #define IWbemClientTransport_AddRef(This) (This)->lpVtbl->AddRef(This) 877 #define IWbemClientTransport_Release(This) (This)->lpVtbl->Release(This) 878 /*** IWbemClientTransport methods ***/ 879 #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) 880 #else 881 /*** IUnknown methods ***/ 882 static FORCEINLINE HRESULT IWbemClientTransport_QueryInterface(IWbemClientTransport* This,REFIID riid,void **ppvObject) { 883 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 884 } 885 static FORCEINLINE ULONG IWbemClientTransport_AddRef(IWbemClientTransport* This) { 886 return This->lpVtbl->AddRef(This); 887 } 888 static FORCEINLINE ULONG IWbemClientTransport_Release(IWbemClientTransport* This) { 889 return This->lpVtbl->Release(This); 890 } 891 /*** IWbemClientTransport methods ***/ 892 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) { 893 return This->lpVtbl->ConnectServer(This,strAddressType,dwBinaryAddressLength,abBinaryAddress,strNetworkResource,strUser,strPassword,strLocale,lSecurityFlags,strAuthority,pCtx,ppNamespace); 894 } 895 #endif 896 #endif 897 898 #endif 899 900 HRESULT STDMETHODCALLTYPE IWbemClientTransport_ConnectServer_Proxy( 901 IWbemClientTransport* This, 902 BSTR strAddressType, 903 DWORD dwBinaryAddressLength, 904 BYTE *abBinaryAddress, 905 BSTR strNetworkResource, 906 BSTR strUser, 907 BSTR strPassword, 908 BSTR strLocale, 909 LONG lSecurityFlags, 910 BSTR strAuthority, 911 IWbemContext *pCtx, 912 IWbemServices **ppNamespace); 913 void __RPC_STUB IWbemClientTransport_ConnectServer_Stub( 914 IRpcStubBuffer* This, 915 IRpcChannelBuffer* pRpcChannelBuffer, 916 PRPC_MESSAGE pRpcMessage, 917 DWORD* pdwStubPhase); 918 919 #endif /* __IWbemClientTransport_INTERFACE_DEFINED__ */ 920 921 /***************************************************************************** 922 * IWbemClientConnectionTransport interface 923 */ 924 #ifndef __IWbemClientConnectionTransport_INTERFACE_DEFINED__ 925 #define __IWbemClientConnectionTransport_INTERFACE_DEFINED__ 926 927 DEFINE_GUID(IID_IWbemClientConnectionTransport, 0xa889c72a, 0xfcc1, 0x4a9e, 0xaf,0x61, 0xed,0x07,0x13,0x33,0xfb,0x5b); 928 #if defined(__cplusplus) && !defined(CINTERFACE) 929 MIDL_INTERFACE("a889c72a-fcc1-4a9e-af61-ed071333fb5b") 930 IWbemClientConnectionTransport : public IUnknown 931 { 932 virtual HRESULT STDMETHODCALLTYPE Open( 933 BSTR strAddressType, 934 DWORD dwBinaryAddressLength, 935 BYTE *abBinaryAddress, 936 const BSTR strObject, 937 const BSTR strUser, 938 const BSTR strPassword, 939 const BSTR strLocale, 940 LONG lFlags, 941 IWbemContext *pCtx, 942 REFIID riid, 943 void **pInterface, 944 IWbemCallResult **pCallRes) = 0; 945 946 virtual HRESULT STDMETHODCALLTYPE OpenAsync( 947 BSTR strAddressType, 948 DWORD dwBinaryAddressLength, 949 BYTE *abBinaryAddress, 950 const BSTR strObject, 951 const BSTR strUser, 952 const BSTR strPassword, 953 const BSTR strLocale, 954 LONG lFlags, 955 IWbemContext *pCtx, 956 REFIID riid, 957 IWbemObjectSink *pResponseHandler) = 0; 958 959 virtual HRESULT STDMETHODCALLTYPE Cancel( 960 LONG lFlags, 961 IWbemObjectSink *pHandler) = 0; 962 963 }; 964 #ifdef __CRT_UUID_DECL 965 __CRT_UUID_DECL(IWbemClientConnectionTransport, 0xa889c72a, 0xfcc1, 0x4a9e, 0xaf,0x61, 0xed,0x07,0x13,0x33,0xfb,0x5b) 966 #endif 967 #else 968 typedef struct IWbemClientConnectionTransportVtbl { 969 BEGIN_INTERFACE 970 971 /*** IUnknown methods ***/ 972 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 973 IWbemClientConnectionTransport* This, 974 REFIID riid, 975 void **ppvObject); 976 977 ULONG (STDMETHODCALLTYPE *AddRef)( 978 IWbemClientConnectionTransport* This); 979 980 ULONG (STDMETHODCALLTYPE *Release)( 981 IWbemClientConnectionTransport* This); 982 983 /*** IWbemClientConnectionTransport methods ***/ 984 HRESULT (STDMETHODCALLTYPE *Open)( 985 IWbemClientConnectionTransport* This, 986 BSTR strAddressType, 987 DWORD dwBinaryAddressLength, 988 BYTE *abBinaryAddress, 989 const BSTR strObject, 990 const BSTR strUser, 991 const BSTR strPassword, 992 const BSTR strLocale, 993 LONG lFlags, 994 IWbemContext *pCtx, 995 REFIID riid, 996 void **pInterface, 997 IWbemCallResult **pCallRes); 998 999 HRESULT (STDMETHODCALLTYPE *OpenAsync)( 1000 IWbemClientConnectionTransport* This, 1001 BSTR strAddressType, 1002 DWORD dwBinaryAddressLength, 1003 BYTE *abBinaryAddress, 1004 const BSTR strObject, 1005 const BSTR strUser, 1006 const BSTR strPassword, 1007 const BSTR strLocale, 1008 LONG lFlags, 1009 IWbemContext *pCtx, 1010 REFIID riid, 1011 IWbemObjectSink *pResponseHandler); 1012 1013 HRESULT (STDMETHODCALLTYPE *Cancel)( 1014 IWbemClientConnectionTransport* This, 1015 LONG lFlags, 1016 IWbemObjectSink *pHandler); 1017 1018 END_INTERFACE 1019 } IWbemClientConnectionTransportVtbl; 1020 interface IWbemClientConnectionTransport { 1021 CONST_VTBL IWbemClientConnectionTransportVtbl* lpVtbl; 1022 }; 1023 1024 #ifdef COBJMACROS 1025 #ifndef WIDL_C_INLINE_WRAPPERS 1026 /*** IUnknown methods ***/ 1027 #define IWbemClientConnectionTransport_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 1028 #define IWbemClientConnectionTransport_AddRef(This) (This)->lpVtbl->AddRef(This) 1029 #define IWbemClientConnectionTransport_Release(This) (This)->lpVtbl->Release(This) 1030 /*** IWbemClientConnectionTransport methods ***/ 1031 #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) 1032 #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) 1033 #define IWbemClientConnectionTransport_Cancel(This,lFlags,pHandler) (This)->lpVtbl->Cancel(This,lFlags,pHandler) 1034 #else 1035 /*** IUnknown methods ***/ 1036 static FORCEINLINE HRESULT IWbemClientConnectionTransport_QueryInterface(IWbemClientConnectionTransport* This,REFIID riid,void **ppvObject) { 1037 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 1038 } 1039 static FORCEINLINE ULONG IWbemClientConnectionTransport_AddRef(IWbemClientConnectionTransport* This) { 1040 return This->lpVtbl->AddRef(This); 1041 } 1042 static FORCEINLINE ULONG IWbemClientConnectionTransport_Release(IWbemClientConnectionTransport* This) { 1043 return This->lpVtbl->Release(This); 1044 } 1045 /*** IWbemClientConnectionTransport methods ***/ 1046 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) { 1047 return This->lpVtbl->Open(This,strAddressType,dwBinaryAddressLength,abBinaryAddress,strObject,strUser,strPassword,strLocale,lFlags,pCtx,riid,pInterface,pCallRes); 1048 } 1049 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) { 1050 return This->lpVtbl->OpenAsync(This,strAddressType,dwBinaryAddressLength,abBinaryAddress,strObject,strUser,strPassword,strLocale,lFlags,pCtx,riid,pResponseHandler); 1051 } 1052 static FORCEINLINE HRESULT IWbemClientConnectionTransport_Cancel(IWbemClientConnectionTransport* This,LONG lFlags,IWbemObjectSink *pHandler) { 1053 return This->lpVtbl->Cancel(This,lFlags,pHandler); 1054 } 1055 #endif 1056 #endif 1057 1058 #endif 1059 1060 HRESULT STDMETHODCALLTYPE IWbemClientConnectionTransport_Open_Proxy( 1061 IWbemClientConnectionTransport* This, 1062 BSTR strAddressType, 1063 DWORD dwBinaryAddressLength, 1064 BYTE *abBinaryAddress, 1065 const BSTR strObject, 1066 const BSTR strUser, 1067 const BSTR strPassword, 1068 const BSTR strLocale, 1069 LONG lFlags, 1070 IWbemContext *pCtx, 1071 REFIID riid, 1072 void **pInterface, 1073 IWbemCallResult **pCallRes); 1074 void __RPC_STUB IWbemClientConnectionTransport_Open_Stub( 1075 IRpcStubBuffer* This, 1076 IRpcChannelBuffer* pRpcChannelBuffer, 1077 PRPC_MESSAGE pRpcMessage, 1078 DWORD* pdwStubPhase); 1079 HRESULT STDMETHODCALLTYPE IWbemClientConnectionTransport_OpenAsync_Proxy( 1080 IWbemClientConnectionTransport* This, 1081 BSTR strAddressType, 1082 DWORD dwBinaryAddressLength, 1083 BYTE *abBinaryAddress, 1084 const BSTR strObject, 1085 const BSTR strUser, 1086 const BSTR strPassword, 1087 const BSTR strLocale, 1088 LONG lFlags, 1089 IWbemContext *pCtx, 1090 REFIID riid, 1091 IWbemObjectSink *pResponseHandler); 1092 void __RPC_STUB IWbemClientConnectionTransport_OpenAsync_Stub( 1093 IRpcStubBuffer* This, 1094 IRpcChannelBuffer* pRpcChannelBuffer, 1095 PRPC_MESSAGE pRpcMessage, 1096 DWORD* pdwStubPhase); 1097 HRESULT STDMETHODCALLTYPE IWbemClientConnectionTransport_Cancel_Proxy( 1098 IWbemClientConnectionTransport* This, 1099 LONG lFlags, 1100 IWbemObjectSink *pHandler); 1101 void __RPC_STUB IWbemClientConnectionTransport_Cancel_Stub( 1102 IRpcStubBuffer* This, 1103 IRpcChannelBuffer* pRpcChannelBuffer, 1104 PRPC_MESSAGE pRpcMessage, 1105 DWORD* pdwStubPhase); 1106 1107 #endif /* __IWbemClientConnectionTransport_INTERFACE_DEFINED__ */ 1108 1109 #endif 1110 /* Begin additional prototypes for all interfaces */ 1111 1112 1113 /* End additional prototypes */ 1114 1115 #ifdef __cplusplus 1116 } 1117 #endif 1118 1119 #endif /* __wbemtran_h__ */ 1120