Export (0) Print
Expand All
0 out of 2 rated this helpful - Rate this topic

IInternetProtocolInfo::CompareUrl Method

Compares two URLs and determines if they are equal.

Syntax


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

Parameters

pwzUrl1
[in] A string value that contains the first URL.
pwzUrl2
[in] A string value that contains the second URL.
dwCompareFlags
[in] An unsigned long integer value that controls the comparison. Set this to TRUE to ignore slashes; otherwise, set to FALSE.

Return Value

This method can return one of the following values.

S_OK Success. The URLs are equal.
S_FALSE The URLs are different.
E_NOTIMPL Not implemented. Use default action.
INET_E_DEFAULT_ACTION Use the default action.

See Also

CoInternetCompareUrl
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.