This topic has not yet been rated - Rate this topic

IUri::GetHostType method

Returns a value from the Uri_HOST_TYPE enumeration.

Syntax


HRESULT GetHostType(
  [out]  DWORD *pdwHostType
);

Parameters

pdwHostType [out]

Address of a DWORD that receives a value from the Uri_HOST_TYPE enumeration.

Return value

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

Remarks

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

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

Requirements

Minimum supported client

Windows XP with SP2 [desktop apps only]

Minimum supported server

Windows Server 2003 with SP1 [desktop apps only]

Product

Internet Explorer 7

Header

Urlmon.h

IDL

Urlmon.idl

DLL

Urlmon.dll

See also

IUri

 

 

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.