NdisGetPoolFromNetBuffer function (ndis/nblapi.h)

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

Syntax

NDIS_EXPORTED_ROUTINE NDIS_HANDLE NdisGetPoolFromNetBuffer(
  [in] NET_BUFFER const *NetBuffer
);

Parameters

[in] 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

Requirement Value
Minimum supported client Supported in NDIS 6.0 and later.
Target Platform Universal
Header ndis/nblapi.h (include ndis.h)
Library Ndis.lib
IRQL <= DISPATCH_LEVEL
DDI compliance rules Irql_NetBuffer_Function(ndis)

See also

NET_BUFFER