capture press power off from device

  • Thread starter Thread starter Alf
  • Start date Start date
A

Alf

I am developing a aplications for cf in visual studio.net 2003 I need
capture key power off and before to power off do any task

how can i do it in csharp.net or vb.net

thanks
 
Only drivers can grab that notification. You could write a driver that
passes an event to your app, but I seriously doubt a managed app would have
time to do anything useful before the device actually went to sleep.
 
Back
Top