IsCharSpace function

Determines whether a character represents a space.

Syntax


BOOL IsCharSpace(
  _In_  TCHAR wch
);

Parameters

wch [in]

Type: TCHAR

A single character.

Return value

Type: BOOL

Returns TRUE if the character is a space; otherwise, FALSE.

Remarks

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.

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shlwapi.h

Library

Shlwapi.lib

DLL

Shlwapi.dll (version 5.0 or later)

Unicode and ANSI names

IsCharSpaceW (Unicode) and IsCharSpaceA (ANSI)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft