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.
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 |
|
|
Library |
|
|
DLL |
|
See also