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 |