Share via


ImmGetHotKey (Windows CE 5.0)

Send Feedback

This function retrieves the value of the input method editor (IME) hot key.

BOOL WINAPI ImmGetHotKey( DWORDdwHotKeyID,LPUINTlpuModifiers,LPUINTlpuVKey,LPHKLlphKL);

Parameters

  • dwHotKeyID
    [in] Hot key identifier.

  • lpuModifiers
    [out] Long pointer to the combination keys used with the hot key. Keys include MOD_ALT, MOD_CONTROL, MOD_SHIFT, MOD_LEFT, and MOD_RIGHT. The key up flag, MOD_ON_KEYUP, indicates the hot key is effective when the key is up. The modifier ignore flag, MOD_IGNORE_ALL_MODIFIER, indicates the combination of modifiers are ignored in hot key matching.

  • lpuVKey
    [out] Long pointer to the virtual key code of the hot key.

  • lphKL
    [out] Long pointer to the handle to the keyboard layout of the IME. If the return value of this parameter is NULL, the hot key can switch to the IME with this keyboard layout handle.

    Windows CE does not support true keyboard layouts. In this instance, however, Windows CE returns the keyboard handle that is associated with the current IME and locale.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

This function is called by the IME control panel application.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Imm.h.
Link Library: Coreimm.lib.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.