user: Fix WM_QUIT Message Ordering From PostQuitMessage
Robert Shearman
rob at codeweavers.com
Sat Jan 14 09:36:21 CST 2006
The special behaviour of PostQuitMessage is very well described here:
http://blogs.msdn.com/oldnewthing/archive/2005/11/04/489028.aspx
ChangeLog:
Added a new server call as PostQuitMessage should set a flag in the
message queue to return the WM_QUIT message when there are no other
pending messages, rather than posting a message to the thread queue as
it does at the moment.
dlls/user/message.c | 31 +++++++++++++++++++++++---
dlls/user/tests/msg.c | 4 ---
include/wine/server_protocol.h | 15 ++++++++++++-
server/protocol.def | 4 +++
server/queue.c | 47
+++++++++++++++++++++++++++++++++++++++-
server/request.h | 2 ++
server/trace.c | 8 +++++++
7 files changed, 101 insertions(+), 10 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: d8b49fa340d040dad9aabbca36ee712cf9125b9f.diff
Type: text/x-patch
Size: 10282 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060114/3c06abb3/d8b49fa340d040dad9aabbca36ee712cf9125b9f-0001.diff
More information about the wine-patches
mailing list