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

# UrlFixupW(3w)

## NAME

**UrlFixupW** (SHLWAPI.462)

## SYNOPSIS

HRESULT UrlFixupW\
  (\
   LPCWSTR *url*,\
   LPWSTR  *translatedUrl*,\
   DWORD   *maxChars*\
  )

## DESCRIPTION

Checks the scheme part of a Url and attempts to correct misspellings.

## PARAMS

lpszUrl **\[In\]**  Pointer to the Url to be corrected.

lpszTranslatedUrl **\[Out\]**  Pointer to a buffer to store corrected **URL**.

dwMaxChars **\[In\]**  Maximum size of corrected **URL**.

## RETURNS

**success:** **S\_OK** if Url corrected or already correct

**failure:** **S\_FALSE** if unable to correct / **COM** error code if other error

## IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

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

Debug channel **"shell"**.
