This topic has not yet been rated - Rate this topic

CoInternetCompareUrl function

Compares two URLs and determines if they are equal.

Syntax


HRESULT CoInternetCompareUrl(
  _In_  LPCWSTR pwzUrl1,
  _In_  LPCWSTR pwzUrl2,
  _In_  DWORD dwCompareFlags
);

Parameters

pwzUrl1 [in]

The address of a string value that contains the first URL.

pwzUrl2 [in]

The address of a string value that contains the second URL.

dwCompareFlags [in]

An unsigned long integer value that controls how the comparison should be done. This is set to TRUE to ignore slash marks, or FALSE otherwise.

Return value

Returns S_OK if equal, or S_FALSE otherwise.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Product

Internet Explorer 4.0

Header

Urlmon.h

Library

Urlmon.lib

DLL

Urlmon.dll

 

 

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.