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(
  _In_ PNET_BUFFER NetBuffer
);

Parameters

NetBuffer [in]

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

Target platform

Universal

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

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft