struttura SERCX2_CUSTOM_TRANSMIT_TRANSACTION_CONFIG (sercx.h)
La struttura SERCX2_CUSTOM_TRANSMIT_TRANSACTION_CONFIG contiene informazioni usate dalla versione 2 dell'estensione del framework seriale (SerCx2) per configurare un nuovo oggetto di transazione di trasmissione personalizzata.
Sintassi
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
Dimensione, in byte, della struttura. Il metodo SerCx2CustomTransmitTransactionCreate usa questo membro per determinare la versione della struttura utilizzata dal chiamante. Le dimensioni di questa struttura potrebbero cambiare nelle versioni future del file di intestazione Sercx.h.
EvtSerCx2CustomTransmitTransactionInitialize
Puntatore alla funzione di callback dell'evento EvtSerCx2CustomTransmitTransactionInitialize implementata dal driver. Questo membro è facoltativo e può essere impostato su NULL per indicare che il driver non implementa la funzione.
EvtSerCx2CustomTransmitTransactionStart
Puntatore alla funzione di callback dell'evento EvtSerCx2CustomTransmitTransactionStart implementata dal driver. Questo membro deve puntare a una funzione valida.
EvtSerCx2CustomTransmitTransactionCleanup
Puntatore alla funzione di callback dell'evento EvtSerCx2CustomTransmitTransactionCleanup implementata dal driver. Questo membro è facoltativo e può essere impostato su NULL per indicare che il driver non implementa la funzione.
Commenti
Il metodo SerCx2CustomTransmitTransactionCreate accetta un puntatore a una struttura SERCX2_CUSTOM_TRANSMIT_TRANSACTION_CONFIG come parametro di input. Prima di chiamare SerCx2CustomTransmitTransactionInitialize, chiamare la funzione SERCX2_CUSTOM_TRANSMIT_TRANSACTION_CONFIG_INIT per inizializzare questa struttura.
Requisiti
Requisito | Valore |
---|---|
Client minimo supportato | Supportato a partire da Windows 8.1. |
Intestazione | sercx.h |
Vedi anche
EvtSerCx2CustomTransmitTransactionCleanup
EvtSerCx2CustomTransactionInitialize
EvtSerCx2CustomTransmitTransactionStart
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per