Книга: Microsoft Windows Embedded CE 6.0 Exam Preparation Kit
Overriding the Power State Configuration for an Individual Device
Overriding the Power State Configuration for an Individual Device
The default Power Manager implementation maintains system-state-to-device-state mappings in the registry under the HKEY_LOCAL_MACHINESystemCurrentControlSetState key. Each system power state corresponds to a separate subkey and you can create additional subkeys for OEM-specific power states.
Table 3-19 shows a sample configuration for the system power state On. This configuration causes Power Manager to switch all devices, except the backlight driver BLK1: driver, into the D0 device power state. The backlight driver BLK1: can only go to the D2 state.
Table 3-19 Default and driver-specific power state definitions for system power state On
Location | HKEY_LOCAL_MACHINESystemCurrentControlSetStateOn | ||
---|---|---|---|
Entry | Flags | Default | BKL1: |
Type | REG_DWORD | REG_DWORD | REG_DWORD |
Value | 0x00010000 (POWER_STATE_ON) | 0 (D0) | 2 (D2) |
Description | Identifies the system power state associated with this registry key. For a list of possible flags, see the Pm.h header file in the PublicCommonSdkInc folder. | Sets the power state for drivers by default to the D0 state when the system power state is On. | Sets the backlight driver BLK1: to the D2 state when the system power state is On. |
Похожие страницы
- Overriding the Power State Configuration for Device Classes
- Forced writes - палка о двух концах
- Forced Writes
- 4.4.4 The Dispatcher
- About the author
- Chapter 7. The state machine
- Chapter 15. Graphical User Interfaces for Iptables
- Appendix E. Other resources and links
- What NAT is used for and basic terms and expressions
- Example NAT machine in theory
- Information request
- SCTP Generic header format