mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 00:40:26 +08:00
[IMM32] ImmGetImeInfoEx minor fix
CORE-11700
This commit is contained in:
@@ -887,11 +887,8 @@ ImmGetImeInfoEx(PIMEINFOEX pImeInfoEx, IMEINFOEXCLASS SearchType, PVOID pvSearch
|
||||
{
|
||||
if (!IS_IME_HKL(hKL))
|
||||
{
|
||||
if (!CtfImmIsTextFrameServiceDisabled() ||
|
||||
!IS_CICERO_MODE() || IS_16BIT_MODE())
|
||||
{
|
||||
if (CtfImmIsTextFrameServiceDisabled() || !IS_CICERO_MODE() || IS_16BIT_MODE())
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
SearchType = ImeInfoExKeyboardLayout;
|
||||
|
||||
@@ -157,6 +157,7 @@ BOOL APIENTRY Imm32WriteImeLayout(HKL hKL, LPCWSTR pchFilePart, LPCWSTR pszLayou
|
||||
HKL APIENTRY Imm32AssignNewLayout(UINT cKLs, const REG_IME *pLayouts, WORD wLangID);
|
||||
BOOL APIENTRY Imm32CopyImeFile(LPWSTR pszOldFile, LPCWSTR pszNewFile);
|
||||
|
||||
/* Win: PtiCurrent */
|
||||
static inline PTHREADINFO FASTCALL Imm32CurrentPti(VOID)
|
||||
{
|
||||
if (NtCurrentTeb()->Win32ThreadInfo == NULL)
|
||||
|
||||
Reference in New Issue
Block a user