SERCX2_PIO_RECEIVE_CONFIG_INIT function

The SERCX2_PIO_RECEIVE_CONFIG_INIT function initializes a SERCX2_PIO_RECEIVE_CONFIG structure.

Syntax


VOID SERCX2_PIO_RECEIVE_CONFIG_INIT(
  _Out_ SERCX2_PIO_RECEIVE_CONFIG                        *PioReceiveConfig,
  _In_  PFN_SERCX2_PIO_RECEIVE_READ_BUFFER               EvtSerCx2PioReceiveReadBuffer,
  _In_  PFN_SERCX2_PIO_RECEIVE_ENABLE_READY_NOTIFICATION EvtSerCx2PioReceiveEnableReadyNotification,
  _In_  PFN_SERCX2_PIO_RECEIVE_CANCEL_READY_NOTIFICATION EvtSerCx2PioReceiveCancelReadyNotification
);

Parameters

PioReceiveConfig [out]

A pointer to the SERCX2_PIO_RECEIVE_CONFIG structure that is to be initialized.

EvtSerCx2PioReceiveReadBuffer [in]

The value to load into the EvtSerCx2PioReceiveReadBuffer member of the SERCX2_PIO_RECEIVE_CONFIG structure. For more information, see the description of this member in SERCX2_PIO_RECEIVE_CONFIG.

EvtSerCx2PioReceiveEnableReadyNotification [in]

The value to load into the EvtSerCx2PioReceiveEnableReadyNotification member of the SERCX2_PIO_RECEIVE_CONFIG structure. For more information, see the description of this member in SERCX2_PIO_RECEIVE_CONFIG.

EvtSerCx2PioReceiveCancelReadyNotification [in]

The value to load into the EvtSerCx2PioReceiveCancelReadyNotification member of the SERCX2_PIO_RECEIVE_CONFIG structure. For more information, see the description of this member in SERCX2_PIO_RECEIVE_CONFIG.

Return value

None.

Remarks

Your serial controller driver must use this function to initialize a SERCX2_PIO_RECEIVE_CONFIG structure before passing a pointer to this structure as an input parameter to the SerCx2PioReceiveCreate method.

SERCX2_PIO_RECEIVE_CONFIG_INIT sets the Size member of the structure to sizeof(SERCX2_PIO_RECEIVE_CONFIG), and sets three additional members of the structure to the values supplied as input parameters to the function. The function sets the other members of the structure to zero. The driver can, if necessary, explicitly set these other members to nonzero values after the SERCX2_PIO_RECEIVE_CONFIG_INIT call.

Requirements

Target platform

Version

Available starting with Windows 8.1.

Header

2.0\Sercx.h

IRQL

Any level.

See also

SERCX2_PIO_RECEIVE_CONFIG
SerCx2PioReceiveCreate

 

 

Send comments about this topic to Microsoft

Show: