IsCharSpaceA function (shlwapi.h)
Determines whether a character represents a space.
BOOL IsCharSpaceA( CHAR wch );
A single character.
Returns TRUE if the character is a space; otherwise, FALSE.
For those versions of Windows that do not include IsCharSpace in Shlwapi.h, IsCharSpaceW must be called directly from Shlwapi.dll (ordinal 29), using a WCHAR in the wch parameter. IsCharSpaceA is not available in versions of Windows that do not include IsCharSpace in Shlwapi.h.
The shlwapi.h header defines IsCharSpace 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.
|Minimum supported client||Windows 2000 Professional, Windows XP [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|
|DLL||Shlwapi.dll (version 5.0 or later)|