IWSDiscoveredService::GetEndpointReference (Compact 2013)
3/26/2014
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 |