UrlUnescapeInPlace macro (shlwapi.h)

Converts escape sequences back into ordinary characters and overwrites the original string.

Syntax

void UrlUnescapeInPlace(
  [in, out]  pszUrl,
  [in]       dwFlags
);

Parameters

[in, out] pszUrl

Type: LPTSTR

A pointer to a null-terminated string that contains the URL. The converted string is returned through this parameter.

[in] dwFlags

Type: DWORD

The flags that control which characters are unescaped.

URL_DONT_UNESCAPE_EXTRA_INFO

Do not convert the # or ? character, or any characters following them in the string.

Return value

None

Remarks

UrlUnescapeInPlace is equivalent to the following:


UrlUnescape(pszUrl, NULL, NULL, dwFlags | URL_UNESCAPE_INPLACE)
				

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shlwapi.h
Library Shlwapi.lib
DLL Shlwapi.dll (version 5.0 or later)

See also

UrlUnescape