[BOOTDATA][IMM32][NTUSER] Set "LoadIMM" to zero

We set "LoadIMM" to zero in order to disable Cicero.
The name of "LoadIMM" is a brain-dead name. This name
means Cicero despite of its name (brain-dead).
They use a human-confusing name intentionally.

JIRA issue: CORE-19320

- Set HKLM\SOFTWARE\Microsoft\Windows NT\
  CurrentVersion\IMM:LoadIMM to 0.
- Add warning comments to the brain-dead name "LoadIMM".
This commit is contained in:
Katayama Hirofumi MZ 2024-05-28 22:03:36 +09:00
parent 4225717dc9
commit c8a3c919e5
3 changed files with 3 additions and 2 deletions

View file

@ -513,7 +513,7 @@ HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\HotFix",,0x00000012
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\IME Compatibility",,0x00000012
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\IMM","IME File",2,"msctfime.ime"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\IMM","LoadIMM",0x00010003,1
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\IMM","LoadIMM",0x00010003,0 ; "LoadIMM" means Cicero despite of its name (brain-dead)
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\IMM","LoadCTFIME",0x00010003,0
; DOS Device ports

View file

@ -774,7 +774,7 @@ static BOOL APIENTRY Imm32LoadImeFixedInfo(PIMEINFOEX pInfoEx, LPCVOID pVerInfo)
/* NOTE: The IME module must contain a version info of input method driver. */
if (pFixed->dwFileType != VFT_DRV || pFixed->dwFileSubtype != VFT2_DRV_INPUTMETHOD)
{
ERR("DLL is not an IME\n");
ERR("DLL %s is not an IME\n", debugstr_w(pInfoEx->wszImeFile));
return FALSE;
}

View file

@ -24,6 +24,7 @@ BOOL FASTCALL UserIsIMMEnabled(VOID)
if (NLS_MB_CODE_PAGE_TAG)
return TRUE;
/* "LoadIMM" means Cicero despite of its name (brain-dead) */
return !!RegGetSectionDWORD(L"IMM", L"LoadIMM", FALSE);
}