Sets the value of the Active IME hot key.
Syntax
HRESULT SetHotKey( DWORD dwHotKeyID, UINT uModifiers, UINT uVKey, HKL hKL );
Parameters
- dwHotKeyID
- [in] Unsigned long integer value that contains the hot key identifier.
- uModifiers
- [in] Unsigned integer value that specifies the keys that must be combined with uVKey to trigger the hot key.
- uVKey
- [in] Unsigned integer value that contains the virtual key code of the hot key.
- hKL
- [in] Handle to the keyboard layout associated with the Active IME.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This method maps to the ImmSetHotKey function documented in the Microsoft® Windows® 98 Device Driver Kit.