[IMM32] ImmEnumInputContext: Add IS_IMM_MODE check (#8768)

This commit is contained in:
Alex Mendoza
2026-03-25 16:51:13 +09:00
committed by GitHub
parent 9dde8d4bcd
commit f76ed0625b
+6
View File
@@ -1131,6 +1131,12 @@ ImmEnumInputContext(
HIMC hIMC;
TRACE("(%lu, %p, %p)\n", dwThreadId, lpfn, lParam);
if (!IS_IMM_MODE())
{
TRACE("\n");
return FALSE;
}
dwCount = Imm32BuildHimcList(dwThreadId, &phList);
if (IS_ZERO_UNEXPECTEDLY(dwCount))