EVT_ACX_FACTORY_CIRCUIT_POWER_UP - NtDoc

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

EVT_ACX_FACTORY_CIRCUIT_POWER_UP EvtAcxFactoryCircuitPowerUp;

NTSTATUS EvtAcxFactoryCircuitPowerUp(
  WDFDEVICE Device,
  ACXFACTORYCIRCUIT Factory,
  WDF_POWER_DEVICE_STATE PreviousState
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-acxcircuit-evt_acx_factory_circuit_power_up)

Description

The EVT_ACX_FACTORY_CIRCUIT_POWER_UP callback is used by the driver to add functionality in the power up path of an ACXFACTORYCIRCUIT object.

Parameters

Device

A WDFDEVICE object (described in Summary of Framework Objects) that is associated with the ACX circuit.

Factory

The existing circuit factory ACXFACTORYCIRCUIT Object. For more information about ACX objects, see Summary of ACX Objects.

PreviousState

A WDF_POWER_DEVICE_STATE enumeration that identifies the previous device power state.

Return value

Returns STATUS_SUCCESS if the call was successful. Otherwise, it returns an appropriate error code. For more information, see Using NTSTATUS Values.

If the driver fails this callback, it tags the ACXFACTORYCIRCUIT as pending-delete. The ACX framework doesn't fail the underline ACX EvtDeviceD0Entry callback, this allows existing working ACXFACTORYCIRCUITs from this device to be used to build working audio paths.

Remarks

To register an EvtFactoryCircuitPowerUp callback function, a driver must call AcxFactoryCircuitInitSetAcxCircuitPnpPowerCallbacks.

If the driver has registered an EvtFactoryCircuitPowerUp callback function for a device, the framework calls the function each time the device enters its working (D0) state. A device will enter the D0 state when one of the following occurs:

This callback function must perform any operations that are needed to make the device fully operational.

For more information about drivers that provide this callback function, see Supporting PnP and Power Management in Function Driver.

The EvtFactoryCircuitPowerUp callback function is called at IRQL = PASSIVE_LEVEL. You should not make this callback function pageable.

ACX requirements

Minimum ACX version: 1.0

For more information about ACX versions, see ACX version overview.

See also