Skip to content

Commit

Permalink
[BOOTDATA][NTUSER] Prepare for CTF IME Part 1 (reactos#6524)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
katahiromz authored Feb 23, 2024
1 parent 3768f08 commit c0b4db1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions boot/bootdata/hivesft.inf
Original file line number Diff line number Diff line change
Expand Up @@ -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\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","LoadCTFIME",0x00010003,0

Expand Down
7 changes: 7 additions & 0 deletions win32ss/user/ntuser/metric.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,14 @@ BOOL FASTCALL UserIsIMMEnabled(VOID)

BOOL FASTCALL UserIsCiceroEnabled(VOID)
{
#if 1
return FALSE; /* FIXME: Cicero is not supported yet */
#else
if (RegGetSectionDWORD(L"IMM", L"DontLoadCTFIME", FALSE))
return FALSE;

return UserIsIMMEnabled();
#endif
}

BOOL
Expand Down

0 comments on commit c0b4db1

Please sign in to comment.