// sercx.h
VOID SERCX2_CUSTOM_RECEIVE_TRANSACTION_CONFIG_INIT(
[out] SERCX2_CUSTOM_RECEIVE_TRANSACTION_CONFIG *Config,
[in] PFN_SERCX2_CUSTOM_RECEIVE_TRANSACTION_START EvtSerCx2CustomReceiveTransactionStart,
[in, optional] PFN_SERCX2_CUSTOM_RECEIVE_TRANSACTION_ENABLE_NEW_DATA_NOTIFICATION EvtSerCx2CustomReceiveTransactionEnableNewDataNotification,
[in] PFN_SERCX2_CUSTOM_RECEIVE_TRANSACTION_QUERY_PROGRESS EvtSerCx2CustomReceiveTransactionQueryProgress
);
View the official Windows Driver Kit DDI referenceNo description available.
The SERCX2_CUSTOM_RECEIVE_TRANSACTION_CONFIG_INIT function initializes a SERCX2_CUSTOM_RECEIVE_TRANSACTION_CONFIG structure.
Config [out]A pointer to the SERCX2_CUSTOM_RECEIVE_TRANSACTION_CONFIG structure that is to be initialized.
EvtSerCx2CustomReceiveTransactionStart [in]The value to load into the EvtSerCx2CustomReceiveTransactionStart member of the SERCX2_CUSTOM_RECEIVE_TRANSACTION_CONFIG structure. For more information, see the description of this member in SERCX2_CUSTOM_RECEIVE_TRANSACTION_CONFIG.
EvtSerCx2CustomReceiveTransactionEnableNewDataNotification [in, optional]The value to load into the EvtSerCx2CustomReceiveTransactionEnableNewDataNotification member of the SERCX2_CUSTOM_RECEIVE_TRANSACTION_CONFIG structure. For more information, see the description of this member in SERCX2_CUSTOM_RECEIVE_TRANSACTION_CONFIG.
EvtSerCx2CustomReceiveTransactionQueryProgress [in]The value to load into the EvtSerCx2CustomReceiveTransactionQueryProgress member of the SERCX2_CUSTOM_RECEIVE_TRANSACTION_CONFIG structure. For more information, see the description of this member in SERCX2_CUSTOM_RECEIVE_TRANSACTION_CONFIG.
Your serial controller driver must use this function to initialize a SERCX2_CUSTOM_RECEIVE_TRANSACTION_CONFIG structure before passing a pointer to this structure as an input parameter to the SerCx2CustomReceiveTransactionCreate method.
SERCX2_CUSTOM_RECEIVE_TRANSACTION_CONFIG_INIT sets the Size member of the structure to sizeof(SERCX2_CUSTOM_RECEIVE_TRANSACTION_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_CUSTOM_RECEIVE_TRANSACTION_CONFIG_INIT call.
SERCX2_CUSTOM_RECEIVE_TRANSACTION_CONFIG
SerCx2CustomReceiveTransactionCreate