GetSystemPowerState Output not defined in pm.h
- by Vaccano
I am trying to get the user idle state of my Windows Mobile device.
When I run the function GetSystemPowerState (after 15 min of not touching the device) I get the following value:
Dec: 302055424
Hex: 0x12010000
Bin: 10010000000010000000000000000
I was hoping that PowerState & POWER_STATE_USERIDLE == POWER_STATE_USERIDLE would be true. But POWER_STATE_USERIDLE is 0x01000000 and I have 0x02000000.
I went to look up 0x02000000 and found that it is not in pm.h.
What does 0x02000000 mean? Where could I go to find out?