Signed-off-by: Nikolay Sivov nsivov@codeweavers.com ---
The Legend of Heroes: Zero no Kiseki Kai game crashes on it.
dlls/user32/misc.c | 9 +++++++++ dlls/user32/user32.spec | 1 + include/winuser.h | 1 + 3 files changed, 11 insertions(+)
diff --git a/dlls/user32/misc.c b/dlls/user32/misc.c index 25d0b676667..2e9ea897502 100644 --- a/dlls/user32/misc.c +++ b/dlls/user32/misc.c @@ -443,6 +443,15 @@ BOOL WINAPI UnregisterPowerSettingNotification(HPOWERNOTIFY handle) return TRUE; }
+/********************************************************************** + * RegisterSuspendResumeNotification (USER32.@) + */ +HPOWERNOTIFY WINAPI RegisterSuspendResumeNotification(HANDLE recipient, DWORD flags) +{ + FIXME("%p, %#x: stub.\n", recipient, flags); + return (HPOWERNOTIFY)0xdeadbeef; +} + /***************************************************************************** * GetGestureConfig (USER32.@) */ diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec index aae124ebdcc..53a1cefc451 100644 --- a/dlls/user32/user32.spec +++ b/dlls/user32/user32.spec @@ -608,6 +608,7 @@ @ stdcall RegisterRawInputDevices(ptr long long) @ stdcall RegisterServicesProcess(long) @ stdcall RegisterShellHookWindow (long) +@ stdcall RegisterSuspendResumeNotification(long long) @ stdcall RegisterSystemThread(long long) @ stdcall RegisterTasklist (long) @ stdcall RegisterTouchHitTestingWindow(long long) diff --git a/include/winuser.h b/include/winuser.h index 898c9034e33..9a28d1436b9 100644 --- a/include/winuser.h +++ b/include/winuser.h @@ -4128,6 +4128,7 @@ WINUSERAPI BOOL WINAPI RegisterPointerDeviceNotifications(HWND,BOOL); WINUSERAPI HPOWERNOTIFY WINAPI RegisterPowerSettingNotification(HANDLE,LPCGUID,DWORD); WINUSERAPI BOOL WINAPI RegisterRawInputDevices(PRAWINPUTDEVICE,UINT,UINT); WINUSERAPI BOOL WINAPI RegisterShellHookWindow(HWND); +WINUSERAPI HPOWERNOTIFY WINAPI RegisterSuspendResumeNotification(HANDLE,DWORD); WINUSERAPI BOOL WINAPI RegisterTouchWindow(HWND,ULONG); WINUSERAPI UINT WINAPI RegisterWindowMessageA(LPCSTR); WINUSERAPI UINT WINAPI RegisterWindowMessageW(LPCWSTR);
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=111547
Your paranoid android.
=== debian11 (32 bit report) ===
user32: input.c:1293: Test failed: GetCursorPos: (100,100) input.c:1293: Test failed: GetCursorPos: (100,100) input.c:1293: Test failed: GetCursorPos: (100,106) input.c:1293: Test failed: GetCursorPos: (100,103) input.c:1315: Test failed: Wrong hook coords: (103 106) != (150,150) input.c:1401: Test failed: Position changed: (103,106) input.c:1315: Test failed: Wrong hook coords: (103 106) != (150,150) input.c:1404: Test failed: Position changed: (103,106) input.c:1315: Test failed: Wrong hook coords: (103 106) != (150,150) input.c:1323: Test failed: GetCursorPos: (103,106) input.c:1408: Test failed: Position changed: (103,106) input.c:1315: Test failed: Wrong hook coords: (103 106) != (150,150) input.c:1323: Test failed: GetCursorPos: (103,106) input.c:1411: Test failed: Position changed: (103,106) input.c:2163: Test failed: Unexpected rawinput data: -8 input.c:2160: Test failed: GetRawInputBuffer returned 11 input.c:2162: Test failed: Unexpected rawinput data: 5 input.c:2163: Test failed: Unexpected rawinput data: -5 input.c:1628: Test failed: wrong position 2, expected 64x128 got 62x124 input.c:1628: Test failed: wrong position 3, expected 63x126 got 61x122 input.c:1628: Test failed: wrong position 4, expected 62x124 got 65x130 input.c:1628: Test failed: wrong position 5, expected 61x122 got 60x120 input.c:1628: Test failed: wrong position 6, expected 60x120 got 64x128 input.c:1628: Test failed: wrong position 11, expected 55x110 got 57x114 input.c:1628: Test failed: wrong position 12, expected 54x108 got 56x112 input.c:1628: Test failed: wrong position 13, expected 53x106 got 61x122 input.c:1628: Test failed: wrong position 14, expected 52x104 got 55x110 input.c:1628: Test failed: wrong position 15, expected 51x102 got 54x108 input.c:1628: Test failed: wrong position 16, expected 50x100 got 60x120 input.c:1628: Test failed: wrong position 17, expected 49x98 got 59x118 input.c:1628: Test failed: wrong position 18, expected 48x96 got 58x116 input.c:1628: Test failed: wrong position 19, expected 47x94 got 57x114 input.c:1628: Test failed: wrong position 29, expected 37x74 got 52x104 input.c:1628: Test failed: wrong position 30, expected 36x72 got 48x96 input.c:1628: Test failed: wrong position 39, expected 27x54 got 44x88 input.c:1628: Test failed: wrong position 41, expected 25x50 got 43x86 input.c:1628: Test failed: wrong position 45, expected 21x42 got 44x88 input.c:1628: Test failed: wrong position 47, expected 19x38 got 40x80 input.c:1628: Test failed: wrong position 49, expected 17x34 got 42x84 input.c:1628: Test failed: wrong position 50, expected 16x32 got 38x76 input.c:1628: Test failed: wrong position 52, expected 14x28 got 37x74 input.c:1628: Test failed: wrong position 55, expected 11x22 got 36x72 win.c:11344: Test failed: expected 00DD00D8, got 001E0088 win.c:11361: Test failed: expected 00DD00D8, got 001E0088
=== debian11 (32 bit Chinese:China report) ===
user32: win.c:11606: Test failed: 1: hwnd 0061007E is still topmost win.c:11606: Test failed: 2: hwnd 00B300CE is still topmost win.c:11606: Test failed: 1: hwnd 0061007E is still topmost win.c:11606: Test failed: 2: hwnd 00B300CE is still topmost win.c:11606: Test failed: 1: hwnd 0061007E is still topmost win.c:11606: Test failed: 2: hwnd 00B300CE is still topmost win.c:11763: Test failed: 007800F8: expected NOT topmost win.c:11787: Test failed: 007800F8: expected NOT topmost win.c:11606: Test failed: 1: hwnd 0061007E is still topmost win.c:11606: Test failed: 2: hwnd 00B300CE is still topmost win.c:11606: Test failed: 3: hwnd 00070148 is still topmost win.c:11606: Test failed: 4: hwnd 007800F8 is still topmost win.c:11810: Test failed: 0061007E: expected NOT topmost win.c:11811: Test failed: 007800F8: expected next 00070148, got 00000000 win.c:11811: Test failed: 007800F8: expected NOT topmost win.c:11606: Test failed: 1: hwnd 0061007E is still topmost win.c:11606: Test failed: 2: hwnd 00B300CE is still topmost win.c:11606: Test failed: 3: hwnd 00070148 is still topmost win.c:11606: Test failed: 4: hwnd 007800F8 is still topmost win.c:11834: Test failed: 0061007E: expected NOT topmost win.c:11835: Test failed: 007800F8: expected next 00070148, got 00000000 win.c:11835: Test failed: 007800F8: expected NOT topmost win.c:11606: Test failed: 1: hwnd 0061007E is still topmost win.c:11606: Test failed: 2: hwnd 00B300CE is still topmost win.c:11606: Test failed: 3: hwnd 00070148 is still topmost win.c:11606: Test failed: 4: hwnd 007800F8 is still topmost win.c:11869: Test failed: 007800F8: expected next 00070148, got 00000000 win.c:11869: Test failed: 007800F8: expected NOT topmost win.c:11606: Test failed: 1: hwnd 0061007E is still topmost win.c:11606: Test failed: 2: hwnd 00B300CE is still topmost win.c:11606: Test failed: 3: hwnd 00070148 is still topmost win.c:11606: Test failed: 4: hwnd 007800F8 is still topmost win.c:11892: Test failed: 007800F8: expected NOT topmost win.c:11606: Test failed: 1: hwnd 0061007E is still topmost win.c:11606: Test failed: 2: hwnd 00B300CE is still topmost win.c:11606: Test failed: 3: hwnd 00070148 is still topmost win.c:11606: Test failed: 4: hwnd 007800F8 is still topmost win.c:11903: Test failed: 007800F8: expected next 00070148, got 00000000 win.c:11903: Test failed: 007800F8: expected NOT topmost win.c:11606: Test failed: 1: hwnd 0061007E is still topmost win.c:11606: Test failed: 2: hwnd 00B300CE is still topmost win.c:11606: Test failed: 3: hwnd 00070148 is still topmost win.c:11606: Test failed: 4: hwnd 007800F8 is still topmost win.c:11606: Test failed: 1: hwnd 0061007E is still topmost win.c:11606: Test failed: 2: hwnd 00B300CE is still topmost win.c:11606: Test failed: 3: hwnd 00070148 is still topmost win.c:11606: Test failed: 4: hwnd 007800F8 is still topmost win.c:11606: Test failed: 1: hwnd 0061007E is still topmost win.c:11606: Test failed: 2: hwnd 00B300CE is still topmost win.c:11606: Test failed: 3: hwnd 00070148 is still topmost win.c:11606: Test failed: 4: hwnd 007800F8 is still topmost
=== debian11 (32 bit WoW report) ===
user32: input.c:2162: Test failed: Unexpected rawinput data: 4 input.c:2182: Test failed: Unexpected rawinput data: -5 input.c:1628: Test failed: wrong position 5, expected 61x122 got 64x128 input.c:1628: Test failed: wrong position 6, expected 60x120 got 61x122 input.c:1628: Test failed: wrong position 7, expected 59x118 got 63x126 input.c:1628: Test failed: wrong position 8, expected 58x116 got 60x120 input.c:1628: Test failed: wrong position 10, expected 56x112 got 59x118 input.c:1628: Test failed: wrong position 13, expected 53x106 got 58x116 input.c:1628: Test failed: wrong position 15, expected 51x102 got 57x114 input.c:1628: Test failed: wrong position 16, expected 50x100 got 58x116 input.c:1628: Test failed: wrong position 17, expected 49x98 got 56x112 input.c:1628: Test failed: wrong position 21, expected 45x90 got 54x108 input.c:1628: Test failed: wrong position 23, expected 43x86 got 53x106 input.c:1628: Test failed: wrong position 24, expected 42x84 got 52x104 input.c:1628: Test failed: wrong position 29, expected 37x74 got 50x100 input.c:1628: Test failed: wrong position 30, expected 36x72 got 51x102 input.c:1628: Test failed: wrong position 31, expected 35x70 got 49x98 input.c:1628: Test failed: wrong position 33, expected 33x66 got 48x96 input.c:1628: Test failed: wrong position 35, expected 31x62 got 47x94 input.c:1628: Test failed: wrong position 36, expected 30x60 got 48x96 input.c:1628: Test failed: wrong position 37, expected 29x58 got 46x92 input.c:1628: Test failed: wrong position 38, expected 28x56 got 47x94 input.c:1628: Test failed: wrong position 39, expected 27x54 got 45x90 input.c:1628: Test failed: wrong position 42, expected 24x48 got 45x90 input.c:1628: Test failed: wrong position 43, expected 23x46 got 43x86 input.c:1628: Test failed: wrong position 44, expected 22x44 got 44x88 input.c:1628: Test failed: wrong position 45, expected 21x42 got 42x84 input.c:1628: Test failed: wrong position 47, expected 19x38 got 41x82 input.c:1628: Test failed: wrong position 48, expected 18x36 got 42x84 input.c:1628: Test failed: wrong position 49, expected 17x34 got 40x80 input.c:1628: Test failed: wrong position 51, expected 15x30 got 39x78 input.c:1628: Test failed: wrong position 53, expected 13x26 got 38x76 input.c:1628: Test failed: wrong position 55, expected 11x22 got 37x74 input.c:1628: Test failed: wrong position 57, expected 9x18 got 36x72 input.c:1628: Test failed: wrong position 61, expected 5x10 got 34x68 input.c:1628: Test failed: wrong position 62, expected 4x8 got 35x70 input.c:1628: Test failed: wrong position 63, expected 3x6 got 33x66
=== debian11 (64 bit WoW report) ===
user32: win.c:11361: Test failed: expected 0000000000BF010C, got 0000000000190164 win.c:11606: Test failed: 1: hwnd 00000000004D00C4 is still topmost win.c:11606: Test failed: 2: hwnd 00000000004F00AE is still topmost win.c:11606: Test failed: 1: hwnd 00000000004D00C4 is still topmost win.c:11606: Test failed: 2: hwnd 00000000004F00AE is still topmost win.c:11606: Test failed: 1: hwnd 00000000004D00C4 is still topmost win.c:11606: Test failed: 2: hwnd 00000000004F00AE is still topmost win.c:11763: Test failed: 00000000011100FC: expected NOT topmost win.c:11787: Test failed: 00000000011100FC: expected NOT topmost win.c:11606: Test failed: 1: hwnd 00000000004D00C4 is still topmost win.c:11606: Test failed: 2: hwnd 00000000004F00AE is still topmost win.c:11606: Test failed: 3: hwnd 0000000000070148 is still topmost win.c:11606: Test failed: 4: hwnd 00000000011100FC is still topmost win.c:11810: Test failed: 00000000004D00C4: expected NOT topmost win.c:11811: Test failed: 00000000011100FC: expected next 0000000000070148, got 0000000000000000 win.c:11811: Test failed: 00000000011100FC: expected NOT topmost win.c:11606: Test failed: 1: hwnd 00000000004D00C4 is still topmost win.c:11606: Test failed: 2: hwnd 00000000004F00AE is still topmost win.c:11606: Test failed: 3: hwnd 0000000000070148 is still topmost win.c:11606: Test failed: 4: hwnd 00000000011100FC is still topmost win.c:11834: Test failed: 00000000004D00C4: expected NOT topmost win.c:11835: Test failed: 00000000011100FC: expected next 0000000000070148, got 0000000000000000 win.c:11835: Test failed: 00000000011100FC: expected NOT topmost win.c:11606: Test failed: 1: hwnd 00000000004D00C4 is still topmost win.c:11606: Test failed: 2: hwnd 00000000004F00AE is still topmost win.c:11606: Test failed: 3: hwnd 0000000000070148 is still topmost win.c:11606: Test failed: 4: hwnd 00000000011100FC is still topmost win.c:11869: Test failed: 00000000011100FC: expected next 0000000000070148, got 0000000000000000 win.c:11869: Test failed: 00000000011100FC: expected NOT topmost win.c:11606: Test failed: 1: hwnd 00000000004D00C4 is still topmost win.c:11606: Test failed: 2: hwnd 00000000004F00AE is still topmost win.c:11606: Test failed: 3: hwnd 0000000000070148 is still topmost win.c:11606: Test failed: 4: hwnd 00000000011100FC is still topmost win.c:11892: Test failed: 00000000011100FC: expected NOT topmost win.c:11606: Test failed: 1: hwnd 00000000004D00C4 is still topmost win.c:11606: Test failed: 2: hwnd 00000000004F00AE is still topmost win.c:11606: Test failed: 3: hwnd 0000000000070148 is still topmost win.c:11606: Test failed: 4: hwnd 00000000011100FC is still topmost win.c:11903: Test failed: 00000000011100FC: expected next 0000000000070148, got 0000000000000000 win.c:11903: Test failed: 00000000011100FC: expected NOT topmost win.c:11606: Test failed: 1: hwnd 00000000004D00C4 is still topmost win.c:11606: Test failed: 2: hwnd 00000000004F00AE is still topmost win.c:11606: Test failed: 3: hwnd 0000000000070148 is still topmost win.c:11606: Test failed: 4: hwnd 00000000011100FC is still topmost win.c:11606: Test failed: 1: hwnd 00000000004D00C4 is still topmost win.c:11606: Test failed: 2: hwnd 00000000004F00AE is still topmost win.c:11606: Test failed: 3: hwnd 0000000000070148 is still topmost win.c:11606: Test failed: 4: hwnd 00000000011100FC is still topmost win.c:11606: Test failed: 1: hwnd 00000000004D00C4 is still topmost win.c:11606: Test failed: 2: hwnd 00000000004F00AE is still topmost win.c:11606: Test failed: 3: hwnd 0000000000070148 is still topmost win.c:11606: Test failed: 4: hwnd 00000000011100FC is still topmost