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.