[BOOTDATA][NTUSER] Prepare for CTF IME Part 1 (#6524)

Supporting TIPs...
JIRA issue: CORE-19360
- Add "IME File" registry value
  as "msctfime.ime" at
  HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IMM.
- Modify UserIsCiceroEnabled
  function for preparation of
  CTF IME.
This commit is contained in:
Katayama Hirofumi MZ 2024-02-24 01:53:16 +09:00 committed by GitHub
parent 3768f0893d
commit c0b4db14de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View file

@ -512,6 +512,7 @@ HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontMapper",,0x00000012
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\HotFix",,0x00000012 HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\HotFix",,0x00000012
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\IME Compatibility",,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,1
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\IMM","LoadCTFIME",0x00010003,0 HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\IMM","LoadCTFIME",0x00010003,0

View file

@ -29,7 +29,14 @@ BOOL FASTCALL UserIsIMMEnabled(VOID)
BOOL FASTCALL UserIsCiceroEnabled(VOID) BOOL FASTCALL UserIsCiceroEnabled(VOID)
{ {
#if 1
return FALSE; /* FIXME: Cicero is not supported yet */ return FALSE; /* FIXME: Cicero is not supported yet */
#else
if (RegGetSectionDWORD(L"IMM", L"DontLoadCTFIME", FALSE))
return FALSE;
return UserIsIMMEnabled();
#endif
} }
BOOL BOOL