IWSDiscoveredService::GetEndpointReference (Windows Embedded CE 6.0)

1/6/2010

This method retrieves a WS-Addressing address referencing an endpoint of the remote device.

Syntax

HRESULT* GetEndpointReference(
  WSD_ENDPOINT_REFERENCE** ppEndPointReference
);

Parameters

  • ppEndPointReference
    [out] A WS-Addressing address referencing an endpoint of the remote device. For details, see WSD_ENDPOINT_REFERENCE. Do not deallocate the output structure.

Return Value

The following table shows the possible error code return values.

Error code Description

S_OK

This method completed successfully.

E_POINTER

ppEndPointReference is NULL.

Remarks

The resulting pointer value is only valid for the lifetime of the IWSDiscoveredService object.

Requirements

Header wsdapi.h
Library wsdapi.lib
Windows Embedded CE Windows Embedded CE 6.0 R2

See Also

Reference

IWSDiscoveredService
Web Services on Devices Interfaces