NdisFreeNetBufferPool function (ndis/nblapi.h)

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

Syntax

NDIS_EXPORTED_ROUTINE VOID NdisFreeNetBufferPool(
  [in] NDIS_HANDLE PoolHandle
);

Parameters

[in] 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

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), NdisAllocateNetBufferPool(ndis), NdisAllocateNetBufferPool_InitFail(ndis)

See also

NET_BUFFER

NdisAllocateNetBufferPool

NdisFreeNetBuffer