PEP_WORK_DEVICE_POWER - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-pep_x-_pep_work_device_power)

_PEP_WORK_DEVICE_POWER structure

Description

The PEP_WORK_DEVICE_POWER structure describes the new power requirements for the specified device.

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.

See also

PEP_DPM_REGISTER_DEVICE

PEP_WORK_INFORMATION