NdisFreeNetBufferPool function

Call the NdisFreeNetBufferPool function to free NET_BUFFER structure pools that are created with the NdisAllocateNetBufferPool function.

Syntax

void NdisFreeNetBufferPool(
  NDIS_HANDLE PoolHandle
);

Parameters

PoolHandle

The pool handle for the NET_BUFFER structure pool to be freed.

Return Value

None

Remarks

You should free all the NET_BUFFER structures in a pool before freeing the NET_BUFFER structure pool. Call the NdisFreeNetBuffer function to free each NET_BUFFER structure.

Requirements

   
Minimum supported client Supported in NDIS 6.0 and later.
Target Platform Universal
Header ndis.h (include Ndis.h)
Library Ndis.lib
IRQL <= DISPATCH_LEVEL
DDI compliance rules Irql_NetBuffer_Function

See Also

NET_BUFFER

NdisAllocateNetBufferPool

NdisFreeNetBuffer