Windows Embedded
(1)
SetSystemPowerState
(1)
Eurotech.it.nospam
(1)

How to Turn Off Device at Runtime using Windows Mobile

Asked By WanDelaKruz
16-Nov-09 05:05 AM
Could anybody help me with this.  I am using a CK3 Windows Mobile Device.
During start up of the device, my application automatically loads and when I
exit the application I want my device to turn off as well.  Any idea? sample?

Typically WM devices do not turn off but go in suspend mode (you can do

Luca Calligaris [eMVP] replied to WanDelaKruz
16-Nov-09 06:35 AM
Typically WM devices do not turn off but go in suspend mode (you can do it
calling SetSystemPowerState (POWER_STATE_SUSPEND,...): turning it off could
be done calling SetSystemPowerState (POWER_STATE_OFF,...) but it is up to the
OEM
implement it : I do not know if the specific device supports it

--
Luca Calligaris (MVP-Windows Embedded)
l.calligaris.nospam@eurotech.it.nospam
www.eurotech.it
Post Question To EggHeadCafe