// wdm.h
NTSTATUS PoFxSetTargetDripsDevicePowerState(
[in] POHANDLE Handle,
[in] DEVICE_POWER_STATE TargetState
);
View the official Windows Driver Kit DDI referenceNo description available.
This routine is called to notify the power manager of the device's target device power state for DRIPS. The driver can override the DRIPS constraint provided by the PEP.
Handle [in]A handle that represents the registration of the device with PoFx. The device driver previously received this handle from the PoFxRegisterDevice routine.
TargetState [in]Specifies the target DRIPS device power state. Possible values are defined in the DEVICE_POWER_STATE enumeration. This value must be lower than the existing device constraint. A device power state of PowerDeviceUnspecified resets to the PEP provided constraint.
Returns STATUS_SUCCESS if the target state was accepted.