Partager via


IWSDTransportAddress::GetPort (Windows Embedded CE 6.0)

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

See Also

Reference

IWSDTransportAddress
Web Services on Devices Interfaces