daniel_c
asked on
Trapping Event Windows Shutdown
How to trap event Windows Shutdown?
If you ever use Norton Anti Virus 5,
you must know, that before Windows
shutdown, it will automatically scan
for Virus in floppy disk.
Okay, need your help again any Delphi experts.
Regards,
Daniel
If you ever use Norton Anti Virus 5,
you must know, that before Windows
shutdown, it will automatically scan
for Virus in floppy disk.
Okay, need your help again any Delphi experts.
Regards,
Daniel
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Doesn't make any difference and there's no way to differentiate between them (at least on the current versions on Windows).
So, no matter if the user clicked on Start -> Shut down, or if any application called the ExitWindows(Ex) API call, the WM_QUERYENDSESSION will be sent to all top-level Windows the same way.
Alex
So, no matter if the user clicked on Start -> Shut down, or if any application called the ExitWindows(Ex) API call, the WM_QUERYENDSESSION will be sent to all top-level Windows the same way.
Alex
ASKER
Thanks Alex!
ASKER
What I need is just Windows not other EXEs module.