// sercx.h
typedef struct _SERCX2_PIO_RECEIVE_CONFIG {
ULONG Size;
PFN_SERCX2_PIO_RECEIVE_INITIALIZE_TRANSACTION EvtSerCx2PioReceiveInitializeTransaction;
PFN_SERCX2_PIO_RECEIVE_CLEANUP_TRANSACTION EvtSerCx2PioReceiveCleanupTransaction;
PFN_SERCX2_PIO_RECEIVE_READ_BUFFER EvtSerCx2PioReceiveReadBuffer;
PFN_SERCX2_PIO_RECEIVE_ENABLE_READY_NOTIFICATION EvtSerCx2PioReceiveEnableReadyNotification;
PFN_SERCX2_PIO_RECEIVE_CANCEL_READY_NOTIFICATION EvtSerCx2PioReceiveCancelReadyNotification;
} SERCX2_PIO_RECEIVE_CONFIG, *PSERCX2_PIO_RECEIVE_CONFIG;
View the official Windows Driver Kit DDI referenceNo description available.
The SERCX2_PIO_RECEIVE_CONFIG structure contains information that version 2 of the serial framework extension (SerCx2) uses to configure a new PIO-receive object.
SizeThe size, in bytes, of this structure. The SerCx2PioReceiveCreate 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.
EvtSerCx2PioReceiveInitializeTransactionA pointer to the driver-implemented EvtSerCx2PioReceiveInitializeTransaction event callback function. This member is optional and can be set to NULL to indicate that the driver does not implement the function.
EvtSerCx2PioReceiveCleanupTransactionA pointer to the driver-implemented EvtSerCx2PioReceiveCleanupTransaction event callback function. This member is optional and can be set to NULL to indicate that the driver does not implement the function.
EvtSerCx2PioReceiveReadBufferA pointer to the driver-implemented EvtSerCx2PioReceiveReadBuffer event callback function. This member must point to a valid function.
EvtSerCx2PioReceiveEnableReadyNotificationA pointer to the driver-implemented EvtSerCx2PioReceiveEnableReadyNotification event callback function. This member must point to a valid function.
EvtSerCx2PioReceiveCancelReadyNotificationA pointer to the driver-implemented EvtSerCx2PioReceiveCancelReadyNotification event callback function. This member must point to a valid function.
The SerCx2PioReceiveCreate method accepts a pointer to a SERCX2_PIO_RECEIVE_CONFIG structure as an input parameter. Before calling SerCx2PioReceiveCreate, call the SERCX2_PIO_RECEIVE_CONFIG_INIT function to initialize this structure.
EvtSerCx2PioReceiveCancelReadyNotification
EvtSerCx2PioReceiveCleanupTransaction
EvtSerCx2PioReceiveEnableReadyNotification
EvtSerCx2PioReceiveInitializeTransaction
SERCX2_PIO_RECEIVE_CONFIG_INIT