The IsCharAlphaNumeric function determines whether a character is either an alphabetic or a numeric character. This determination is based on the semantics of the language selected by the user during setup or by using Control Panel.
BOOL IsCharAlphaNumeric(
TCHAR ch // character to test
);
If the character is alphanumeric, the return value is nonzero.
If the character is not alphanumeric, the return value is zero. To get extended error information, call GetLastError.
Windows CE: Windows CE supports only the Unicode version of this function.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Requires version 1.0 or later.
Header: Declared in winuser.h.
Import Library: Use user32.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT.
String Manipulation Overview, String Manipulation Functions, IsCharAlpha