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

另请参阅