AcxCircuitInitSetCircuitType - NtDoc

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

VOID AcxCircuitInitSetCircuitType(
  PACXCIRCUIT_INIT CircuitInit,
  ACX_CIRCUIT_TYPE CircuitType
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-acxcircuit-acxcircuitinitsetcircuittype)

Description

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

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.

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.

See also