Книга: Microsoft Windows Embedded CE 6.0 Exam Preparation Kit
Application Interface
Application Interface
The application interface provides functions that applications can use to manage the power state of the system and of individual devices through Power Manager. Table 3-18 summarizes these power management functions.
Table 3-18 Application interface
Function | Description |
---|---|
GetSystemPowerState | Retrieves the current system power state. |
SetSystemPowerState | Requests a power state change. When switching to Suspend mode, the function will return after the resume because suspend is transparent to the system. After the resume, you can analyze the notification message to identify that the system resumed from suspend. |
SetPowerRequirement | Requests a minimal power state for a device. |
ReleasePowerRequirement | Releases a power requirement previously set with the SetPowerRequirement function and restores the original device power state. |
GetDevicePower | Retrieves the current power state of a specified device. |
SetDevicePower | Requests a power state change for a device. |
Оглавление статьи/книги
Похожие страницы
- Chapter 15. Graphical User Interfaces for Iptables
- Laying the Foundation: The localhost Interface
- Implement the Interface
- Compiling the user-land applications
- Displaying Interface Statistics
- QueryInterface и IUnknown
- 5.1.2. The Directory Server Interface
- CHAPTER 6 Productivity Applications
- Available Applications
- Productivity Applications Written for Microsoft Windows
- Using the Amanda Backup Application
- Command-Line Network Interface Configuration