IUri::GetScheme method

Returns a value from the URL_SCHEME enumeration.

Syntax

HRESULT GetScheme(
  [out] DWORD *pdwScheme
);

Parameters

  • pdwScheme [out]
    Address of a DWORD that receives a value from the URL_SCHEME enumeration.

Return value

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

Remarks

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

This function is for convenience. It is the same as calling IUri::GetPropertyDWORD with the Uri_PROPERTY_SCHEME 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

IUri::GetSchemeName