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(
  _In_  PNET_BUFFER_LIST NetBufferList,
  _In_  USHORT ContextSize
);

Parameters

NetBufferList [in]

A pointer to a previously allocated NET_BUFFER_LIST structure.

ContextSize [in]

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

Version

Supported in NDIS 6.0 and later.

Header

Ndis.h (include Ndis.h)

IRQL

<= DISPATCH_LEVEL

DDI compliance rules

Irql_NetBuffer_Function

See also

NET_BUFFER_LIST
NET_BUFFER_LIST_CONTEXT
NdisAllocateNetBufferListContext

 

 

Send comments about this topic to Microsoft

표시:
© 2014 Microsoft