SERCX2_CUSTOM_TRANSMIT_TRANSACTION_CONFIG_INIT function

The SERCX2_CUSTOM_TRANSMIT_TRANSACTION_CONFIG_INIT function initializes a SERCX2_CUSTOM_TRANSMIT_TRANSACTION_CONFIG structure.

Syntax


VOID SERCX2_CUSTOM_TRANSMIT_TRANSACTION_CONFIG_INIT(
  _Out_ SERCX2_CUSTOM_TRANSMIT_TRANSACTION_CONFIG    *Config,
  _In_  PFN_SERCX2_CUSTOM_TRANSMIT_TRANSACTION_START EvtSerCx2CustomTransmitTransactionStart
);

Parameters

Config [out]

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

EvtSerCx2CustomTransmitTransactionStart [in]

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

Return value

None.

Remarks

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

SERCX2_CUSTOM_TRANSMIT_TRANSACTION_CONFIG_INIT sets the Size member of the structure to sizeof(SERCX2_CUSTOM_TRANSMIT_TRANSACTION_CONFIG), and sets the EvtSerCx2CustomTransmitTransactionStart member to the value supplied as an input parameter 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_CUSTOM_TRANSMIT_TRANSACTION_CONFIG_INIT call.

Requirements

Target platform

Desktop

Version

Available starting with Windows 8.1.

Header

2.0\Sercx.h

IRQL

Any level.

See also

SERCX2_CUSTOM_TRANSMIT_TRANSACTION_CONFIG
SerCx2CustomTransmitTransactionCreate

 

 

Send comments about this topic to Microsoft

Show: