Книга: 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.

Оглавление книги

Оглавление статьи/книги

Генерация: 0.597. Запросов К БД/Cache: 3 / 0
поделиться
Вверх Вниз