https://bugs.winehq.org/show_bug.cgi?id=54190 Bug ID: 54190 Summary: user32:clipboard - GetClipboardData() sets last error on Windows 11 Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs(a)winehq.org Reporter: fgouget(a)codeweavers.com user32:clipboard - GetClipboardData() sets last error on Windows 11: clipboard.c:989: Test failed: bad last error 1168 clipboard.c:1590: Test failed: unexpected last error 1168 clipboard.c:1470: hwnd 0000000000010010 clipboard.c:1590: Test failed: unexpected last error 1168 clipboard.c:1470: hwnd 00000000002C03C8 clipboard.c:1590: Test failed: unexpected last error 1168 clipboard.c:1733: running from different thread clipboard.c:1470: hwnd 00000000002C03C8 clipboard.c:1590: Test failed: unexpected last error 1168 See https://test.winehq.org/data/patterns.html#user32:clipboard Where 1608 == ERROR_NOT_FOUND Windows used to not set "last error" when GetClipboardData() found no match for the requested format which made little sense as it left the caller in the dark about the reason for the failure. Starting with Windows 11 it sets the error to ERROR_NOT_FOUND which is clearer. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.