https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9751d03c3bbff042b9d36…
commit 9751d03c3bbff042b9d36d15e1ce87a1b2dff3c5
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Mon Mar 20 18:59:42 2023 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Mon Mar 20 18:59:42 2023 +0900
[NTUSER] IntSendMessageToUI: Use _SEH2_YIELD
CORE-11700
---
win32ss/user/ntuser/ime.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/win32ss/user/ntuser/ime.c b/win32ss/user/ntuser/ime.c
index 319405ebb06..81041dd1332 100644
--- a/win32ss/user/ntuser/ime.c
+++ b/win32ss/user/ntuser/ime.c
@@ -2227,7 +2227,6 @@ BOOL FASTCALL IntCheckImeShowStatus(PWND pwndIme, PTHREADINFO pti)
}
// Send a UI message.
-// Win: xxxSendMessageToUI
LRESULT FASTCALL
IntSendMessageToUI(PTHREADINFO ptiIME, PIMEUI pimeui, UINT uMsg, WPARAM wParam, LPARAM
lParam)
{
@@ -2253,6 +2252,7 @@ IntSendMessageToUI(PTHREADINFO ptiIME, PIMEUI pimeui, UINT uMsg,
WPARAM wParam,
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
+ ERR("!!!\n");
pwndUI = NULL;
}
_SEH2_END;
@@ -2269,7 +2269,8 @@ IntSendMessageToUI(PTHREADINFO ptiIME, PIMEUI pimeui, UINT uMsg,
WPARAM wParam,
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
- goto Quit;
+ ERR("!!!\n");
+ _SEH2_YIELD(goto Quit);
}
_SEH2_END;
@@ -2293,7 +2294,8 @@ IntSendMessageToUI(PTHREADINFO ptiIME, PIMEUI pimeui, UINT uMsg,
WPARAM wParam,
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
- goto Quit;
+ ERR("!!!\n");
+ _SEH2_YIELD(goto Quit);
}
_SEH2_END;