// sercx.h
typedef struct _SERCX2_PIO_TRANSMIT_CONFIG {
ULONG Size;
PFN_SERCX2_PIO_TRANSMIT_INITIALIZE_TRANSACTION EvtSerCx2PioTransmitInitializeTransaction;
PFN_SERCX2_PIO_TRANSMIT_CLEANUP_TRANSACTION EvtSerCx2PioTransmitCleanupTransaction;
PFN_SERCX2_PIO_TRANSMIT_WRITE_BUFFER EvtSerCx2PioTransmitWriteBuffer;
PFN_SERCX2_PIO_TRANSMIT_ENABLE_READY_NOTIFICATION EvtSerCx2PioTransmitEnableReadyNotification;
PFN_SERCX2_PIO_TRANSMIT_CANCEL_READY_NOTIFICATION EvtSerCx2PioTransmitCancelReadyNotification;
PFN_SERCX2_PIO_TRANSMIT_DRAIN_FIFO EvtSerCx2PioTransmitDrainFifo;
PFN_SERCX2_PIO_TRANSMIT_CANCEL_DRAIN_FIFO EvtSerCx2PioTransmitCancelDrainFifo;
PFN_SERCX2_PIO_TRANSMIT_PURGE_FIFO EvtSerCx2PioTransmitPurgeFifo;
} SERCX2_PIO_TRANSMIT_CONFIG, *PSERCX2_PIO_TRANSMIT_CONFIG;
View the official Windows Driver Kit DDI referenceNo description available.
The SERCX2_PIO_TRANSMIT_CONFIG structure contains information that version 2 of the serial framework extension (SerCx2) uses to configure a new PIO-transmit object.
SizeThe size, in bytes, of this structure. The SerCx2PioTransmitCreate method uses this member to determine which version of the structure the caller is using. The size of this structure might change in future versions of the Sercx.h header file.
EvtSerCx2PioTransmitInitializeTransactionA pointer to the driver-implemented EvtSerCx2PioTransmitInitializeTransaction event callback function. This member must point to a valid function.
EvtSerCx2PioTransmitCleanupTransactionA pointer to the driver-implemented EvtSerCx2PioTransmitCleanupTransaction event callback function. This member must point to a valid function.
EvtSerCx2PioTransmitWriteBufferA pointer to the driver-implemented EvtSerCx2PioTransmitWriteBuffer event callback function. This member must point to a valid function.
EvtSerCx2PioTransmitEnableReadyNotificationA pointer to the driver-implemented EvtSerCx2PioTransmitEnableReadyNotification event callback function. This member must point to a valid function.
EvtSerCx2PioTransmitCancelReadyNotificationA pointer to the driver-implemented EvtSerCx2PioTransmitCancelReadyNotification event callback function. This member must point to a valid function.
EvtSerCx2PioTransmitDrainFifoA pointer to the driver-implemented EvtSerCx2PioTransmitDrainFifo event callback function. This member is optional and can be set to NULL to indicate that the driver does not implement the function. However, a driver that implements this function must also implement EvtSerCx2PioTransmitCancelDrainFifo and EvtSerCx2PioTransmitPurgeFifo functions.
EvtSerCx2PioTransmitCancelDrainFifoA pointer to the driver-implemented EvtSerCx2PioTransmitCancelDrainFifo event callback function. This member is optional and can be set to NULL to indicate that the driver does not implement the function. However, a driver that implements this function must also implement EvtSerCx2PioTransmitDrainFifo and EvtSerCx2PioTransmitPurgeFifo functions.
EvtSerCx2PioTransmitPurgeFifoA pointer to the driver-implemented EvtSerCx2PioTransmitPurgeFifo event callback function. This member is optional and can be set to NULL to indicate that the driver does not implement the function. However, a driver that implements this function must also implement EvtSerCx2PioTransmitDrainFifo and EvtSerCx2PioTransmitCancelDrainFifo functions.
The SerCx2PioTransmitCreate method accepts a pointer to a SERCX2_PIO_TRANSMIT_CONFIG structure as an input parameter. Before calling SerCx2PioTransmitCreate, call the SERCX2_PIO_TRANSMIT_CONFIG_INIT function to initialize this structure.
EvtSerCx2PioTransmitCancelDrainFifo
EvtSerCx2PioTransmitCancelReadyNotification
EvtSerCx2PioTransmitCleanupTransaction
EvtSerCx2PioTransmitEnableReadyNotification
EvtSerCx2PioTransmitInitializeTransaction
EvtSerCx2PioTransmitWriteBuffer
SERCX2_PIO_TRANSMIT_CONFIG_INIT