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

  • Thread starter Thread starter embedded.frank
  • Start date Start date
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
 
Back
Top