NdisFreeNetBufferListContext function

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

NET_BUFFER_LIST structure.

Syntax

void NdisFreeNetBufferListContext(
  PNET_BUFFER_LIST NetBufferList,
  USHORT           ContextSize
);

Parameters

NetBufferList

A pointer to a previously allocated NET_BUFFER_LIST structure.

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

   
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_LIST

NET_BUFFER_LIST_CONTEXT

NdisAllocateNetBufferListContext