// pep_x.h
typedef struct _PEP_COMPONENT_ACTIVE {
[in] PEPHANDLE DeviceHandle;
[in] ULONG Component;
[in] BOOLEAN Active;
[out] PPEP_WORK_INFORMATION WorkInformation;
[out] BOOLEAN NeedWork;
} PEP_COMPONENT_ACTIVE, *PPEP_COMPONENT_ACTIVE;
View the official Windows Driver Kit DDI referenceNo description available.
The PEP_COMPONENT_ACTIVE structure identifies a component that is making a transition between the idle condition and the active condition.
DeviceHandle [in]A PEPHANDLE value that identifies the device. The PEP supplied this handle in response to a previous PEP_DPM_REGISTER_DEVICE notification.
Component [in]The index that identifies the component. This member is an index into the Components array in the PEP_DEVICE_REGISTER_V2 structure that the PEP previously supplied in response to the PEP_DPM_REGISTER_DEVICE notification for this device. If the Components array contains N elements, component indexes range from 0 to N–1.
Active [in]Whether the component is making a transition to the active condition. If TRUE, the component is making a transition from the idle condition to the active condition. If FALSE, the component is making a transition from the active condition to the idle condition.
WorkInformation [out]A pointer to a PEP_WORK_INFORMATION structure that describes the work that the PEP requests in response to this notification. If NeedWork is TRUE, WorkInformation must point to a valid PEP_WORK_INFORMATION structure. If NeedWork is FALSE, WorkInformation must be NULL.
NeedWork [out]Whether the PEP has a work request to submit in response to this notification. Set to TRUE if the PEP has work to request, or to FALSE if the PEP has no work to request.
This structure is used by the PEP_DPM_COMPONENT_ACTIVE notification. The first three members of the structure contain input values that are supplied by the Windows power management framework (PoFx). The last two members contain output values that the PEP writes to the structure in response to this notification.