/usr/share/mingw-w64/include/wsdhost.h is in mingw-w64-common 4.0.4-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 | /*** Autogenerated by WIDL 1.6 from include/wsdhost.idl - Do not edit ***/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifndef COM_NO_WINDOWS_H
#include <windows.h>
#include <ole2.h>
#endif
#ifndef __wsdhost_h__
#define __wsdhost_h__
/* Forward declarations */
#ifndef __IWSDDeviceHostNotify_FWD_DEFINED__
#define __IWSDDeviceHostNotify_FWD_DEFINED__
typedef interface IWSDDeviceHostNotify IWSDDeviceHostNotify;
#endif
#ifndef __IWSDServiceMessaging_FWD_DEFINED__
#define __IWSDServiceMessaging_FWD_DEFINED__
typedef interface IWSDServiceMessaging IWSDServiceMessaging;
#endif
#ifndef __IWSDDeviceHost_FWD_DEFINED__
#define __IWSDDeviceHost_FWD_DEFINED__
typedef interface IWSDDeviceHost IWSDDeviceHost;
#endif
/* Headers for imported files */
#include <oaidl.h>
#include <ocidl.h>
#include <wsdxmldom.h>
#include <wsdtypes.h>
#ifdef __cplusplus
extern "C" {
#endif
#include <winapifamily.h>
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#ifndef __IWSDAddress_FWD_DEFINED__
#define __IWSDAddress_FWD_DEFINED__
typedef interface IWSDAddress IWSDAddress;
#endif
#ifndef __IWSDXMLContext_FWD_DEFINED__
#define __IWSDXMLContext_FWD_DEFINED__
typedef interface IWSDXMLContext IWSDXMLContext;
#endif
#ifndef __IWSDDeviceHost_FWD_DEFINED__
#define __IWSDDeviceHost_FWD_DEFINED__
typedef interface IWSDDeviceHost IWSDDeviceHost;
#endif
#ifndef __IWSDDeviceHostNotify_FWD_DEFINED__
#define __IWSDDeviceHostNotify_FWD_DEFINED__
typedef interface IWSDDeviceHostNotify IWSDDeviceHostNotify;
#endif
#ifndef __IWSDServiceMessaging_FWD_DEFINED__
#define __IWSDServiceMessaging_FWD_DEFINED__
typedef interface IWSDServiceMessaging IWSDServiceMessaging;
#endif
/*****************************************************************************
* IWSDDeviceHostNotify interface
*/
#ifndef __IWSDDeviceHostNotify_INTERFACE_DEFINED__
#define __IWSDDeviceHostNotify_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWSDDeviceHostNotify, 0xb5bee9f9, 0xeeda, 0x41fe, 0x96,0xf7, 0xf4,0x5e,0x14,0x99,0x0f,0xb0);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("b5bee9f9-eeda-41fe-96f7-f45e14990fb0")
IWSDDeviceHostNotify : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE GetService(
LPCWSTR pszServiceId,
IUnknown **ppService) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWSDDeviceHostNotify, 0xb5bee9f9, 0xeeda, 0x41fe, 0x96,0xf7, 0xf4,0x5e,0x14,0x99,0x0f,0xb0)
#endif
#else
typedef struct IWSDDeviceHostNotifyVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWSDDeviceHostNotify* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWSDDeviceHostNotify* This);
ULONG (STDMETHODCALLTYPE *Release)(
IWSDDeviceHostNotify* This);
/*** IWSDDeviceHostNotify methods ***/
HRESULT (STDMETHODCALLTYPE *GetService)(
IWSDDeviceHostNotify* This,
LPCWSTR pszServiceId,
IUnknown **ppService);
END_INTERFACE
} IWSDDeviceHostNotifyVtbl;
interface IWSDDeviceHostNotify {
CONST_VTBL IWSDDeviceHostNotifyVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWSDDeviceHostNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWSDDeviceHostNotify_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWSDDeviceHostNotify_Release(This) (This)->lpVtbl->Release(This)
/*** IWSDDeviceHostNotify methods ***/
#define IWSDDeviceHostNotify_GetService(This,pszServiceId,ppService) (This)->lpVtbl->GetService(This,pszServiceId,ppService)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWSDDeviceHostNotify_QueryInterface(IWSDDeviceHostNotify* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWSDDeviceHostNotify_AddRef(IWSDDeviceHostNotify* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWSDDeviceHostNotify_Release(IWSDDeviceHostNotify* This) {
return This->lpVtbl->Release(This);
}
/*** IWSDDeviceHostNotify methods ***/
static FORCEINLINE HRESULT IWSDDeviceHostNotify_GetService(IWSDDeviceHostNotify* This,LPCWSTR pszServiceId,IUnknown **ppService) {
return This->lpVtbl->GetService(This,pszServiceId,ppService);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IWSDDeviceHostNotify_GetService_Proxy(
IWSDDeviceHostNotify* This,
LPCWSTR pszServiceId,
IUnknown **ppService);
void __RPC_STUB IWSDDeviceHostNotify_GetService_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IWSDDeviceHostNotify_INTERFACE_DEFINED__ */
/*****************************************************************************
* IWSDServiceMessaging interface
*/
#ifndef __IWSDServiceMessaging_INTERFACE_DEFINED__
#define __IWSDServiceMessaging_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWSDServiceMessaging, 0x94974cf4, 0x0cab, 0x460d, 0xa3,0xf6, 0x7a,0x0a,0xd6,0x23,0xc0,0xe6);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("94974cf4-0cab-460d-a3f6-7a0ad623c0e6")
IWSDServiceMessaging : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE SendResponse(
void *pBody,
WSD_OPERATION *pOperation,
IWSDMessageParameters *pMessageParameters) = 0;
virtual HRESULT STDMETHODCALLTYPE FaultRequest(
WSD_SOAP_HEADER *pRequestHeader,
IWSDMessageParameters *pMessageParameters,
WSD_SOAP_FAULT *pFault) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWSDServiceMessaging, 0x94974cf4, 0x0cab, 0x460d, 0xa3,0xf6, 0x7a,0x0a,0xd6,0x23,0xc0,0xe6)
#endif
#else
typedef struct IWSDServiceMessagingVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWSDServiceMessaging* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWSDServiceMessaging* This);
ULONG (STDMETHODCALLTYPE *Release)(
IWSDServiceMessaging* This);
/*** IWSDServiceMessaging methods ***/
HRESULT (STDMETHODCALLTYPE *SendResponse)(
IWSDServiceMessaging* This,
void *pBody,
WSD_OPERATION *pOperation,
IWSDMessageParameters *pMessageParameters);
HRESULT (STDMETHODCALLTYPE *FaultRequest)(
IWSDServiceMessaging* This,
WSD_SOAP_HEADER *pRequestHeader,
IWSDMessageParameters *pMessageParameters,
WSD_SOAP_FAULT *pFault);
END_INTERFACE
} IWSDServiceMessagingVtbl;
interface IWSDServiceMessaging {
CONST_VTBL IWSDServiceMessagingVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWSDServiceMessaging_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWSDServiceMessaging_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWSDServiceMessaging_Release(This) (This)->lpVtbl->Release(This)
/*** IWSDServiceMessaging methods ***/
#define IWSDServiceMessaging_SendResponse(This,pBody,pOperation,pMessageParameters) (This)->lpVtbl->SendResponse(This,pBody,pOperation,pMessageParameters)
#define IWSDServiceMessaging_FaultRequest(This,pRequestHeader,pMessageParameters,pFault) (This)->lpVtbl->FaultRequest(This,pRequestHeader,pMessageParameters,pFault)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWSDServiceMessaging_QueryInterface(IWSDServiceMessaging* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWSDServiceMessaging_AddRef(IWSDServiceMessaging* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWSDServiceMessaging_Release(IWSDServiceMessaging* This) {
return This->lpVtbl->Release(This);
}
/*** IWSDServiceMessaging methods ***/
static FORCEINLINE HRESULT IWSDServiceMessaging_SendResponse(IWSDServiceMessaging* This,void *pBody,WSD_OPERATION *pOperation,IWSDMessageParameters *pMessageParameters) {
return This->lpVtbl->SendResponse(This,pBody,pOperation,pMessageParameters);
}
static FORCEINLINE HRESULT IWSDServiceMessaging_FaultRequest(IWSDServiceMessaging* This,WSD_SOAP_HEADER *pRequestHeader,IWSDMessageParameters *pMessageParameters,WSD_SOAP_FAULT *pFault) {
return This->lpVtbl->FaultRequest(This,pRequestHeader,pMessageParameters,pFault);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IWSDServiceMessaging_SendResponse_Proxy(
IWSDServiceMessaging* This,
void *pBody,
WSD_OPERATION *pOperation,
IWSDMessageParameters *pMessageParameters);
void __RPC_STUB IWSDServiceMessaging_SendResponse_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWSDServiceMessaging_FaultRequest_Proxy(
IWSDServiceMessaging* This,
WSD_SOAP_HEADER *pRequestHeader,
IWSDMessageParameters *pMessageParameters,
WSD_SOAP_FAULT *pFault);
void __RPC_STUB IWSDServiceMessaging_FaultRequest_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IWSDServiceMessaging_INTERFACE_DEFINED__ */
/*****************************************************************************
* IWSDDeviceHost interface
*/
#ifndef __IWSDDeviceHost_INTERFACE_DEFINED__
#define __IWSDDeviceHost_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWSDDeviceHost, 0x917fe891, 0x3d13, 0x4138, 0x98,0x09, 0x93,0x4c,0x8a,0xbe,0xb1,0x2c);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("917fe891-3d13-4138-9809-934c8abeb12c")
IWSDDeviceHost : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE Init(
LPCWSTR pszLocalId,
IWSDXMLContext *pContext,
IWSDAddress **ppHostAddresses,
DWORD dwHostAddressCount) = 0;
virtual HRESULT STDMETHODCALLTYPE Start(
ULONGLONG ullInstanceId,
const WSD_URI_LIST *pScopeList,
IWSDDeviceHostNotify *pNotificationSink) = 0;
virtual HRESULT STDMETHODCALLTYPE Stop(
) = 0;
virtual HRESULT STDMETHODCALLTYPE Terminate(
) = 0;
virtual HRESULT STDMETHODCALLTYPE RegisterPortType(
const WSD_PORT_TYPE *pPortType) = 0;
virtual HRESULT STDMETHODCALLTYPE SetMetadata(
const WSD_THIS_MODEL_METADATA *pThisModelMetadata,
const WSD_THIS_DEVICE_METADATA *pThisDeviceMetadata,
const WSD_HOST_METADATA *pHostMetadata,
const WSD_METADATA_SECTION_LIST *pCustomMetadata) = 0;
virtual HRESULT STDMETHODCALLTYPE RegisterService(
LPCWSTR pszServiceId,
IUnknown *pService) = 0;
virtual HRESULT STDMETHODCALLTYPE RetireService(
LPCWSTR pszServiceId) = 0;
virtual HRESULT STDMETHODCALLTYPE AddDynamicService(
LPCWSTR pszServiceId,
LPCWSTR pszEndpointAddress,
const WSD_PORT_TYPE *pPortType,
const WSDXML_NAME *pPortName,
const WSDXML_ELEMENT *pAny,
IUnknown *pService) = 0;
virtual HRESULT STDMETHODCALLTYPE RemoveDynamicService(
LPCWSTR pszServiceId) = 0;
virtual HRESULT STDMETHODCALLTYPE SetServiceDiscoverable(
LPCWSTR pszServiceId,
WINBOOL fDiscoverable) = 0;
virtual HRESULT STDMETHODCALLTYPE SignalEvent(
LPCWSTR pszServiceId,
const void *pBody,
const WSD_OPERATION *pOperation) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWSDDeviceHost, 0x917fe891, 0x3d13, 0x4138, 0x98,0x09, 0x93,0x4c,0x8a,0xbe,0xb1,0x2c)
#endif
#else
typedef struct IWSDDeviceHostVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWSDDeviceHost* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWSDDeviceHost* This);
ULONG (STDMETHODCALLTYPE *Release)(
IWSDDeviceHost* This);
/*** IWSDDeviceHost methods ***/
HRESULT (STDMETHODCALLTYPE *Init)(
IWSDDeviceHost* This,
LPCWSTR pszLocalId,
IWSDXMLContext *pContext,
IWSDAddress **ppHostAddresses,
DWORD dwHostAddressCount);
HRESULT (STDMETHODCALLTYPE *Start)(
IWSDDeviceHost* This,
ULONGLONG ullInstanceId,
const WSD_URI_LIST *pScopeList,
IWSDDeviceHostNotify *pNotificationSink);
HRESULT (STDMETHODCALLTYPE *Stop)(
IWSDDeviceHost* This);
HRESULT (STDMETHODCALLTYPE *Terminate)(
IWSDDeviceHost* This);
HRESULT (STDMETHODCALLTYPE *RegisterPortType)(
IWSDDeviceHost* This,
const WSD_PORT_TYPE *pPortType);
HRESULT (STDMETHODCALLTYPE *SetMetadata)(
IWSDDeviceHost* This,
const WSD_THIS_MODEL_METADATA *pThisModelMetadata,
const WSD_THIS_DEVICE_METADATA *pThisDeviceMetadata,
const WSD_HOST_METADATA *pHostMetadata,
const WSD_METADATA_SECTION_LIST *pCustomMetadata);
HRESULT (STDMETHODCALLTYPE *RegisterService)(
IWSDDeviceHost* This,
LPCWSTR pszServiceId,
IUnknown *pService);
HRESULT (STDMETHODCALLTYPE *RetireService)(
IWSDDeviceHost* This,
LPCWSTR pszServiceId);
HRESULT (STDMETHODCALLTYPE *AddDynamicService)(
IWSDDeviceHost* This,
LPCWSTR pszServiceId,
LPCWSTR pszEndpointAddress,
const WSD_PORT_TYPE *pPortType,
const WSDXML_NAME *pPortName,
const WSDXML_ELEMENT *pAny,
IUnknown *pService);
HRESULT (STDMETHODCALLTYPE *RemoveDynamicService)(
IWSDDeviceHost* This,
LPCWSTR pszServiceId);
HRESULT (STDMETHODCALLTYPE *SetServiceDiscoverable)(
IWSDDeviceHost* This,
LPCWSTR pszServiceId,
WINBOOL fDiscoverable);
HRESULT (STDMETHODCALLTYPE *SignalEvent)(
IWSDDeviceHost* This,
LPCWSTR pszServiceId,
const void *pBody,
const WSD_OPERATION *pOperation);
END_INTERFACE
} IWSDDeviceHostVtbl;
interface IWSDDeviceHost {
CONST_VTBL IWSDDeviceHostVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWSDDeviceHost_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWSDDeviceHost_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWSDDeviceHost_Release(This) (This)->lpVtbl->Release(This)
/*** IWSDDeviceHost methods ***/
#define IWSDDeviceHost_Init(This,pszLocalId,pContext,ppHostAddresses,dwHostAddressCount) (This)->lpVtbl->Init(This,pszLocalId,pContext,ppHostAddresses,dwHostAddressCount)
#define IWSDDeviceHost_Start(This,ullInstanceId,pScopeList,pNotificationSink) (This)->lpVtbl->Start(This,ullInstanceId,pScopeList,pNotificationSink)
#define IWSDDeviceHost_Stop(This) (This)->lpVtbl->Stop(This)
#define IWSDDeviceHost_Terminate(This) (This)->lpVtbl->Terminate(This)
#define IWSDDeviceHost_RegisterPortType(This,pPortType) (This)->lpVtbl->RegisterPortType(This,pPortType)
#define IWSDDeviceHost_SetMetadata(This,pThisModelMetadata,pThisDeviceMetadata,pHostMetadata,pCustomMetadata) (This)->lpVtbl->SetMetadata(This,pThisModelMetadata,pThisDeviceMetadata,pHostMetadata,pCustomMetadata)
#define IWSDDeviceHost_RegisterService(This,pszServiceId,pService) (This)->lpVtbl->RegisterService(This,pszServiceId,pService)
#define IWSDDeviceHost_RetireService(This,pszServiceId) (This)->lpVtbl->RetireService(This,pszServiceId)
#define IWSDDeviceHost_AddDynamicService(This,pszServiceId,pszEndpointAddress,pPortType,pPortName,pAny,pService) (This)->lpVtbl->AddDynamicService(This,pszServiceId,pszEndpointAddress,pPortType,pPortName,pAny,pService)
#define IWSDDeviceHost_RemoveDynamicService(This,pszServiceId) (This)->lpVtbl->RemoveDynamicService(This,pszServiceId)
#define IWSDDeviceHost_SetServiceDiscoverable(This,pszServiceId,fDiscoverable) (This)->lpVtbl->SetServiceDiscoverable(This,pszServiceId,fDiscoverable)
#define IWSDDeviceHost_SignalEvent(This,pszServiceId,pBody,pOperation) (This)->lpVtbl->SignalEvent(This,pszServiceId,pBody,pOperation)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWSDDeviceHost_QueryInterface(IWSDDeviceHost* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWSDDeviceHost_AddRef(IWSDDeviceHost* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWSDDeviceHost_Release(IWSDDeviceHost* This) {
return This->lpVtbl->Release(This);
}
/*** IWSDDeviceHost methods ***/
static FORCEINLINE HRESULT IWSDDeviceHost_Init(IWSDDeviceHost* This,LPCWSTR pszLocalId,IWSDXMLContext *pContext,IWSDAddress **ppHostAddresses,DWORD dwHostAddressCount) {
return This->lpVtbl->Init(This,pszLocalId,pContext,ppHostAddresses,dwHostAddressCount);
}
static FORCEINLINE HRESULT IWSDDeviceHost_Start(IWSDDeviceHost* This,ULONGLONG ullInstanceId,const WSD_URI_LIST *pScopeList,IWSDDeviceHostNotify *pNotificationSink) {
return This->lpVtbl->Start(This,ullInstanceId,pScopeList,pNotificationSink);
}
static FORCEINLINE HRESULT IWSDDeviceHost_Stop(IWSDDeviceHost* This) {
return This->lpVtbl->Stop(This);
}
static FORCEINLINE HRESULT IWSDDeviceHost_Terminate(IWSDDeviceHost* This) {
return This->lpVtbl->Terminate(This);
}
static FORCEINLINE HRESULT IWSDDeviceHost_RegisterPortType(IWSDDeviceHost* This,const WSD_PORT_TYPE *pPortType) {
return This->lpVtbl->RegisterPortType(This,pPortType);
}
static FORCEINLINE HRESULT IWSDDeviceHost_SetMetadata(IWSDDeviceHost* This,const WSD_THIS_MODEL_METADATA *pThisModelMetadata,const WSD_THIS_DEVICE_METADATA *pThisDeviceMetadata,const WSD_HOST_METADATA *pHostMetadata,const WSD_METADATA_SECTION_LIST *pCustomMetadata) {
return This->lpVtbl->SetMetadata(This,pThisModelMetadata,pThisDeviceMetadata,pHostMetadata,pCustomMetadata);
}
static FORCEINLINE HRESULT IWSDDeviceHost_RegisterService(IWSDDeviceHost* This,LPCWSTR pszServiceId,IUnknown *pService) {
return This->lpVtbl->RegisterService(This,pszServiceId,pService);
}
static FORCEINLINE HRESULT IWSDDeviceHost_RetireService(IWSDDeviceHost* This,LPCWSTR pszServiceId) {
return This->lpVtbl->RetireService(This,pszServiceId);
}
static FORCEINLINE HRESULT IWSDDeviceHost_AddDynamicService(IWSDDeviceHost* This,LPCWSTR pszServiceId,LPCWSTR pszEndpointAddress,const WSD_PORT_TYPE *pPortType,const WSDXML_NAME *pPortName,const WSDXML_ELEMENT *pAny,IUnknown *pService) {
return This->lpVtbl->AddDynamicService(This,pszServiceId,pszEndpointAddress,pPortType,pPortName,pAny,pService);
}
static FORCEINLINE HRESULT IWSDDeviceHost_RemoveDynamicService(IWSDDeviceHost* This,LPCWSTR pszServiceId) {
return This->lpVtbl->RemoveDynamicService(This,pszServiceId);
}
static FORCEINLINE HRESULT IWSDDeviceHost_SetServiceDiscoverable(IWSDDeviceHost* This,LPCWSTR pszServiceId,WINBOOL fDiscoverable) {
return This->lpVtbl->SetServiceDiscoverable(This,pszServiceId,fDiscoverable);
}
static FORCEINLINE HRESULT IWSDDeviceHost_SignalEvent(IWSDDeviceHost* This,LPCWSTR pszServiceId,const void *pBody,const WSD_OPERATION *pOperation) {
return This->lpVtbl->SignalEvent(This,pszServiceId,pBody,pOperation);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IWSDDeviceHost_Init_Proxy(
IWSDDeviceHost* This,
LPCWSTR pszLocalId,
IWSDXMLContext *pContext,
IWSDAddress **ppHostAddresses,
DWORD dwHostAddressCount);
void __RPC_STUB IWSDDeviceHost_Init_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWSDDeviceHost_Start_Proxy(
IWSDDeviceHost* This,
ULONGLONG ullInstanceId,
const WSD_URI_LIST *pScopeList,
IWSDDeviceHostNotify *pNotificationSink);
void __RPC_STUB IWSDDeviceHost_Start_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWSDDeviceHost_Stop_Proxy(
IWSDDeviceHost* This);
void __RPC_STUB IWSDDeviceHost_Stop_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWSDDeviceHost_Terminate_Proxy(
IWSDDeviceHost* This);
void __RPC_STUB IWSDDeviceHost_Terminate_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWSDDeviceHost_RegisterPortType_Proxy(
IWSDDeviceHost* This,
const WSD_PORT_TYPE *pPortType);
void __RPC_STUB IWSDDeviceHost_RegisterPortType_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWSDDeviceHost_SetMetadata_Proxy(
IWSDDeviceHost* This,
const WSD_THIS_MODEL_METADATA *pThisModelMetadata,
const WSD_THIS_DEVICE_METADATA *pThisDeviceMetadata,
const WSD_HOST_METADATA *pHostMetadata,
const WSD_METADATA_SECTION_LIST *pCustomMetadata);
void __RPC_STUB IWSDDeviceHost_SetMetadata_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWSDDeviceHost_RegisterService_Proxy(
IWSDDeviceHost* This,
LPCWSTR pszServiceId,
IUnknown *pService);
void __RPC_STUB IWSDDeviceHost_RegisterService_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWSDDeviceHost_RetireService_Proxy(
IWSDDeviceHost* This,
LPCWSTR pszServiceId);
void __RPC_STUB IWSDDeviceHost_RetireService_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWSDDeviceHost_AddDynamicService_Proxy(
IWSDDeviceHost* This,
LPCWSTR pszServiceId,
LPCWSTR pszEndpointAddress,
const WSD_PORT_TYPE *pPortType,
const WSDXML_NAME *pPortName,
const WSDXML_ELEMENT *pAny,
IUnknown *pService);
void __RPC_STUB IWSDDeviceHost_AddDynamicService_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWSDDeviceHost_RemoveDynamicService_Proxy(
IWSDDeviceHost* This,
LPCWSTR pszServiceId);
void __RPC_STUB IWSDDeviceHost_RemoveDynamicService_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWSDDeviceHost_SetServiceDiscoverable_Proxy(
IWSDDeviceHost* This,
LPCWSTR pszServiceId,
WINBOOL fDiscoverable);
void __RPC_STUB IWSDDeviceHost_SetServiceDiscoverable_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWSDDeviceHost_SignalEvent_Proxy(
IWSDDeviceHost* This,
LPCWSTR pszServiceId,
const void *pBody,
const WSD_OPERATION *pOperation);
void __RPC_STUB IWSDDeviceHost_SignalEvent_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IWSDDeviceHost_INTERFACE_DEFINED__ */
HRESULT WINAPI WSDCreateDeviceHost(LPCWSTR pszLocalId, IWSDXMLContext *pContext, IWSDDeviceHost **ppDeviceHost);
#if WINVER >= 0x601
HRESULT WINAPI WSDCreateDeviceHost2(LPCWSTR pszLocalId, IWSDXMLContext *pContext, WSD_CONFIG_PARAM *pConfigParams, DWORD dwConfigParamCount, IWSDDeviceHost **ppDeviceHost);
#endif
HRESULT WINAPI WSDCreateDeviceHostAdvanced(LPCWSTR pszLocalId, IWSDXMLContext *pContext, IWSDAddress** ppHostAddresses, DWORD dwHostAddressCount, IWSDDeviceHost **ppDeviceHost);
#endif
/* Begin additional prototypes for all interfaces */
/* End additional prototypes */
#ifdef __cplusplus
}
#endif
#endif /* __wsdhost_h__ */
|