Power On/Off notification

  • Thread starter Thread starter Empi
  • Start date Start date
E

Empi

Hi,

Is there a nice way of capturing the on off button?
I managed to find several articled on c++, but no c# regarding the
RequestPowerNotifications function.
I'll appreciate any link to an article about it.

Thanks.
 
You'll use the same API calls as C does, just through P/Invoke.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded World
www.OpenNETCF.com
 
If my memory serves me correct, I think OpenNETCF wrote a managed wrapper for
this.
 

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

Back
Top