Minlogon Shutdown Problem

  • Thread starter Thread starter G.R
  • Start date Start date
G

G.R

Hi,

I have a Minlogon image and want my application to intercept the
shutdown message and decide whether to continue or abort the shutdown.
Whenever I press the power button, looks like it does a instant
shutdown. How do I trap the shutdown messages. What messages will be
sent during the shutdown to the applications in the minlogon.

I tried handling WM_POWERBROADCAST in the pretranslate message, but I
am not getting this message.

Can someone throw more light into the shutdown process of minlogon?

Thanks,
AGR
 
AGR,

We have extensively discussed problems with trapping WM_POWERBROADCAST messages on Minlogon images in this NG a while ago. Please
read some relevant posts:
http://groups.google.com/group/micr...ndowsxp.embedded&q=Minlogon+WM_POWERBROADCAST

In short, on some versions of Minlogon the WM_POWERBROADCAST messages do not get to applications (IIRC, Minlogon aborts the
request). IIRC, the solution I suggested that time was to use SetConsoleCtrlHandler API instead
(http://groups.google.com/group/micr...mbedded/browse_thread/thread/0d300155d7c44bbe).
 
Back
Top