Поделиться через


IUri::IsEqual method

Compares the logical content of two IUri objects.

Syntax

HRESULT IsEqual(
  [in]  IUri *pUri,
  [out] BOOL *pfEqual
);

Parameters

  • pUri [in]
    A pointer to an IUri interface for comparison.

  • pfEqual [out]
    Address of a BOOL that is set to TRUE if the logical content of pUri is the same.

Return value

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

Remarks

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

The comparison is case-insensitive. Comparing an IUri to itself will always return TRUE.

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