Share via


IWSDTransportAddress::GetTransportAddress (Compact 2013)

3/26/2014

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

See Also

Reference

IWSDTransportAddress
Web Services on Devices Interfaces