This topic has not yet been rated - Rate this topic

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)

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.