[NTUSER] Implement IntCheckImeShowStatusInThread

CORE-11700
This commit is contained in:
Katayama Hirofumi MZ 2022-11-17 10:27:12 +09:00
parent bcb9abc133
commit 7cc89e520c
3 changed files with 9 additions and 1 deletions

View file

@ -2395,4 +2395,11 @@ BOOL FASTCALL IntBroadcastImeShowStatusChange(PWND pImeWnd, BOOL bShow)
return TRUE;
}
/* Win: xxxCheckImeShowStatusInThread */
VOID FASTCALL IntCheckImeShowStatusInThread(PWND pImeWnd)
{
if (IS_IMM_MODE() && !(pImeWnd->state2 & WNDS2_INDESTROY))
IntCheckImeShowStatus(pImeWnd, pImeWnd->head.pti);
}
/* EOF */

View file

@ -670,7 +670,7 @@ NtUserCallHwndLock(
break;
case HWNDLOCK_ROUTINE_CHECKIMESHOWSTATUSINTHRD:
// TODO:
IntCheckImeShowStatusInThread(Window);
break;
}

View file

@ -122,5 +122,6 @@ BOOL FASTCALL IntImeCanDestroyDefIMEforChild(PWND pImeWnd, PWND pwndTarget);
BOOL FASTCALL IntImeCanDestroyDefIME(PWND pImeWnd, PWND pwndTarget);
BOOL FASTCALL IntBroadcastImeShowStatusChange(PWND pImeWnd, BOOL bShow);
VOID FASTCALL IntNotifyImeShowStatus(PWND pImeWnd);
VOID FASTCALL IntCheckImeShowStatusInThread(PWND pImeWnd);
/* EOF */