All Forums
 Microsoft Windows CE
 CE Sample Applications and Utilities
 eVC - PowerEvents.exe
 Forum Locked  Topic Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

ctacke

877 Posts

Posted - 24 Jan 2005 :  16:00:55  Show Profile  Email Poster
PowerEvents.exe


This application demonstrates how to register to receive all power notifications from the power manager. To show the notifications in action, the application continually puts the device to sleep and wakes it up every 11 seconds.

Key APIs Used

CreateThread
SystemTimeToFileTime
FileTimeToSystemTime
CeRunAppAtTime
GwesPowerOffSystem
CreateMsgQueue
RequestPowerNotifications
ReadMsgQueue

Lines of Code: ~250


Source Download
Rev 1 - Jan 24, 2005 (7k zip).
  Topic  
 Forum Locked  Topic Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000