PoFxSetTargetDripsDevicePowerState - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

NTSTATUS PoFxSetTargetDripsDevicePowerState(
  [in] POHANDLE           Handle,
  [in] DEVICE_POWER_STATE TargetState
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-pofxsettargetdripsdevicepowerstate)

PoFxSetTargetDripsDevicePowerState function

Description

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.

Parameters

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.

Return value

Returns STATUS_SUCCESS if the target state was accepted.