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

# UrlApplySchemeA(3w)

## NAME

**UrlApplySchemeA** (SHLWAPI.@)

## SYNOPSIS

HRESULT UrlApplySchemeA\
  (\
   LPCSTR  *pszIn*,\
   LPSTR   *pszOut*,\
   LPDWORD *pcchOut*,\
   DWORD   *dwFlags*\
  )

## DESCRIPTION

Apply a scheme to a Url.

## PARAMS

*pszIn* **\[In\]**  Url to apply scheme to.

*pszOut* **\[Out\]**  Destination for modified Url.

*pcchOut* **\[In/Out\]**  Length of *pszOut*/destination for length of *pszOut*.

*dwFlags* **\[In\]**  **URL\_** flags from **"shlwapi.h"**.

## RETURNS

**Success:** S\_OK: *pszOut* contains the modified Url, *pcchOut* contains its length.

**Failure:** An **HRESULT** error code describing the error.

## IMPLEMENTATION

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

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

Debug channel **"shell"**.
