Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Jul : Detecting Windows Shutdown type?
| Subject: | Detecting Windows Shutdown type? |
| Posted by: | "Demon" (sswe..@hotmail.com) |
| Date: | Mon, 3 Jul 2006 16:35:58 |
How to Detect the Windows Shutdown type?
I know I can intercept the WM_QueryEndSession to detect when windows is
shutting down and WM_ENDSESSION when the session is closing.
But how to detect which type of Shutdown? I need this info in order to use
the right type of Shutdown after I performed certain actions (which can
require several minutes)