Export (0) Print
Expand All

UrlUnescapeInPlace function

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

Syntax


HRESULT UrlUnescapeInPlace(
  _Inout_  LPTSTR pszURL,
  _In_     DWORD dwFlags
);

Parameters

pszURL [in, out]

Type: LPTSTR

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

dwFlags [in]

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

Type: HRESULT

Returns S_OK if successful, or a standard OLE error value otherwise.

Remarks

UrlUnescapeInPlace is equivalent to the following:



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

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shlwapi.h

Library

Shlwapi.lib

DLL

Shlwapi.dll (version 5.0 or later)

See also

UrlUnescape

 

 

Community Additions

ADD
Show:
© 2014 Microsoft