What's the proper response to WM_ENDSESSION with ENDSESSION_CLOSEAPP and wParam == FALSE?

Posted by Marcus Lindblom on Stack Overflow See other posts from Stack Overflow or by Marcus Lindblom
Published on 2010-03-31T14:03:09Z Indexed on 2010/03/31 14:33 UTC
Read the original article Hit count: 396

Filed under:
|
|

According to the WM_ENDESSION docs, when lParam is ENDSESSION_CLOSEAPP and wParam is FALSE, "the application should not shut down".

  • So, should I just ignore that and use the default response?
  • What is it's purpose?

(I'm listening to Windows events/messages in Qt (C++) to shutdown some launched processes, but that's just the context and shouldn't have any bearing here...)

© Stack Overflow or respective owner

Related posts about win32

Related posts about message