// pep_x.h
typedef struct _PEP_WORK_DEVICE_POWER {
POHANDLE DeviceHandle;
BOOLEAN PowerRequired;
} PEP_WORK_DEVICE_POWER, *PPEP_WORK_DEVICE_POWER;
View the official Windows Driver Kit DDI referenceNo description available.
The PEP_WORK_DEVICE_POWER structure describes the new power requirements for the specified device.
DeviceHandleA handle that represents the registration of the device with the Windows power management framework (PoFx). A POHANDLE value that represents the registration of the device with PoFx. The platform extension plug-in (PEP) previously received this handle from PoFx during the PEP_DPM_REGISTER_DEVICE notification that informed the PEP that the device's driver stack registered the device with PoFx.
PowerRequiredWhether the device requires power. Set to TRUE if the device requires power and the device driver must bring the device back to the D0 power state. Set to FALSE if the device is not required to stay turned on and the driver is permitted to transition the device from D0 to a low-power state.
The DevicePower member of the PEP_WORK_INFORMATION structure is a PEP_WORK_DEVICE_POWER structure.