PEP_WORK_DEVICE_POWER structure (pep_x.h)
The PEP_WORK_DEVICE_POWER structure describes the new power requirements for the specified device.
Syntax
typedef struct _PEP_WORK_DEVICE_POWER {
POHANDLE DeviceHandle;
BOOLEAN PowerRequired;
} PEP_WORK_DEVICE_POWER, *PPEP_WORK_DEVICE_POWER;
Members
DeviceHandle
A 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.
PowerRequired
Whether 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.
Remarks
The DevicePower member of the PEP_WORK_INFORMATION structure is a PEP_WORK_DEVICE_POWER structure.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Supported starting with Windows 10. |
Header | pep_x.h (include Pepfx.h) |