KbdCharIn and KbdPeek - CP
7
6
Katakana key down (Japanese)
5
Hiragana key down (Japanese)
Hangeul key down (Korean)
TsangJye key down (T-Chinese)
4
Kanji key down (Japanese)
Hanja_25 key down (Korean)
Phonetic key down (T-Chinese)
3
2
Reserved, set to zero. (Japanese and T-Chinese)
Hanja_CSR [This is supported only for full-screen
applications. ] key down (Korean)
1-0
-
7
Kana-To-Kanji Conversion Mode (Japanese)
Hanja_25: Hangeul-to-Hanja Conversion Mode
(Korean)
6
Hanja_CSR: Hangeul-to-Hanja Conversion Mode
(Korean)
5
4-3
00
Shift
Indicator Row always visible
01
Shift Indicator Row always invisible
10
Shift Indicator Row visible only when a
shift key is pressed. And it becomes invisible, depress another key.
11
2-1
WinDBCSModeControl (hab,hwndFrame,type,arg,pparm)
hab
(HAB) Anchor-block handle.
hwndFrame
(HWND) Frame-window handle.
type
(USHORT) Request type. comact tsize=32
compact. DBE_MCTL_QUERY
DBE_MCTL_SET
arg
(USHORT) Argument. comact tsize=32
compact. DBE_MCTL_INPUTMODEREQUEST
pparm
(PUSHORT) NLS shift status. comact
tsize=34 compact break=fit. DBE_MCTL_ALPHANUMERIC
DBE_MCTL_SBCSCHAR
DBE_MCTL_DBCSCHAR
DBE_MCTL_KATAKANA
DBE_MCTL_HIRAGANA
DBE_MCTL_ROMAN
DBE_MCTL_NOROMAN
DBE_MCTL_JAMO
DBE_MCTL_HANGEUL
DBE_MCTL_TSANGJYE
DBE_MCTL_PHONETIC
DBE_MCTL_INHERIT_PFRAME
Return Code
WinDBCSIMEControl (hab,hwndFrame,type,pIMEMode)
hab
(HAB) Anchor-block handle.
hwndFrame
(HWND) Frame-window handle.
type
(USHORT) Request type. comact tsize=32
compact. DBE_IMCTL_QUERY
DBE_IMCTL_SET
pIMEMode
(PIMEMODE) Pointer to IMEMode
structure.
typedef struct _IMEMODE { USHORT lenIMEMode;
USHORT fIMEMode;
USHORT hIME;
USHORT hModIME;
} IMEMODE, FAR *PIMEMODE;
comact tsize=14 compact.
lenIMEMode
Length of this structure.
fIMEMode
comact tsize=4 break=all compact.
DBE_IMCTL_IMEENABLE
DBE_IMCTL_IMEDISABLE
DBE_IMCTL_IMEMODE
(Japanese,
Korean; ineffective for T-Chinese)
DBE_IMCTL_NOTIMEMODE
(Japanese, Korean; ineffective for T-Chinese)
DBE_IMCTL_INHERIT_PFRAME
hIME
(**)
Handle of the Input
Method Editor (IME) that is associated with the
frame window. (Ignored in a set request.)
hModIMEM
(**)
Module handle of
the IME that is associated with the frame window. (Ignored in a set request.)
Return Code