SERCX2_PIO_RECEIVE_CONFIG structure

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.

Syntax


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;

Members

Size

The 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.

EvtSerCx2PioReceiveInitializeTransaction

A 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.

EvtSerCx2PioReceiveCleanupTransaction

A 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.

EvtSerCx2PioReceiveReadBuffer

A pointer to the driver-implemented EvtSerCx2PioReceiveReadBuffer event callback function. This member must point to a valid function.

EvtSerCx2PioReceiveEnableReadyNotification

A pointer to the driver-implemented EvtSerCx2PioReceiveEnableReadyNotification event callback function. This member must point to a valid function.

EvtSerCx2PioReceiveCancelReadyNotification

A pointer to the driver-implemented EvtSerCx2PioReceiveCancelReadyNotification event callback function. This member must point to a valid function.

Remarks

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.

Requirements

Version

Supported starting with Windows 8.1.

Header

2.0\Sercx.h

See also

EvtSerCx2PioReceiveCancelReadyNotification
EvtSerCx2PioReceiveCleanupTransaction
SERCX2_PIO_RECEIVE_CONFIG_INIT
SerCx2PioReceiveCreate
EvtSerCx2PioReceiveEnableReadyNotification
EvtSerCx2PioReceiveInitializeTransaction
EvtSerCx2PioReceiveReadBuffer

 

 

Send comments about this topic to Microsoft

Show: