AcxCircuitInitAllocate function (acxcircuit.h)

The AcxCircuitInitAllocate function is used to initialize the opaque ACXCIRCUIT_INIT structure that is used by the AcxCircuitCreate function.

Syntax

PACXCIRCUIT_INIT AcxCircuitInitAllocate(
  WDFDEVICE Device
);

Parameters

Device

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

Remarks

The driver is responsible for deleting the ACXCIRCUIT_INIT object using AcxCircuitInitFree if the AcxCircuitCreate is not invoked or returns an error.

Example

Example usage is shown below.

    PACXCIRCUIT_INIT    circuitInit = NULL;

    circuitInit = AcxCircuitInitAllocate(Device);

ACX requirements

Minimum ACX version: 1.0

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

Requirements

Requirement Value
Header acxcircuit.h
IRQL PASSIVE_LEVEL

See also