fonction NET_ADAPTER_OFFLOAD_RX_CHECKSUM_CAPABILITIES_INIT (netadapter.h)
La fonction NET_ADAPTER_OFFLOAD_RX_CHECKSUM_CAPABILITIES_INIT initialise une structure NET_ADAPTER_OFFLOAD_RX_CHECKSUM_CAPABILITIES.
Syntaxe
void NET_ADAPTER_OFFLOAD_RX_CHECKSUM_CAPABILITIES_INIT(
[_Out_] NET_ADAPTER_OFFLOAD_RX_CHECKSUM_CAPABILITIES *Capabilities,
[_In_] PFN_NET_ADAPTER_OFFLOAD_SET_RX_CHECKSUM EvtAdapterOffloadSetRxChecksum
);
Paramètres
[_Out_] Capabilities
Pointeur vers une structure NET_ADAPTER_OFFLOAD_RX_CHECKSUM_CAPABILITIES allouée par le pilote.
[_In_] EvtAdapterOffloadSetRxChecksum
Pointeur vers l’implémentation du pilote client de la fonction de rappel EVT_NET_ADAPTER_OFFLOAD_SET_RX_CHECKSUM.
Valeur de retour
Aucun
Remarques
Le pilote client appelle NET_ADAPTER_OFFLOAD_RX_CHECKSUM_CAPABILITIES_INIT pour initialiser une structure NET_ADAPTER_OFFLOAD_RX_CHECKSUM_CAPABILITIES. Le pilote transmet la structure de NET_ADAPTER_OFFLOAD_RX_CHECKSUM_CAPABILITIES initialisée en tant que paramètre à la fonction NetAdapterOffloadSetRxChecksumCapabilities pour l’inscrire.
Exigences
Exigence | Valeur |
---|---|
client minimum pris en charge | Windows 11 |
serveur minimum pris en charge | Windows Server 2022 |
plateforme cible | Universel |
version minimale de KMDF | 1.29 |
version minimale de UMDF | 2.33 |
d’en-tête | netadapter.h (include netadaptercx.h) |
bibliothèque | netadaptercxstub.lib |
Voir aussi
déchargement de somme de contrôle
EVT_NET_ADAPTER_OFFLOAD_SET_RX_CHECKSUM