Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to Turn Off Device at Runtime using Windows Mobile

1 view
Skip to first unread message

WanDelaKruz

unread,
Nov 16, 2009, 5:05:01 AM11/16/09
to
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?

Luca Calligaris [eMVP]

unread,
Nov 16, 2009, 6:35:12 AM11/16/09
to

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's up to the
OEM
implement it : I do not know if the specific device supports it

--
Luca Calligaris (MVP-Windows Embedded)
l.calliga...@eurotech.it.nospam
www.eurotech.it


"WanDelaKruz" <WanDe...@discussions.microsoft.com> ha scritto nel
messaggio news:D2BE7C9B-6222-426A...@microsoft.com...

0 new messages