wineboot: Pass non-zero timeouts to SendMessageTimeout, otherwise the call won't timeout.

Alexandre Julliard julliard at
Wed Sep 19 05:31:20 CDT 2007

Robert Shearman <rob at> writes:

> Set the default for WM_QUERYENDSESSION to be 5s which should be enough
> time for users to respond to any message boxes and WM_ENDSESSION to a
> lower 1s.

If you are going to timeout on the user interaction you need to popup
a confirmation dialog of some kind to allow users to force killing the
app; you can't kill it just because the user didn't click on a "do you
want to save your file?" message box fast enough.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list