Power Management Functions (Windows CE 5.0)
The following table shows the Power Management functions with a description of the purpose of each.
Programming element | Description |
---|---|
DevicePowerNotify | This function requests that the Power Manager change the power state of a device. |
GetDevicePower | This function returns the current power state for a device. |
GetSystemPowerState | This function returns the current system power state currently in effect. |
PlatformDeviceListInit | This function performs platform-specific initialization on a class of devices. |
PlatformManageSystemPower | This function implements the main event loop for the Power Manager. |
PlatformMapPowerStateHint | This function maps the system power state hint values to known system power states maintained in the system registry. |
PlatformResumeSystem | This function determines the cause for the wakeup of the system and initiates the appropriate system power state transition. |
PlatformSendInitialNotifications | This function is invoked when an application requests a power notification. |
PlatformSetSystemPowerState | This function reads and verifies the system power state information from the registry and updates all devices appropriately. |
PlatformValidatePMRegistry | This function verifies the consistency of the power management registry settings for a system. |
PowerPolicyNotify | This function notifies the power manager of the events that are necessary in order to implement a power policy created by an OEM. |
RegisterPowerRelationship | This function establishes dynamic parent and child or bus and client driver relationship. |
ReleasePowerRelationship | This functions releases the HANDLE returned from RegisterPowerRelationship. |
ReleasePowerRequirement | This function requests that the Power Manager release a power requirement previously set with SetPowerRequirement. |
RequestPowerNotifications | This function allows applications and drivers to register for power notification events. |
SetDevicePower | This function sets the device power state for a device. |
SetPowerRequirement | This function notifies the power manager that an application has a specific device power requirement. |
SetSystemPowerState | This function sets the system power state to the requested value. |
StopPowerNotifications | This function allows applications and drivers to stop receiving power notification events. |
See Also
Send Feedback on this topic to the authors