Freigeben über


NdisFreeBufferPool (Windows CE 5.0)

Send Feedback

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.
Link Library: Ndis.lib

See Also

NdisAllocateBuffer | NdisAllocateBufferPool | NdisFreeBuffer | NdisReleaseSpinLock

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.