AcxCircuitInitSetCircuitType function (acxcircuit.h)

The AcxCircuitInitSetCircuitType function is used to set the circuit type of the ACXCIRCUIT.

Syntax

void AcxCircuitInitSetCircuitType(
  PACXCIRCUIT_INIT CircuitInit,
  ACX_CIRCUIT_TYPE CircuitType
);

Parameters

CircuitInit

The ACXCIRCUIT_INIT structure that defines the circuit initialization. ACXCIRCUIT_INIT is an opaque object used for circuit initialization. Use AcxCircuitInitAllocate to initialize the ACXCIRCUIT_INIT structure.

CircuitType

An ACX_CIRCUIT_TYPE enum that is used to define the circuit type. For example, AcxCircuitTypeRender, AcxCircuitTypeCapture or AcxCircuitTypeOther.

Return value

None

Remarks

Example

Example usage is shown below.

   ACX_CIRCUIT_TYPE                circuitType     = AcxCircuitTypeRender;

        // The driver uses this DDI to specify the circuit type. The
        // circuit type can be AcxCircuitTypeRender, AcxCircuitTypeCapture,
        // AcxCircuitTypeOther, or AcxCircuitTypeMaximum (for validation).
        //
        AcxCircuitInitSetCircuitType(circuitInit, AcxCircuitTypeRender);

ACX requirements

Minimum ACX version: 1.0

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

Requirements

Requirement Value
Header acxcircuit.h
IRQL <= DISPATCH_LEVEL

See also