SERCX2_CUSTOM_TRANSMIT_TRANSACTION_CONFIG structure (sercx.h)
The SERCX2_CUSTOM_TRANSMIT_TRANSACTION_CONFIG structure contains information that version 2 of the serial framework extension (SerCx2) uses to configure a new custom-transmit-transaction object.
Syntax
typedef struct _SERCX2_CUSTOM_TRANSMIT_TRANSACTION_CONFIG {
ULONG Size;
PFN_SERCX2_CUSTOM_TRANSMIT_TRANSACTION_INITIALIZE EvtSerCx2CustomTransmitTransactionInitialize;
PFN_SERCX2_CUSTOM_TRANSMIT_TRANSACTION_START EvtSerCx2CustomTransmitTransactionStart;
PFN_SERCX2_CUSTOM_TRANSMIT_TRANSACTION_CLEANUP EvtSerCx2CustomTransmitTransactionCleanup;
} SERCX2_CUSTOM_TRANSMIT_TRANSACTION_CONFIG, *PSERCX2_CUSTOM_TRANSMIT_TRANSACTION_CONFIG;
Members
Size
The size, in bytes, of this structure. The SerCx2CustomTransmitTransactionCreate 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.
EvtSerCx2CustomTransmitTransactionInitialize
A pointer to the driver-implemented EvtSerCx2CustomTransmitTransactionInitialize event callback function. This member is optional and can be set to NULL to indicate that the driver does not implement the function.
EvtSerCx2CustomTransmitTransactionStart
A pointer to the driver-implemented EvtSerCx2CustomTransmitTransactionStart event callback function. This member must point to a valid function.
EvtSerCx2CustomTransmitTransactionCleanup
A pointer to the driver-implemented EvtSerCx2CustomTransmitTransactionCleanup event callback function. This member is optional and can be set to NULL to indicate that the driver does not implement the function.
Remarks
The SerCx2CustomTransmitTransactionCreate method accepts a pointer to a SERCX2_CUSTOM_TRANSMIT_TRANSACTION_CONFIG structure as an input parameter. Before calling SerCx2CustomTransmitTransactionInitialize, call the SERCX2_CUSTOM_TRANSMIT_TRANSACTION_CONFIG_INIT function to initialize this structure.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Supported starting with Windows 8.1. |
Header | sercx.h |
See also
EvtSerCx2CustomTransmitTransactionCleanup
EvtSerCx2CustomTransmitTransactionInitialize
EvtSerCx2CustomTransmitTransactionStart