UrlUnescapeA(3w)

UrlUnescapeA3w

Usage

HRESULT UrlUnescapeA
(
LPSTR pszUrl,
LPSTR pszUnescaped,
LPDWORD pcchUnescaped,
DWORD dwFlags
)

Overview

Converts Url escape sequences back to ordinary characters.

Params

pszUrl [In/Out] Url to convert.

pszUnescaped [Out] Destination for converted Url.

pcchUnescaped [In/Out] Size of output string.

dwFlags [In] URL_ESCAPE_ Flags from "shlwapi.h".

Returns

Success: S_OK. The converted value is in pszUnescaped, or in pszUrl if dwFlags includes URL_ESCAPE_INPLACE.

Failure: E_POINTER if the converted Url is bigger than pcchUnescaped. In this case pcchUnescaped is set to the size required.

Notes

If dwFlags includes URL_DONT_ESCAPE_EXTRA_INFO, the conversion stops at the first occurrence of either a '?' or '#' character.

Implementation

Declared in "shlwapi.h".

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

Debug channel "shell".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.