+ Reply to Thread
Results 1 to 2 of 2

Thread: Getting notified when Windows OS is shutting down?

  1. #1

    Getting notified when Windows OS is shutting down?

    Hi,

    I am developing an application which saves some application specific data.

    It happens that user shutdown the Windows before exiting the application which has some unsaved data.

    Is there a mechanism to get notified when Windows OS is being shutting down?

    Thanks in advance.

  2. #2
    Senior Member
    Join Date
    Feb 2012
    Posts
    109
    I think, you can use WM_ENDSESSION message.

    Have a look at : http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts