共用方式為


ACX_FACTORY_CIRCUIT_OPERATION_CALLBACKS結構 (acxcircuit.h)

ACX_FACTORY_CIRCUIT_OPERATION_CALLBACKS 結構會識別 ACX 處理站作業的驅動程式回呼。

語法

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;

成員

Size

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

EvtAcxFactoryCircuitCreateCircuitDevice

EVT_ACX_FACTORY_CIRCUIT_CREATE_CIRCUITDEVICE 回呼

EvtAcxFactoryCircuitDeleteCircuitDevice

ACX_FACTORY_CIRCUIT_DELETE_CIRCUITDEVICE 回呼

EvtAcxFactoryCircuitCreateCircuit

EVT_ACX_FACTORY_CIRCUIT_CREATE_CIRCUIT 回呼

言論

範例使用方式如下所示。

    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

另請參閱