IWSDTransportAddress::GetTransportAddress (Windows Embedded CE 6.0)

1/6/2010

This method gets a pointer to a string representation of the address object. The format of the string varies, and is determined by the implementing interface (either IWSDHttpAddress or IWSDUdpAddress).

Syntax

HRESULT GetTransportAddress(
  LPCWSTR* ppszAddress
);

Parameters

  • ppszAddress
    [out] String representation of the address object. Do not deallocate this pointer.

Return Value

The following table shows the possible error code return values.

Error code Description

S_OK

This method completed successfully.

E_POINTER

ppszAddress is NULL.

S_FALSE

The transport address has not yet been set. To set the transport address, call IWSDTransportAddress::SetTransportAddress with a non-NULL address.

Requirements

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

See Also

Reference

IWSDTransportAddress
Web Services on Devices Interfaces