I'm trying to get powerstate for your Windows Mobile device As states are doing:. I get 0x10010000 is why I set POWER_STATE_ON and POWER_STATE_PASSWORD. I get this when my device goes in a dormant state (I'm using that to get the notification). You can see by using the example I Since it is being useless, I am pretty sure that I can not find more information. So my question is "How can I supply a password"? And what is the password? (I address Meri Kanpani is having owned Symbol / Motorola device, so I should be able to get the password, it will never happen.) I C #, Visual Studio 2008 and CF 3.5 I am using Any help (on this issue) most .... useful.
#define POWER_STATE (f) ((f) & amp; 0xFFFF0000) // Power status mask #define POWER_STATE_ON (DWORD) (0x00010000) // State #define POWER_STATE_OFF (DWORD) (0x00020000 ) on // no power, full stop #define POWER_STATE_CRITICAL (DWORD) (0x00040000) // #define POWER_STATE_BOOT (DWORD) (0x00080000) // boot state #define POWER_STATE_IDLE (DWORD) (0x00100000) // sleep #define POWER_STATE_SUSPEND off Important (DWORD) (0x00200000) // Suspended state # Defined POWER_STATE_UNATTENDED (DWORD) (0x00400000) // Unautentated state #define POWER_STATE_RESET (DWORD) (0x00800000) // Reset state #define POWER_STATE_USERIDLE (DWORD) (0x01000000) // user idle state #define POWER_STATE_BACKLIGHTON (DWORD) (0x02000000) // device again again in yellow #define POWER_STATE_PASSWORD (DWORD) 0x10000000) // this is the case password protected
If you set it, then there is a set in the password control panel.
Comments
Post a Comment