Re: PowerNotifications
- From: "Graham McKechnie" <gmknospam@xxxxxxxxxxxxxx>
- Date: Thu, 16 Feb 2006 23:55:24 +1100
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
.
- References:
- PowerNotifications
- From: Graham McKechnie
- Re: PowerNotifications
- From: <ctacke/>
- PowerNotifications
- Prev by Date: Re: Treo 700w memory usage
- Next by Date: Re: Build & Deployment problem.
- Previous by thread: Re: PowerNotifications
- Next by thread: Show bitmap on form at windowsCE 4.2
- Index(es):