ImmGetHotKey


BOOL WINAPI ImmGetHotKey(DWORD dwHotKeyID, LPUINT lpuModifiers, 
    LPUINT lpuVKey, LPHKL lphKL)

Gets the value of the IME hot key. This function is called by control panel.

dwHotKeyID

Hot key identifier.

lpuModifiers

Value that specifies the keys that must be combined with lpuVKey to trigger the hot key. Can be a combination of these values:

Value

Meaning

MOD_ALT

ALT key

MOD_CONTROL

CTRL key

MOD_SHIFT

SHIFT key

MOD_LEFT

Use key on left side of keyboard

MOD_RIGHT

Use key on right side of keyboard

MOD_ON_KEYUP

Trigger hot key when hot key is released

MOD_IGNORE_ALL_MODIFIER

Ignore modifier keys


lpuVKey

Virtual key code of this hot key.

lphKL

Handle of the keyboard layout for the IME. If return value of this parameter is of NULL, this hot key can switch to the IME with this keyboard layout.