Skip to content

Latest commit

 

History

History
77 lines (64 loc) · 2.45 KB

nf-shlwapi-pathunquotespacesa.md

File metadata and controls

77 lines (64 loc) · 2.45 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:shlwapi.PathUnquoteSpacesA
PathUnquoteSpacesA function (shlwapi.h)
Removes quotes from the beginning and end of a path. (ANSI)
PathUnquoteSpacesA
shlwapi/PathUnquoteSpacesA
shell\PathUnquoteSpaces.htm
shell
00474c95-ec59-489a-bee3-191b98a47567
12/05/2018
PathUnquoteSpaces, PathUnquoteSpaces function [Windows Shell], PathUnquoteSpacesA, PathUnquoteSpacesW, _win32_PathUnquoteSpaces, shell.PathUnquoteSpaces, shlwapi/PathUnquoteSpaces, shlwapi/PathUnquoteSpacesA, shlwapi/PathUnquoteSpacesW
shlwapi.h
Windows
Windows 2000 Professional, Windows XP [desktop apps only]
Windows 2000 Server [desktop apps only]
PathUnquoteSpacesW (Unicode) and PathUnquoteSpacesA (ANSI)
Shlwapi.lib
Shlwapi.dll (version 4.71 or later)
Windows
19H1
PathUnquoteSpacesA
shlwapi/PathUnquoteSpacesA
c++
APIRef
kbSyntax
DllExport
Shlwapi.dll
API-MS-Win-Core-shlwapi-legacy-l1-1-0.dll
KernelBase.dll
API-MS-Win-DownLevel-shlwapi-l1-1-0.dll
API-MS-Win-DownLevel-shlwapi-l1-1-1.dll
PathUnquoteSpaces
PathUnquoteSpacesA
PathUnquoteSpacesW

PathUnquoteSpacesA function

-description

Removes quotes from the beginning and end of a path.

-parameters

-param lpsz [in, out]

Type: LPTSTR

A pointer to a null-terminated string of length MAX_PATH that contains the path. When the function returns successfully, points to the string with beginning and ending quotation marks removed.

-returns

TRUE if the string gets unquoted; otherwise, FALSE.

-remarks

Note

The shlwapi.h header defines PathUnquoteSpaces as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.