https://git.reactos.org/?p=reactos.git;a=commitdiff;h=eb674f353ecfabd4f7ecb…
commit eb674f353ecfabd4f7ecb365c8223fc6eb3aaea2
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Mon Aug 15 23:00:54 2022 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Mon Aug 15 23:00:54 2022 +0900
[IMM32] Reduce magic numbers from CtfImmSetLangBand
CORE-11700
---
dll/win32/imm32/keymsg.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dll/win32/imm32/keymsg.c b/dll/win32/imm32/keymsg.c
index e0085026136..8222be3d781 100644
--- a/dll/win32/imm32/keymsg.c
+++ b/dll/win32/imm32/keymsg.c
@@ -313,7 +313,8 @@ LRESULT APIENTRY CtfImmSetLangBand(HWND hWnd, BOOL fSet)
if (pWnd->state2 & WNDS2_WMCREATEMSGPROCESSED)
{
- SendMessageTimeoutW(hWnd, 0x505, 0, fSet, 3, 5000, &lResult);
+ SendMessageTimeoutW(hWnd, WM_USER + 0x105, 0, fSet, SMTO_BLOCK |
SMTO_ABORTIFHUNG,
+ 5000, &lResult);
return lResult;
}