Condividi tramite


IUri::GetProperties method

Returns a bitmap of flags that indicate which Uniform Resource Identifier (URI) properties have been set.

Syntax

HRESULT GetProperties(
  [out] LPDWORD pdwFlags
);

Parameters

pdwFlags [out]

Address of a DWORD that receives a combination of the following flags:

Uri_HAS_ABSOLUTE_URI (0x00000000)

Uri_PROPERTY_ABSOLUTE_URI exists.

Uri_HAS_AUTHORITY (0x00000001)

Uri_PROPERTY_AUTHORITY exists.

Uri_HAS_DISPLAY_URI (0x00000002)

Uri_PROPERTY_DISPLAY_URI exists.

Uri_HAS_DOMAIN (0x00000004)

Uri_PROPERTY_DOMAIN exists.

Uri_HAS_EXTENSION (0x00000008)

Uri_PROPERTY_EXTENSION exists.

Uri_HAS_FRAGMENT (0x00000010)

Uri_PROPERTY_FRAGMENT exists.

Uri_HAS_HOST (0x00000020)

Uri_PROPERTY_HOST exists.

Uri_HAS_HOST_TYPE (0x00004000)

Uri_PROPERTY_HOST_TYPE exists.

Uri_HAS_PASSWORD (0x00000040)

Uri_PROPERTY_PASSWORD exists.

Uri_HAS_PATH (0x00000080)

Uri_PROPERTY_PATH exists.

Uri_HAS_PATH_AND_QUERY (0x00001000)

Uri_PROPERTY_PATH_AND_QUERY exists.

Uri_HAS_PORT (0x00008000)

Uri_PROPERTY_PORT exists.

Uri_HAS_QUERY (0x00000100)

Uri_PROPERTY_QUERY exists.

Uri_HAS_RAW_URI (0x00000200)

Uri_PROPERTY_RAW_URI exists.

Uri_HAS_SCHEME (0x00010000)

Uri_PROPERTY_SCHEME exists.

Uri_HAS_SCHEME_NAME (0x00000400)

Uri_PROPERTY_SCHEME_NAME exists.

Uri_HAS_USER_NAME (0x00000800)

Uri_PROPERTY_USER_NAME exists.

Uri_HAS_USER_INFO (0x00002000)

Uri_PROPERTY_USER_INFO exists.

Uri_HAS_ZONE (0x00020000)

Uri_PROPERTY_ZONE exists.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

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

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::HasProperty