Windows 10 & WM_QUERY_ENDSESSION/WM_ENDSESSION
-
Howdy! With the new great OS -- 10 -- we're seeing something odd. Running our installer is not shutting down our app. We do receive the WM_QUERY_ENDSESSION and we do reply with TRUE ( ok to shutdown ) But, upon receiving the WM_ENDSESSION we receive a FALSE (don't shutdown). Somewhere between the QUERY and the END -- "someone" is saying NO to this. How does one go about debugging this sort of thing? I've used SPY++ but am not finding it to be the most useful tool, except to confirm what I knew in code. SPY is not telling me who sends the QUERY. If I could figure out where these messages are coming from, maybe I could watch the conversations taking place around this transaction. -- in previous versions of Windows this was not an issue -- it worked like we would expect. But Windows10 is telling me not to end my session.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Peter Weyzen Staff Engineer [soonr.com -- PC Power delivered to your phone](http://www.soonr.com)