Compartilhar via


IInternetProtocolInfo::CompareUrl

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method compares two URLs and determines if they are equal.

Syntax

HRESULT CompareUrl( 
  LPCWSTR pwzUrl1,
  LPCWSTR pwzUrl2,
  DWORD dwCompareFlags
);

Parameters

  • pwzUrl1
    [in] String value that contains the first URL.
  • pwzUrl2
    [in] String value that contains the second URL.
  • dwCompareFlags
    [in] Unsigned long integer value that controls the comparison. Set this to TRUE to ignore slashes, or to FALSE otherwise.

Return Value

Returns S_OK if successful or an error value otherwise.

Requirements

Header urlmon.h, urlmon.idl
Library urlmon.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later