NdisQueryNetBufferPhysicalCount function (ndis/nblapi.h)

The NdisQueryNetBufferPhysicalCount function returns the maximum number of physical breaks mapped by the buffer descriptors that are associated with the given NET_BUFFER structure.

Syntax

NDIS_EXPORTED_ROUTINE ULONG NdisQueryNetBufferPhysicalCount(
  [in] NET_BUFFER *NetBuffer
);

Parameters

[in] NetBuffer

A pointer to a previously allocated NET_BUFFER structure.

Return value

NdisQueryNetBufferPhysicalCount returns a ULONG value containing a count of the maximum number of physical breaks, mapped by MDLs that are associated with the specified NET_BUFFER structure.

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