http://bugs.winehq.org/show_bug.cgi?id=60482 Bug ID: 60482 Summary: MsgWaitForMultipleObjects with invalid handles behaves differently than Windows when a window is created Product: Wine Version: 11.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@list.winehq.org Reporter: j20001970@gmail.com Target Milestone: --- Distribution: --- Created attachment 82324 --> http://bugs.winehq.org/attachment.cgi?id=82324 Test code for MsgWaitForMultipleObjects Calling MsgWaitForMultipleObjects with invalid handles and QS_POSTMESSAGE/QS_ALLPOSTMESSAGE mask results in different behavior from Windows if a window is created. After a window is created, MsgWaitForMultipleObjects will return WAIT_FAILED with ERROR_INVALID_HANDLE on Wine, while on Windows it will return WAIT_OBJECT_0+nCount without error. If no window is created, both Wine and Windows will behave the same. (Returning WAIT_FAILED with ERROR_INVALID_HANDLE error) Tested with Wine 11.19 (commit a15ee2ccf20e2fc9f470badd916855801933d31f) on and Windows 10 22H2. -- 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.