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.
 

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