Re: Service to handle power down

Tech-Archive recommends: Fix windows errors by optimizing your registry




Why don't you explain more why this service needs to "change state" and what
that really means.

--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOG http://geekswithblogs.net/bruceeitman

EuroTech Inc.
www.EuroTech.com

"Craig" <Craig@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4F28DFAF-9574-4167-A682-212F5E748AB1@xxxxxxxxxxxxxxxx

Hello,
I have written a service in WinCE 5.0. I now need this service to change
its state when the system is suspended and when it resumes.

I have read that the xxx_PowerDown and xxx_PowerUp messages are not
handled
in a service (running in services.exe).

Is there a way that I can get messages that the system is about to power
down within my service? Can a service respond to the IOCTL_POWER_SET
messages?

Thank you for any assistance you can provide,

Craig


.



Relevant Pages

  • Re: CE 6.0 R2/R3 with Windows 7 build problem
    ... Bruce Eitman (eMVP) ... Bruce.Eitman AT Eurotech DOT com ... My BLOG http://geekswithblogs.net/bruceeitman ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Google Group Search
    ... Bruce.Eitman AT EuroTech DOT com ... My BLOG http://geekswithblogs.net/bruceeitman ... didn't) and shows me a lot of bullsh*t posts. ... Michel Verhagen, eMVP ...
    (microsoft.public.windowsce.platbuilder)
  • Re: CE 6.0 R2/R3 with Windows 7 build problem
    ... Bruce Eitman (eMVP) ... Bruce.Eitman AT Eurotech DOT com ... My BLOG http://geekswithblogs.net/bruceeitman ...
    (microsoft.public.windowsce.platbuilder)
  • Re: MessageBox question
    ... Bruce.Eitman AT EuroTech DOT com ... My BLOG http://geekswithblogs.net/bruceeitman ... Michel Verhagen, eMVP ... Can we use MessageBox in dll and driver, or it works only for app? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Desktop Shortcut CE 5.0
    ... Bruce.Eitman AT EuroTech DOT com ... My BLOG http://geekswithblogs.net/bruceeitman ... Michel Verhagen, eMVP ... that DAT file to be replaced during the build operation with a version ...
    (microsoft.public.windowsce.platbuilder)