Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The following table summarizes the differences between shutdown on Windows Vista and Windows XP.
Feature | Windows XP | Windows Vista |
---|---|---|
Blocking shutdown | Applications can delay responding to WM_QUERYENDSESSION for 5 seconds, then the system allows the user to terminate the application. Applications that return TRUE in response to WM_QUERYENDSESSION can delay responding to WM_ENDSESSION for 5 seconds, then the system allows the user to terminate the application. | Applications can delay responding to WM_QUERYENDSESSION for 5 seconds, then the system allows the user to continue or cancel shutdown. Applications that return TRUE in response to WM_QUERYENDSESSION can delay responding to WM_ENDSESSION for 5 seconds, then the system allows the user to continue or cancel shutdown. |
Canceling shutdown | If an application returns FALSE in response to WM_QUERYENDSESSION, shutdown is canceled in most cases. However, no UI is displayed, so the user may not be aware that shutdown has been canceled. | If an application returns FALSE in response to WM_QUERYENDSESSION, it still appears in the shutdown UI. Note that the system does not allow console applications or applications without a visible window to cancel shutdown. These applications are automatically terminated if they do not respond to WM_QUERYENDSESSION or WM_ENDSESSION within 5 seconds or if they return FALSE in response to WM_QUERYENDSESSION. |
Shutdown user interface | The system displays a dialog box for each application blocking shutdown. If the user click the End Now button, the application is terminated. If the user clicks the Cancel button, shutdown is canceled and the application continues to run. | The system displays a full-screen UI that identifies all applications blocking shutdown and their reasons for doing so (if they have registered a reason using ShutdownBlockReasonCreate). |
Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!