NdisFreeNetBufferListPool function (ndis/nblapi.h)

Call the NdisFreeNetBufferListPool function to free a NET_BUFFER_LIST structure pool.

Syntax

NDIS_EXPORTED_ROUTINE VOID NdisFreeNetBufferListPool(
  [in] NDIS_HANDLE PoolHandle
);

Parameters

[in] PoolHandle

A handle that was obtained from a call to the NdisAllocateNetBufferListPool function.

Return value

None

Remarks

Before freeing a NET_BUFFER_LIST structure pool, you must free all the NET_BUFFER_LIST structures in the pool. To free a NET_BUFFER_LIST structure, call the NdisFreeNetBufferList function.

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
DLL Ndis.sys
IRQL <= DISPATCH_LEVEL
DDI compliance rules Irql_NetBuffer_Function(ndis), NdisAllocateNetBufferListPool(ndis), NdisAllocateNetBufferListPool_InitFail(ndis)

See also

NET_BUFFER_LIST

NdisAllocateNetBufferListPool

NdisFreeNetBufferList