共用方式為


ACX_CIRCUIT_COMPOSITE_CALLBACKS結構 (acxcircuit.h)

ACX_CIRCUIT_COMPOSITE_CALLBACKS 結構可識別 ACX 複合線路作業的驅動程式回呼。

語法

typedef struct _ACX_CIRCUIT_COMPOSITE_CALLBACKS {
  ULONG                                        Size;
  PFN_ACX_CIRCUIT_COMPOSITE_CIRCUIT_INITIALIZE EvtAcxCircuitCompositeCircuitInitialize;
  PFN_ACX_CIRCUIT_COMPOSITE_INITIALIZE         EvtAcxCircuitCompositeInitialize;
  PFN_ACX_CIRCUIT_COMPOSITE_DEINITIALIZE       EvtAcxCircuitCompositeDeinitialize;
} ACX_CIRCUIT_COMPOSITE_CALLBACKS, *PACX_CIRCUIT_COMPOSITE_CALLBACKS;

成員

Size

這個結構的長度,以位元組為單位。

EvtAcxCircuitCompositeCircuitInitialize

EVT_ACX_CIRCUIT_COMPOSITE_CIRCUIT_INITIALIZE回呼

EvtAcxCircuitCompositeInitialize

EVT_ACX_CIRCUIT_COMPOSITE_INITIALIZE回呼

EvtAcxCircuitCompositeDeinitialize

EVT_ACX_CIRCUIT_COMPOSITE_DEINITIALIZE回呼

備註

範例

範例使用方式如下所示。

    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 需求

最低 ACX 版本: 1.0

如需 ACX 版本的詳細資訊,請參閱 ACX 版本概觀

規格需求

需求
標頭 acxcircuit.h

另請參閱