Returns an integer indicating the current input mode (IME) for extended character sets.
Note that IMEStatus is supported for Windows DBCS only. The codes for PRC and the Taiwan region are supported on Win95 only.
IMEStatus
The function returns a status code indicating the current input mode (IME).
IMEStatus provides support for languages that use extended character sets. The code returned depends on the country for which the IBM® software application is built. The following table describes the return values. For countries not listed in the table, the return value is 0.
Country or Region |
Constant |
Value |
Description |
---|---|---|---|
All |
IME_NOT_INSTALLED |
0 |
IME is not installed |
IME_ON |
1 |
IME is on |
|
IME_OFF |
2 |
IME is off |
|
Japan |
IME_HIRAGANA |
4 |
Double-byte Hiragana |
IME_KATAKANA_DBCS |
5 |
Double-byte Katakana |
|
IME_KATAKANA_SBCS |
6 |
Single-byte Katakana |
|
IME_ALPHA_DBCS |
7 |
Double-byte alphanumeric |
|
IME_ALPHA_SBCS |
8 |
Single-byte alphanumeric |
|
Taiwan |
IME_NATIVE_MODE |
4 |
Taiwan native mode |
IME_ALPHA_DBCS |
7 |
Double-byte alphanumeric |
|
IME_ALPHA_SBCS |
8 |
Single-byte alphanumeric |
|
Korea |
IME_HANGEUL |
4 |
Hangeul DBC |
IME_HANJACONVERT |
5 |
Hanja conversion |
|
IME_ALPLHA_DBCS |
7 |
Double-byte alphanumeric |
|
IME_ALPHA_SBCS |
8 |
Single-byte alphanumeric |
|
PRC |
IME_NATIVE_MODE |
4 |
PRC native mode |
IME_ALPHA_DBCS |
7 |
Double-byte alphanumeric |
|
IME_ALPHA_SBCS |
8 |
Single-byte alphanumeric |
See IMESetMode.