Bewerken

Delen via


ACX_CIRCUIT_COMPOSITE_CALLBACKS_INIT function (acxcircuit.h)

The ACX_CIRCUIT_COMPOSITE_CALLBACKS_INIT function initializes a ACX_CIRCUIT_COMPOSITE_CALLBACKS structure. No inputs are used with this function.

Syntax

void ACX_CIRCUIT_COMPOSITE_CALLBACKS_INIT(
  PACX_CIRCUIT_COMPOSITE_CALLBACKS CompositeCallbacks
);

Parameters

CompositeCallbacks

A pointer to an initialized ACX_CIRCUIT_COMPOSITE_CALLBACKS structure.

Return value

None

Remarks

Example

Example usage is shown below.

    // Assign the circuit's composite callbacks.
    //
    {
        ACX_CIRCUIT_COMPOSITE_CALLBACKS compositeCallbacks;
        ACX_CIRCUIT_COMPOSITE_CALLBACKS_INIT(&compositeCallbacks);
        compositeCallbacks.EvtAcxCircuitCompositeCircuitInitialize = CodecR_EvtCircuitCompositeCircuitInitialize;
        compositeCallbacks.EvtAcxCircuitCompositeInitialize = CodecR_EvtCircuitCompositeInitialize;
        AcxCircuitInitSetAcxCircuitCompositeCallbacks(CircuitInit, &compositeCallbacks);
    }

ACX requirements

Minimum ACX version: 1.0

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

Requirements

Requirement Value
Header acxcircuit.h

See also