SERCX2_PIO_TRANSMIT_CONFIG_INIT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// sercx.h

VOID SERCX2_PIO_TRANSMIT_CONFIG_INIT(
  [out] SERCX2_PIO_TRANSMIT_CONFIG                        *PioTransmitConfig,
  [in]  PFN_SERCX2_PIO_TRANSMIT_WRITE_BUFFER              EvtSerCx2PioTransmitWriteBuffer,
  [in]  PFN_SERCX2_PIO_TRANSMIT_ENABLE_READY_NOTIFICATION EvtSerCx2PioTransmitEnableReadyNotification,
  [in]  PFN_SERCX2_PIO_TRANSMIT_CANCEL_READY_NOTIFICATION EvtSerCx2PioTransmitCancelReadyNotification
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-sercx-sercx2_pio_transmit_config_init)

SERCX2_PIO_TRANSMIT_CONFIG_INIT function

Description

The SERCX2_PIO_TRANSMIT_CONFIG_INIT function initializes a SERCX2_PIO_TRANSMIT_CONFIG structure.

Parameters

PioTransmitConfig [out]

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

EvtSerCx2PioTransmitWriteBuffer [in]

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

EvtSerCx2PioTransmitEnableReadyNotification [in]

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

EvtSerCx2PioTransmitCancelReadyNotification [in]

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

Remarks

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

SERCX2_PIO_TRANSMIT_CONFIG_INIT sets the Size member of the structure to sizeof(SERCX2_PIO_TRANSMIT_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_TRANSMIT_CONFIG_INIT call.

See also

SERCX2_PIO_TRANSMIT_CONFIG

SerCx2PioTransmitCreate