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"
26 #include "debugtools.h"
28 DEFAULT_DEBUG_CHANNEL(resource
);
30 extern const WORD OLE2NLS_CT_CType3_LUT
[]; /* FIXME: does not belong here */
32 /***********************************************************************
33 * IsCharAlphaA (USER.433) (USER32.331)
34 * FIXME: handle current locale
36 BOOL WINAPI
IsCharAlphaA(CHAR x
)
38 return (OLE2NLS_CT_CType3_LUT
[(unsigned char)x
] & C3_ALPHA
);
41 /***********************************************************************
42 * IsCharAlphaNumericA (USER.434) (USER32.332)
43 * FIXME: handle current locale
45 BOOL WINAPI
IsCharAlphaNumericA(CHAR x
)
47 return IsCharAlphaA(x
) || isdigit(x
) ;