http://bugs.winehq.org/show_bug.cgi?id=33235
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com 2013-03-19 03:08:11 CDT --- Created attachment 43969 --> http://bugs.winehq.org/attachment.cgi?id=43969 patch
Martin, please try this patch.
(In reply to comment #8)
PeekMessage does wait.
From what I see in code it does not. It calls a waiting handler with zero
timeout which basically means return immediately if queue is empty, later on handler calls to driver message waiter which returns on zero timeout if there's nothing in queue. Application behavior proves that.