次の方法で共有


NdisFreeNetBufferListContext (Compact 2013)

3/26/2014

Call this 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
    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

Header

ndis.h

See Also

Reference

NDIS NET_BUFFER Functions
NET_BUFFER_LIST
NET_BUFFER_LIST_CONTEXT
NdisAllocateNetBufferListContext