Partager via


NdisGetPoolFromNetBuffer (Compact 7)

3/12/2014

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

Header

ndis.h

See Also

Reference

NDIS NET_BUFFER Functions
NET_BUFFER