Mapping From WIN32 Char Type Query To OS/2 Char Type Query

Mapping From WIN32 Char Type Query To OS/2 Char Type Query

WIN32 supports IsCharXXX API (XXX = Alpha/AlphaNumeric/Upper/Lower) to query character type. Unlike GetStringTye(Ex) API, these APIs do not cover DBCS characters in their query handling. Therefore, these APIs can be straightforwardly mapped to OS/2 ULS character type query API as follows:

┌────────────────────────────────────────┬────────────────────────────────────────┐
│WIN32 API                               │OS/2 ULS API                            │
├────────────────────────────────────────┼────────────────────────────────────────┤
│IsCharAlpha                             │UniQueryAlpha                           │
├────────────────────────────────────────┼────────────────────────────────────────┤
│IsCharAlphaNumeric                      │UniQueryAlnum                           │
├────────────────────────────────────────┼────────────────────────────────────────┤
│IsCharUpper                             │UniQueryUpper                           │
├────────────────────────────────────────┼────────────────────────────────────────┤
│IsCharLower                             │UniQueryLower                           │
└────────────────────────────────────────┴────────────────────────────────────────┘


[Back: Mapping From WIN32 Char Type (CT_CTYPE) To OS/2 Char Type (LC_CTYPE)]
[Next: Functional Description by API or Message]