Skip to content

Latest commit

 

History

History
116 lines (95 loc) · 3.48 KB

nf-wsdbase-iwsdtransportaddress-gettransportaddress.md

File metadata and controls

116 lines (95 loc) · 3.48 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:wsdbase.IWSDTransportAddress.GetTransportAddress
IWSDTransportAddress::GetTransportAddress (wsdbase.h)
Gets a pointer to a string representation of the address object. (IWSDTransportAddress.GetTransportAddress)
GetTransportAddress
GetTransportAddress method
GetTransportAddress method
IWSDTransportAddress interface
IWSDTransportAddress interface
GetTransportAddress method
IWSDTransportAddress.GetTransportAddress
IWSDTransportAddress::GetTransportAddress
ncd.iwsdtransportaddress_gettransportaddress
wsdbase/IWSDTransportAddress::GetTransportAddress
ncd\iwsdtransportaddress_gettransportaddress.htm
ncd
090b009d-0cca-4925-bf90-cb3d0975d271
12/05/2018
GetTransportAddress, GetTransportAddress method, GetTransportAddress method,IWSDTransportAddress interface, IWSDTransportAddress interface,GetTransportAddress method, IWSDTransportAddress.GetTransportAddress, IWSDTransportAddress::GetTransportAddress, ncd.iwsdtransportaddress_gettransportaddress, wsdbase/IWSDTransportAddress::GetTransportAddress
wsdbase.h
Wsdapi.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Wsdbase.idl
Wsdapi.dll
Windows
19H1
IWSDTransportAddress::GetTransportAddress
wsdbase/IWSDTransportAddress::GetTransportAddress
c++
APIRef
kbSyntax
COM
wsdapi.dll
IWSDTransportAddress.GetTransportAddress

IWSDTransportAddress::GetTransportAddress

-description

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).

-parameters

-param ppszAddress [out]

String representation of the address object. Do not deallocate this pointer.

-returns

This method can return one of these values.

Possible return values include, but are not limited to, the following.

Return code Description
S_OK
Method completed successfully.
E_POINTER
ppszAddress is NULL.
S_FALSE
The transport address has not yet been set. To set the transport address, call SetTransportAddress with a non-NULL address.

-remarks

The string returned by this method may contain an IPv4 or unbracketed IPv6 address such as "fe80::1". It may also contain a bracketed IPv6 address that includes the port such as "[fe80::1]:1234". The caller should parse the string carefully to account for both possibilities.

-see-also

IWSDTransportAddress