NdisFreeNetBuffer function (ndis/nblapi.h)

Call the NdisFreeNetBuffer function to free a NET_BUFFER structure that was previously allocated from a NET_BUFFER structure pool with the NdisAllocateNetBuffer function.

Syntax

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

Parameters

[in] NetBuffer

A pointer to a NET_BUFFER structure that was allocated by calling NdisAllocateNetBuffer.

Return value

None

Requirements

Requirement Value
Minimum supported client Supported in NDIS 6.0 and later.
Target Platform Universal
Header ndis/nblapi.h (include ndis.h)
Library Ndis.lib
IRQL <= DISPATCH_LEVEL
DDI compliance rules Irql_NetBuffer_Function(ndis), NdisAllocateNetBuffer(ndis), NdisAllocateNetBufferMdlAndData(ndis), NdisAllocateNetBufferMdlAndData_InitFail(ndis)

See also

NET_BUFFER

NdisAllocateNetBuffer