IWSDiscoveredService::GetRemoteTransportAddress (Compact 2013)
3/26/2014
This method retrieves the string representation of the remote transport (IP) address.
Syntax
HRESULT GetRemoteTransportAddress(
LPCWSTR* ppszRemoteTransportAddress
);
Parameters
- ppszRemoteTransportAddress
[out] String representation of the remote transport (IP) address. Is NULL if not available. Do not deallocate the output string.
Return Value
The following table shows the possible error code return values.
Error code |
Description |
---|---|
S_OK |
This method completed successfully. |
E_POINTER |
ppszRemoteTransportAddress is NULL. |
Remarks
The resulting pointer value is only valid for the lifetime of the IWSDiscoveredService object.
Requirements
Header |
wsdapi.h |
Library |
wsdapi.lib |