Skip to content
Snippets Groups Projects
Commit 6edd7722 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard
Browse files

user: Fix ExitWindows().

- Use 0 to get an infinite timeout with SendMessageTimeoutW().
- Use SendMessageTimeoutW() to send the WM_ENDSESSION messages too so
we don't get stuck if a process is hung.
- Only send WM_ENDSESSION to windows that received a
WM_QUERYENDSESSION message. Also better mimick the Windows behavior.
parent ec674449
Branches
Tags wine-960131
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment