PEP_DEVICE_PLATFORM_CONSTRAINTS structure (pep_x.h)
The PEP_DEVICE_PLATFORM_CONSTRAINTS structure specifies the constraints for entry to the various Dx power states that are supported by a device.
Syntax
typedef struct _PEP_DEVICE_PLATFORM_CONSTRAINTS {
[in] PEPHANDLE DeviceHandle;
[in] PDEVICE_POWER_STATE MinimumDStates;
[in] ULONG PlatformStateCount;
} PEP_DEVICE_PLATFORM_CONSTRAINTS, *PPEP_DEVICE_PLATFORM_CONSTRAINTS;
Members
[in] DeviceHandle
A PEPHANDLE value that identifies the device. The PEP supplied this handle in response to a previous PEP_DPM_REGISTER_DEVICE notification.
[in] MinimumDStates
A pointer to an array of DEVICE_POWER_STATE enumeration values that indicate the lowest-powered Dx (device power) state the device can enter for each platform idle state.
[in] PlatformStateCount
The number of elements in the array pointed to by the MinimumDStates member. This member contains the platform state count that the PEP supplied in response to a previous PEP_NOTIFY_PPM_QUERY_PLATFORM_STATES notification.
Remarks
This structure is used by the PEP_DPM_DEVICE_IDLE_CONSTRAINTS notification. All three members of this structure contain input values that are supplied by the Windows power management framework (PoFx). In response to this notification, the PEP writes DEVICE_POWER_STATE enumeration values to the elements of the array pointed to by the MinimumDStates member. PoFx allocates the storage for this array before sending the notification.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Supported starting with Windows 10. |
Header | pep_x.h (include Pep_x.h) |