IsCharAlphaA function (winuser.h)
Determines whether a character is an alphabetical character. This determination is based on the semantics of the language selected by the user during setup or through Control Panel.
Syntax
BOOL IsCharAlphaA(
[in] CHAR ch
);
Parameters
[in] ch
Type: TCHAR
The character to be tested.
Return value
Type: BOOL
If the character is alphabetical, the return value is nonzero.
If the character is not alphabetical, the return value is zero. To get extended error information, call GetLastError.
Remarks
Note
The winuser.h header defines IsCharAlpha 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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | winuser.h (include Windows.h) |
Library | User32.lib |
DLL | User32.dll |
See also
Conceptual
Reference