NdisFreeNetBuffer function

Call the NdisFreeNetBuffer function to free a NET_BUFFER structure that was previously allocated from a NET_BUFFER structure pool with the NdisAllocateNetBuffer function.

Syntax


VOID NdisFreeNetBuffer(
  _In_ PNET_BUFFER NetBuffer
);

Parameters

NetBuffer [in]

A pointer to a NET_BUFFER structure that was allocated by calling NdisAllocateNetBuffer.

Return value

None

Requirements

Target platform

Universal

Version

Supported in NDIS 6.0 and later.

Header

Ndis.h (include Ndis.h)

Library

Ndis.lib

IRQL

<= DISPATCH_LEVEL

DDI compliance rules

Irql_NetBuffer_Function, NdisAllocateNetBuffer

See also

NET_BUFFER
NdisAllocateNetBuffer

 

 

Send comments about this topic to Microsoft

Show: