Jun 14, 2006 #1 Adder Programmer Jun 6, 2002 1 AU How do I capture Windows (2000) logoff / shutdown events ? - need to clean-up some custom apps, if still open, when this occurs. Is there an API function for this ? Any help, pointers or 'Cunning plans' gratefully accepted. Thanks.
How do I capture Windows (2000) logoff / shutdown events ? - need to clean-up some custom apps, if still open, when this occurs. Is there an API function for this ? Any help, pointers or 'Cunning plans' gratefully accepted. Thanks.
Jun 15, 2006 1 #2 strongm MIS May 24, 2001 20,154 GB Just look for the WM_QUERYENDSESSION and WM_ENDSESSION messages Upvote 0 Downvote