---
name: "UrlCompareA"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/UrlCompareA"
---

# UrlCompareA(3w)

## NAME

**UrlCompareA** (SHLWAPI.@)

## SYNOPSIS

INT UrlCompareA\
  (\
   LPCSTR *pszUrl1*,\
   LPCSTR *pszUrl2*,\
   BOOL   *fIgnoreSlash*\
  )

## DESCRIPTION

Compare two Urls.

## PARAMS

*pszUrl1* **\[In\]**  First Url to compare.

*pszUrl2* **\[In\]**  Url to compare to *pszUrl1*.

*fIgnoreSlash* **\[In\]**  **TRUE** = compare only up to a final slash.

## RETURNS

less than zero, zero, or greater than zero indicating *pszUrl2* is greater than, equal to, or less than *pszUrl1* respectively.

## IMPLEMENTATION

Declared in **"shlwapi.h"**.

Implemented in **"dlls/shlwapi/url.c"**.

Debug channel **"shell"**.
