You can call GetSystemPowerState to retrieve the current state in your power
state event handler.
Regards,
Rick D.
Contractor
[quoted text, click to view] "Korwin" wrote:
> Hi,
> I need to detect power on of WM5 device. I use RequestPowerNotifications
> which works well on WM2003, but on WM5 it signalize even if only backlight
> turn off and I cant find out device is off/on or backlight is off/on.
> RequestPOwerNotifications always return the same. Can someone point me other
> way to detect when device is on?
>
> Korwin
>
>
Hi,
I need to detect power on of WM5 device. I use RequestPowerNotifications
which works well on WM2003, but on WM5 it signalize even if only backlight
turn off and I cant find out device is off/on or backlight is off/on.
RequestPOwerNotifications always return the same. Can someone point me other
way to detect when device is on?
Korwin