[NTUSER] IntNotifyImeShowStatus: Use _SEH2_YIELD

CORE-11700
This commit is contained in:
Katayama Hirofumi MZ 2023-03-20 18:49:23 +09:00
parent 7c14c0ed73
commit 4ab7c93b35

View file

@ -2327,7 +2327,6 @@ IntSendOpenStatusNotify(PTHREADINFO ptiIME, PIMEUI pimeui, PWND pWnd, BOOL bOpen
}
// Update the IME status and send a notification.
// Win: xxxNotifyImeShowStatus
VOID FASTCALL IntNotifyImeShowStatus(PWND pImeWnd)
{
PIMEUI pimeui;
@ -2367,9 +2366,12 @@ VOID FASTCALL IntNotifyImeShowStatus(PWND pImeWnd)
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
ERR("!!!\n");
if (pti != ptiIME)
KeDetachProcess();
return;
_SEH2_YIELD(return);
}
_SEH2_END;