Recent

Author Topic: Power state changes  (Read 6098 times)

sandeep_c24

  • Full Member
  • ***
  • Posts: 114
Power state changes
« on: April 08, 2009, 05:04:55 am »
I want to close my application when PDA is powered off or it enters a suspended state. How do I do it?

Sandeep

JoniDS

  • New Member
  • *
  • Posts: 11
Re: Power state changes
« Reply #1 on: April 08, 2009, 02:07:18 pm »
I think you can't, because suspend messages are only sent to drivers. You will only receive suspend messages when device is powered again.
The message is PBT_TRANSITION.

 

TinyPortal © 2005-2018