https://bugs.winehq.org/show_bug.cgi?id=54032
--- Comment #1 from François Gouget fgouget@codeweavers.com --- This can also happen with the WM_USER, WM_USER+1 and 0xc000 tests, still on Windows 7:
2022-11-28 w7pro64 (64-bit)
msg.c:17400: Test failed: 4: message c000, got 0, error 87 msg.c:17405: Test failed: 4,0: message c000, got 0, error 87 msg.c:17405: Test failed: 4,1: message c000, got 0, error 87 msg.c:17405: Test failed: 4,2: message c000, got 0, error 87 msg.c:17405: Test failed: 4,3: message c000, got 0, error 87 msg.c:17405: Test failed: 4,8: message c000, got 0, error 87
2022-11-10 w7u-el (32-bit)
msg.c:17405: Test failed: 1,11: message 0400, got 0, error 87 msg.c:17405: Test failed: 1,12: message 0400, got 0, error 87 msg.c:17384: Test failed: 2,3: message 0401, got 0, error 87 msg.c:17384: Test failed: 2,8: message 0401, got 0, error 87 msg.c:17384: Test failed: 2,9: message 0401, got 0, error 87 msg.c:17384: Test failed: 2,10: message 0401, got 0, error 87 msg.c:17405: Test failed: 2,0: message 0401, got 0, error 87 msg.c:17405: Test failed: 2,1: message 0401, got 0, error 87 msg.c:17405: Test failed: 2,2: message 0401, got 0, error 87 msg.c:17379: Test failed: 3: message bfff, got 0, error 87
2022-12-15 w7u (32-bit)
msg.c:17379: Test failed: 3: message bfff, got 0, error 87 msg.c:17384: Test failed: 3,0: message bfff, got 0, error 87 msg.c:17384: Test failed: 3,1: message bfff, got 0, error 87 msg.c:17384: Test failed: 3,2: message bfff, got 0, error 87 msg.c:17384: Test failed: 3,3: message bfff, got 0, error 87 msg.c:17384: Test failed: 3,8: message bfff, got 0, error 87 msg.c:17384: Test failed: 3,9: message bfff, got 0, error 87 msg.c:17384: Test failed: 3,10: message bfff, got 0, error 87 msg.c:17384: Test failed: 3,11: message bfff, got 0, error 87 msg.c:17384: Test failed: 3,12: message bfff, got 0, error 87
When the tests for these messages fails the error is always ERROR_INVALID_PARAMETER unlike WM_USER-1 which gets various other errors (see bug 54194).