Share via


IWSDiscoveredService::GetLocalTransportAddress (Windows Embedded CE 6.0)

1/6/2010

This method retrieves the string representation of the local transport (IP) address.

Syntax

HRESULT GetLocalTransportAddress(
  LPCWSTR* ppszLocalTransportAddress
);

Parameters

  • ppszLocalTransportAddress
    [out] String representation of the local 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

ppszLocalTransportAddress 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