次の方法で共有


Power Management Functions (Compact 2013)

3/26/2014

This section provides reference details about the power management functions.

In This Section

Function

Description

DevicePowerNotify

Requests that Power Manager change the power state of a device.

GetDevicePower

Returns the current power state for a device.

GetSystemPowerState

Returns the current system power state currently in effect.

PlatformDeviceListInit

Performs platform-specific initialization on a class of devices.

PlatformManageSystemPower

Implements the main event loop for Power Manager.

PlatformMapPowerStateHint

Maps the system power state hint values to known system power states maintained in the registry.

PlatformResumeSystem

Determines the cause of a wakeup of the system, and initiates the appropriate system power state transition.

PlatformSendInitialNotifications

Called when an application requests a power notification.

PlatformSetSystemPowerState

Reads and verifies the system power state information from the registry, and updates all devices appropriately.

PlatformValidatePMRegistry

Verifies the consistency of power management registry settings.

PMExt_DeInit

Called when Power Manager shuts down.

PMExt_EventNotification

Notifies a Power Management Extension of system power activity events.

PMExt_GetNotificationHandle

Provides Power Manager with an event handle for providing notifications to a Power Management Extension.

PMExt_Init

Used to initialize a Power Management Extension.

PMExt_PMAfterNewDeviceState

Called after transitioning to a new device power state.

PMExt_PMBeforeNewDeviceState

Called before transitioning to a new device power state.

PMExt_PMAfterNewSystemState

Called after transitioning to a new system power state

PMExt_PMBeforeNewSystemState

Called before transitioning to a new s power state

PowerPolicyNotify

Notifies Power Manager of the events necessary to implement an OEM power policy.

RegisterPowerRelationship

Establishes dynamic parent and child or bus and client driver relationship.

ReleasePowerRelationship

Releases the handle returned from RegisterPowerRelationship.

ReleasePowerRequirement

Requests that Power Manager release a power requirement previously set with SetPowerRequirement.

RequestPowerNotifications

Enables applications and drivers to register for power notification events.

SetDevicePower

Sets the device power state for a device.

SetPowerRequirement

Notifies Power Manager of an application device power requirement.

SetSystemPowerState

Sets the system power state.

StopPowerNotifications

Disables power notification events.

See Also

Reference

Power Management Reference