IsCharAlphaNumeric

  BOOL IsCharAlphaNumeric(ch)    
  TCHAR ch; /* character to test */

The IsCharAlphaNumeric function determines whether a character is an alphabetical or numerical character. This determination is based on the language semantics of the language selected by the user at setup time or from the Control Panel.

Parameters

ch

Specifies the character to be tested.

Return Value

The return value is TRUE if the function was successful, or FALSE if an error occurred. Use the GetLastError function to obtain extended error information.

Comments

The IsCharAlphaNumeric function may be used as either a wide-character function (where text arguments must use Unicode) or an ANSI function (where text arguments must use characters from the Windows 3.x character set installed).

See Also

IsCharAlpha