NdisGetPoolFromNetBuffer function

Call the NdisGetPoolFromNetBuffer function to get the NET_BUFFER structure pool handle that is associated with a specified NET_BUFFER structure.

Syntax

NDIS_HANDLE NdisGetPoolFromNetBuffer(
  PNET_BUFFER NetBuffer
);

Parameters

NetBuffer

A pointer to a previously allocated NET_BUFFER structure.

Return Value

NdisGetPoolFromNetBuffer returns a handle to the NET_BUFFER structure pool that is associated with the specified NET_BUFFER structure.

Remarks

The handle that NdisGetPoolFromNetBuffer returns is a required parameter in calls to NDIS functions that manipulate
NET_BUFFER structures that are from the associated NET_BUFFER structure pool.

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