IWSDTransportAddress::GetPort (Compact 2013)
3/26/2014
This method gets the IP port number associated with this transport address.
Syntax
HRESULT GetPort(
WORD* pwPort
);
Parameters
- pwPort
[out] Port number associated with the address object.
Return Value
The following table shows the possible error code return values.
Error code |
Description |
---|---|
S_OK |
This method completed successfully. |
E_POINTER |
pwPort is NULL. |
Requirements
Header |
wsdapi.h |
Library |
wsdapi.lib |