Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
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 |
| Windows Embedded CE | Windows Embedded CE 6.0 R2 |