Windows 7 has a lower maximum depth for recursive hooks.
From: Zhiyi Zhang zzhang@codeweavers.com
Windows 7 has a lower maximum depth for recursive hooks.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56293 --- dlls/user32/tests/msg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index 2dba792a2a7..b472d3412ac 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -12644,7 +12644,7 @@ static LRESULT WINAPI recursive_messages_proc(HWND hwnd, UINT message, WPARAM wp static int msg_depth; MSG msg;
- if (message == WM_SETCURSOR && max_msg_depth < 25) + if (message == WM_SETCURSOR && max_msg_depth < 15) { msg_depth++; max_msg_depth = max(max_msg_depth, msg_depth); @@ -12677,7 +12677,7 @@ static void test_recursive_messages(void) flush_events();
/* Expect recursive_messages_proc() gets called recursively for WM_SETCURSOR */ - ok(max_msg_depth == 25, "Got expected %d.\n", max_msg_depth); + ok(max_msg_depth == 15, "Got expected %d.\n", max_msg_depth);
DestroyWindow(hwnd); UnregisterClassA(cls.lpszClassName, cls.hInstance);
Hi,
It looks like your patch introduced the new failures shown below. Please investigate and fix them before resubmitting your patch. If they are not new, fixing them anyway would help a lot. Otherwise please ask for the known failures list to be updated.
The tests also ran into some preexisting test failures. If you know how to fix them that would be helpful. See the TestBot job for the details:
The full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=142761
Your paranoid android.
=== w1064v1507 (32 bit report) ===
user32: msg.c:7597: Test failed: down to radio3: 10: the msg sequence is not complete: expected msg 0000 - actual msg 0084