Delen via


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

Minimum supported server

Windows Server 2003 with SP1

Product

Internet Explorer 7

Header

Urlmon.h

IDL

Urlmon.idl

DLL

Urlmon.dll

See also

IUri