Export (0) Print
Expand All
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

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 4.0

Header

Urlmon.h

Library

Urlmon.lib

DLL

Urlmon.dll

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.