ACX_FACTORY_CIRCUIT_OPERATION_CALLBACKS structure (acxcircuit.h)

The ACX_FACTORY_CIRCUIT_OPERATION_CALLBACKS structure identifies the driver callbacks for ACX factory operations.

Syntax

typedef struct _ACX_FACTORY_CIRCUIT_OPERATION_CALLBACKS {
  ULONG                                        Size;
  PFN_ACX_FACTORY_CIRCUIT_CREATE_CIRCUITDEVICE EvtAcxFactoryCircuitCreateCircuitDevice;
  PFN_ACX_FACTORY_CIRCUIT_DELETE_CIRCUITDEVICE EvtAcxFactoryCircuitDeleteCircuitDevice;
  PFN_ACX_FACTORY_CIRCUIT_CREATE_CIRCUIT       EvtAcxFactoryCircuitCreateCircuit;
} ACX_FACTORY_CIRCUIT_OPERATION_CALLBACKS, *PACX_FACTORY_CIRCUIT_OPERATION_CALLBACKS;

Members

Size

The length, in bytes, of this structure.

EvtAcxFactoryCircuitCreateCircuitDevice

The EVT_ACX_FACTORY_CIRCUIT_CREATE_CIRCUITDEVICE callback.

EvtAcxFactoryCircuitDeleteCircuitDevice

The ACX_FACTORY_CIRCUIT_DELETE_CIRCUITDEVICE callback.

EvtAcxFactoryCircuitCreateCircuit

The EVT_ACX_FACTORY_CIRCUIT_CREATE_CIRCUIT callback.

Remarks

Example

Example usage is shown below.

    ACX_FACTORY_CIRCUIT_OPERATION_CALLBACKS         operationCallbacks;
   
    //
    // Assign the circuit's operation-callbacks.
    //
    ACX_FACTORY_CIRCUIT_OPERATION_CALLBACKS_INIT(&operationCallbacks);
    operationCallbacks.EvtAcxFactoryCircuitCreateCircuitDevice = SdcaXu_EvtAcxFactoryCircuitCreateCircuitDevice;
    operationCallbacks.EvtAcxFactoryCircuitCreateCircuit = SdcaXu_EvtAcxFactoryCircuitCreateCircuit;
   
    AcxFactoryCircuitInitSetOperationCallbacks(factoryInit, &operationCallbacks);

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