NdisFreeNetBufferListContext function (ndis/nblapi.h)

Call the NdisFreeNetBufferListContext function to release context space in the NET_BUFFER_LIST_CONTEXT structure of a

NET_BUFFER_LIST structure.

Syntax

NDIS_EXPORTED_ROUTINE VOID NdisFreeNetBufferListContext(
  [in] NET_BUFFER_LIST *NetBufferList,
  [in] USHORT          ContextSize
);

Parameters

[in] NetBufferList

A pointer to a previously allocated NET_BUFFER_LIST structure.

[in] ContextSize

The amount of context space to free.

Return value

None

Remarks

NdisFreeNetBufferListContext releases context space that was allocated in a previous call to NdisAllocateNetBufferListContext. If NdisAllocateNetBufferListContext allocated memory to satisfy in the call to NdisAllocateNetBufferListContext, NdisFreeNetBufferListContext frees the allocated memory.

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)

See also

NET_BUFFER_LIST

NET_BUFFER_LIST_CONTEXT

NdisAllocateNetBufferListContext