Suspend Time-out Support
You may want your platform to enter a suspend state after a period of inactivity. You can enter a suspend state in the following ways:
- GWES can maintain an idle timer based upon user input and suspend the system after a period of inactivity. This is the method used in versions of Windows CE prior to Microsoft® Windows® CE .NET 4.1.
- The Power Manager can actively manage system power states based on activity timers, power source, and other input methods. You can customize the Power Manager to suspend the system when you choose.
- You can write an application outside of GWES and the Power Manager that decides when to suspend the system. In this scenario, both GWES and the Power Manager must be configured to not manage suspend states.
In all three of these scenarios, the Power Manager is responsible for suspending the system by calling PowerOffSystem. The scenarios differ primarily in how you change the system power state to a suspend state. Only one of the methods should be used to avoid conflicts between GWES, the Power Manager and your application.
If the Power Manager is managing time-outs on your OS the SystemIdleTimerReset function informs GWES that a screen saver should not appear. If you are using activity timers, you will want to set the NoIdleTimerReset registry value to enable a screen saver even if there are connected sockets.
Last updated on Tuesday, May 18, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.