NdisFreeBufferPool

This function releases a handle obtained in a preceding call to the NdisAllocateBufferPool function.

VOID NdisFreeBufferPool(
  NDIS_HANDLE PoolHandle
);

Parameters

  • PoolHandle
    [in] Handle returned when the driver called the NdisAllocateBufferPool function. The pool handle is no longer valid after this function returns.

Return Values

None.

Remarks

Before calling this function, the driver must call the NdisFreeBuffer function as many times as necessary to release all buffer descriptors that were allocated with the NdisAllocateBuffer function but not yet released. Otherwise, the call to this function causes a memory leak.

The driver must release any spin lock that it is holding before calling this function.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.

See Also

NdisAllocateBuffer | NdisAllocateBufferPool | NdisFreeBuffer | NdisReleaseSpinLock

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.