4 * Copyright 1993 Yngvi Sigurjonsson (yngvi@hafro.is)
5 * Copyright 1996 Marcus Meissner
20 #include "wine/winbase16.h"
21 #include "wine/winuser16.h"
22 #include "wine/unicode.h"
25 #include "debugtools.h"
27 DEFAULT_DEBUG_CHANNEL(resource);
29 extern const WORD OLE2NLS_CT_CType3_LUT[]; /* FIXME: does not belong here */
31 /***********************************************************************
32 * IsCharAlphaA (USER.433) (USER32.331)
33 * FIXME: handle current locale
35 BOOL WINAPI IsCharAlphaA(CHAR x)
37 return (OLE2NLS_CT_CType3_LUT[(unsigned char)x] & C3_ALPHA);
40 /***********************************************************************
41 * IsCharAlphaNumericA (USER.434) (USER32.332)
42 * FIXME: handle current locale
44 BOOL WINAPI IsCharAlphaNumericA(CHAR x)
46 return IsCharAlphaA(x) || isdigit(x) ;