https://bugs.winehq.org/show_bug.cgi?id=52716
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- Still present in wine-7.10
From a log it goes into endless loop PeekMessage/CoregisterMessageFilter, and
just before that there`s trace:hook:NtUserSetWindowsHookEx WH_JOURNALPLAYBACK 0x1bf3c84 0 -> 0x1007c trace:hook:NtUserSetWindowsHookEx WH_JOURNALPLAYBACK 0x1bf3cc4 0 -> 0x2007c
With sad hack below, just stupidly returning 0 for NtUserSetWindowsHookEx it works ok (keystroke is sent and it doesn`t get into the loop.)
So maybe the problem is in NtUserSetWindowsHookEx?
Sad hack :
diff --git a/dlls/win32u/hook.c b/dlls/win32u/hook.c index a271693622a..fd25ddefd27 100644 --- a/dlls/win32u/hook.c +++ b/dlls/win32u/hook.c @@ -73,7 +73,7 @@ static BOOL is_hooked( INT id ) */ HHOOK WINAPI NtUserSetWindowsHookEx( HINSTANCE inst, UNICODE_STRING *module, DWORD tid, INT id, HOOKPROC proc, BOOL ansi ) -{ +{return 0; HHOOK handle = 0;
if (!proc)