mirror of
https://github.com/reactos/reactos.git
synced 2025-05-18 16:51:18 +00:00
[IMM32] ImmGetImeInfoEx minor fix
CORE-11700
This commit is contained in:
parent
1f1dc9d84a
commit
db16a1f783
2 changed files with 2 additions and 4 deletions
|
@ -887,11 +887,8 @@ ImmGetImeInfoEx(PIMEINFOEX pImeInfoEx, IMEINFOEXCLASS SearchType, PVOID pvSearch
|
||||||
{
|
{
|
||||||
if (!IS_IME_HKL(hKL))
|
if (!IS_IME_HKL(hKL))
|
||||||
{
|
{
|
||||||
if (!CtfImmIsTextFrameServiceDisabled() ||
|
if (CtfImmIsTextFrameServiceDisabled() || !IS_CICERO_MODE() || IS_16BIT_MODE())
|
||||||
!IS_CICERO_MODE() || IS_16BIT_MODE())
|
|
||||||
{
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SearchType = ImeInfoExKeyboardLayout;
|
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);
|
HKL APIENTRY Imm32AssignNewLayout(UINT cKLs, const REG_IME *pLayouts, WORD wLangID);
|
||||||
BOOL APIENTRY Imm32CopyImeFile(LPWSTR pszOldFile, LPCWSTR pszNewFile);
|
BOOL APIENTRY Imm32CopyImeFile(LPWSTR pszOldFile, LPCWSTR pszNewFile);
|
||||||
|
|
||||||
|
/* Win: PtiCurrent */
|
||||||
static inline PTHREADINFO FASTCALL Imm32CurrentPti(VOID)
|
static inline PTHREADINFO FASTCALL Imm32CurrentPti(VOID)
|
||||||
{
|
{
|
||||||
if (NtCurrentTeb()->Win32ThreadInfo == NULL)
|
if (NtCurrentTeb()->Win32ThreadInfo == NULL)
|
||||||
|
|
Loading…
Reference in a new issue