How to notice / intercept system shutdown initiated by power button?

E

embedded.frank

Hi all!

I have build an XPE Image that uses my own application as the custom
shell.
So, no Winlogon or Minlogon here. The application is programmed in
C# .NET ( 2.0 ).
Image and app are running on a flash card. FWBF is used.
Everything fine so far.

But i would like to notice the moment, when the system is to be
shutting down,
when the user presses the power button, in order to save some
information
and commit FBWF changes.

How can I do that?
It seems that NO events / windows messages are received when the
shutdown
process starts. Neither form.close or unload, nor wndproc messages.

Frank
 

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