CompareUrl method

Compares two URLs and determines if they are equal.

Syntax

HRESULT retVal = object.CompareUrl(pwzUrl1, pwzUrl2, dwCompareFlags);

Parameters

  • pwzUrl1 [in]
    Type: LPCWSTR

    A string value that contains the first URL.

  • pwzUrl2 [in]
    Type: LPCWSTR

    A string value that contains the second URL.

  • dwCompareFlags [in]
    Type: DWORD

    An unsigned long integer value that controls the comparison. Set this to TRUE to ignore slashes; otherwise, set to FALSE.

See also

CoInternetCompareUrl