Retrieves the value of the Active IME hot key.
Syntax
HRESULT GetHotKey( DWORD dwHotKeyID, UINT *puModifiers, UINT *puVKey, HKL *phKL );
Parameters
- dwHotKeyID
- [in] Unsigned long integer value that contains the hot key identifier.
- puModifiers
- [out] Address of an unsigned integer value that specifies the keys that must be combined with puVKey to trigger the hot key.
- puVKey
- [out] Address of an unsigned integer value that receives the virtual key code of the hot key.
- phKL
- [out] Address of the handle to the keyboard layout for the Active IME.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This method maps to the ImmGetHotKey function documented in the Microsoft® Windows® 98 Device Driver Kit.