Andy Yan
09-12-2000, 06:14 AM
I need to write a program which will be called when system is going to shut down . I use "QueryUnload" event handler ,but it run also when system reboot or Log off .
Is there maybe some way to intercept(hook) some kind of message that signals a shutdown or log-off of Windows??
Is there maybe some way to intercept(hook) some kind of message that signals a shutdown or log-off of Windows??