acxcircuit.h) (ACX_CIRCUIT_COMPOSITE_CALLBACKS 结构

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 版本概述

要求

要求
Header acxcircuit.h

另请参阅