Click to return to the Networking, Protocols     
CoInternetCombineUrl Func...     CoInternetQueryInfo Funct...     URL Monikers Functions    
Web Workshop  |  Networking, Protocols & Data Formats

CoInternetCompareUrl Function


Compares two URLs and determines if they are equal.

Syntax

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

Parameters

pwzUrl1
[in] Address of a string value that contains the first URL.
pwzUrl2
[in] Address of a string value that contains the second URL.
dwCompareFlags
[in] Unsigned long integer value that controls how the comparison should be done. This is set to TRUE to ignore slashes, or FALSE otherwise.

Return Value

Returns S_OK if equal, or S_FALSE otherwise.

Function Information

Windows NT Use version 4.0. Implemented as a Unicode function.
Windows Use Windows 95 and later. Implemented as a Unicode function.
Header Urlmon.h
Import Library Urlmon.lib
Minimum availability Internet Explorer 4.0

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.