NdisFreeNetBuffer, fonction (ndis/nblapi.h)

Appelez la fonction NdisFreeNetBuffer pour libérer une structure NET_BUFFER précédemment allouée à partir d’un pool de structures NET_BUFFER avec la fonction NdisAllocateNetBuffer .

Syntaxe

NDIS_EXPORTED_ROUTINE VOID NdisFreeNetBuffer(
  [in] NET_BUFFER *NetBuffer
);

Paramètres

[in] NetBuffer

Pointeur vers une structure de NET_BUFFER qui a été allouée en appelant NdisAllocateNetBuffer.

Valeur de retour

None

Configuration requise

Condition requise Valeur
Client minimal pris en charge Pris en charge dans NDIS 6.0 et versions ultérieures.
Plateforme cible Universal
En-tête ndis/nblapi.h (include ndis.h)
Bibliothèque Ndis.lib
IRQL <= DISPATCH_LEVEL
Règles de conformité DDI Irql_NetBuffer_Function(ndis),NdisAllocateNetBuffer(ndis), NdisAllocateNetBufferMdlAndData(ndis), NdisAllocateNetBufferMdlAndData_InitFail(ndis)

Voir aussi

NET_BUFFER

NdisAllocateNetBuffer