title: What's the proper response to WM_ENDSESSION with ENDSESSION_CLOSEAPP and wParam == FALSE?
body: <p>According to the <a href="http://msdn.microsoft.com/en-us/library/aa376889%28VS.85%29.aspx" rel="noreferrer">WM_ENDESSION</a> docs, when lParam is ENDSESSION_CLOSEAPP and wParam is FALSE, <em>"the application should <strong>not</strong> shut down".</em></p>
  
  <ul>
  <li>So, should I just ignore that and use the default response? </li>
  <li>What is it's purpose?</li>
  </ul>
  
  <p>(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...)</p>