Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IUri::GetPort method

Returns the port number.

Syntax


HRESULT GetPort(
  [out] DWORD *pdwPort
);

Parameters

pdwPort [out]

Address of a DWORD that receives the port number value.

Return value

Returns S_OK if successful, or S_FALSE if the property is not defined.

Remarks

IUri::GetPort was introduced in Windows Internet Explorer 7.

This function is for convenience. It is the same as calling IUri::GetPropertyDWORD with the Uri_PROPERTY_PORT property.

Requirements

Minimum supported client

Windows XP with SP2

Minimum supported server

Windows Server 2003 with SP1

Product

Internet Explorer 7

Header

Urlmon.h

IDL

Urlmon.idl

DLL

Urlmon.dll

See also

IUri

 

 

Show:
© 2017 Microsoft