Problem with RequestPowerNotifications on WM5

K

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
 
D

dbgrick

You can call GetSystemPowerState to retrieve the current state in your power
state event handler.

Regards,
Rick D.
Contractor
 

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

Top