[Bug 60482] New: MsgWaitForMultipleObjects with invalid handles behaves differently than Windows when a window is created
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.
http://bugs.winehq.org/show_bug.cgi?id=60482 Zeb Figura <z.figura12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com --- Comment #1 from Zeb Figura <z.figura12@gmail.com> --- Is there an application that depends on this? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=60482 --- Comment #2 from Jason Kuo <j20001970@gmail.com> --- (In reply to Zeb Figura from comment #1)
Is there an application that depends on this?
MapleStory (not sure if all region versions work the same though) depends on this before proceed to login stage, and will disconnect from server after 30 seconds if MsgWaitForMultipleObjects with invalid handles keep returning WAIT_FAILED. -- 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.
participants (1)
-
WineHQ Bugzilla