mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
[NTUSER][USER32][INCLUDE] s/SETIMEHOTKEY_DELETEALL/SETIMEHOTKEY_INITIALIZE/
CORE-11700
This commit is contained in:
parent
2580889cfa
commit
dff4579bd6
4 changed files with 6 additions and 6 deletions
|
@ -399,7 +399,7 @@ typedef enum tagSETIMEHOTKEY_ACTION
|
|||
{
|
||||
SETIMEHOTKEY_DELETE = 1,
|
||||
SETIMEHOTKEY_ADD,
|
||||
SETIMEHOTKEY_DELETEALL
|
||||
SETIMEHOTKEY_INITIALIZE
|
||||
} SETIMEHOTKEY_ACTION;
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -403,7 +403,7 @@ IntSetImeHotKey(DWORD dwHotKeyId, UINT uModifiers, UINT uVirtualKey, HKL hKL, DW
|
|||
IntAddImeHotKey(&gpImeHotKeyList, pNode);
|
||||
return TRUE;
|
||||
|
||||
case SETIMEHOTKEY_DELETEALL:
|
||||
case SETIMEHOTKEY_INITIALIZE:
|
||||
IntFreeImeHotKeys();
|
||||
return TRUE;
|
||||
|
||||
|
|
|
@ -104,8 +104,8 @@ UpdatePerUserSystemParameters(DWORD dwReserved,
|
|||
// Update Imm support and load Imm32.dll.
|
||||
UpdatePerUserImmEnabling();
|
||||
|
||||
/* Delete all the IME hotkeys */
|
||||
CliImmInitializeHotKeys(SETIMEHOTKEY_DELETEALL, NULL);
|
||||
/* Initialize the IME hotkeys */
|
||||
CliImmInitializeHotKeys(SETIMEHOTKEY_INITIALIZE, NULL);
|
||||
|
||||
/* Load Preload keyboard layouts */
|
||||
IntLoadPreloadKeyboardLayouts();
|
||||
|
|
|
@ -428,11 +428,11 @@ VOID APIENTRY CliImmInitializeHotKeys(DWORD dwAction, HKL hKL)
|
|||
BYTE bFlags = 0;
|
||||
BOOL bCheck;
|
||||
|
||||
NtUserSetImeHotKey(0, 0, 0, NULL, SETIMEHOTKEY_DELETEALL);
|
||||
NtUserSetImeHotKey(0, 0, 0, NULL, SETIMEHOTKEY_INITIALIZE);
|
||||
|
||||
bCheck = CliGetImeHotKeysFromRegistry();
|
||||
|
||||
if (dwAction == SETIMEHOTKEY_DELETEALL)
|
||||
if (dwAction == SETIMEHOTKEY_INITIALIZE)
|
||||
{
|
||||
LangID = LANGIDFROMLCID(GetUserDefaultLCID());
|
||||
IntSetFeKeyboardFlags(LangID, &bFlags);
|
||||
|
|
Loading…
Reference in a new issue