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.
NTSTATUS PoFxSetTargetDripsDevicePowerState( POHANDLE Handle, DEVICE_POWER_STATE TargetState );
A handle that represents the registration of the device with PoFx. The device driver previously received this handle from the PoFxRegisterDevice routine.
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.
|Minimum supported client||Windows 10, version 1709|
|Minimum supported server||Windows Server 2016|
|DLL||NtosKrnl.exe (kernel mode)|