Minlogon Shutdown Problem

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
 
K

KM

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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top