Re: PowerNotifications

Tech-Archive recommends: Speed Up your PC by fixing your registry



Chris,

The exact sequence is the following, after it comes back on
PBT_TRANSITION POWER_STATE_SUSPEND
PBT_TRANSITION 0
PBT_RESUME 0
PBT_TRANSITION POWER_STATE_ON
PBT_TRANSITION POWER_STATE_ON

Seems like I don't get an off. Any ideas from the above.

Graham
"<ctacke/>" <ctacke_AT_OpenNETCF_com> wrote in message
news:u8PG6SvMGHA.3556@xxxxxxxxxxxxxxxxxxxxxxx
You're certain they're both ON notifications? Typically you'l get the OFF
and then the ON - the OFF comes when you wake because there wasn't enough
time to process it before the device went to sleep.

-Chris


"Graham McKechnie" <gmknospam@xxxxxxxxxxxxxx> wrote in message
news:upb%23k3uMGHA.3856@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

Can anyone explain when turning a pocket PC back on, why I get two
notifications that the power is back on. The Message is PBT_TRANSITION
and the flag POWER_STATE_ON each time, immediately following each other
with no other notifications in between. I'm passing POWER_NOTIFY_ALL to
RequestPowerNotifications

Graham





.