Skip to content

Latest commit

 

History

History
73 lines (62 loc) · 2.27 KB

nf-shlwapi-pathremoveblanksa.md

File metadata and controls

73 lines (62 loc) · 2.27 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.PathRemoveBlanksA
PathRemoveBlanksA function (shlwapi.h)
Removes all leading and trailing spaces from a string. (ANSI)
PathRemoveBlanksA
shlwapi/PathRemoveBlanksA
shell\PathRemoveBlanks.htm
shell
0f496855-3ea7-4193-b895-fd4ea26ef6c5
12/05/2018
PathRemoveBlanks, PathRemoveBlanks function [Windows Shell], PathRemoveBlanksA, PathRemoveBlanksW, _win32_PathRemoveBlanks, shell.PathRemoveBlanks, shlwapi/PathRemoveBlanks, shlwapi/PathRemoveBlanksA, shlwapi/PathRemoveBlanksW
shlwapi.h
Windows
Windows 2000 Professional, Windows XP [desktop apps only]
Windows 2000 Server [desktop apps only]
PathRemoveBlanksW (Unicode) and PathRemoveBlanksA (ANSI)
Shlwapi.lib
Shlwapi.dll (version 4.71 or later)
Windows
19H1
PathRemoveBlanksA
shlwapi/PathRemoveBlanksA
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
PathRemoveBlanks
PathRemoveBlanksA
PathRemoveBlanksW

PathRemoveBlanksA function

-description

Removes all leading and trailing spaces from a string.

-parameters

-param pszPath [in, out]

Type: LPTSTR

A pointer to a null-terminated string of length MAX_PATH from which to strip all leading and trailing spaces.

-remarks

Note

The shlwapi.h header defines PathRemoveBlanks 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.