NdisQueryDepthSList macro (ndis.h)

The NdisQueryDepthSList function returns the current number of entries in a given sequenced, singly linked list.

Syntax

void NdisQueryDepthSList(
  [in]  SListHead
);

Parameters

[in] SListHead

A pointer to the head of the S-List to be queried, which the caller already initialized with NdisInitializeSListHead.

Return value

None

Requirements

Requirement Value
Minimum supported client Supported for NDIS 6.0 and NDIS 5.1 drivers (see NdisQueryDepthSList (NDIS 5.1)) in Windows Vista. Supported for NDIS 5.1 drivers (see NdisQueryDepthSList (NDIS 5.1)) in Windows XP.
Target Platform Desktop
Header ndis.h (include Ndis.h)
IRQL <= DISPATCH_LEVEL
DDI compliance rules Irql_Miscellaneous_Function(ndis)

See also

NdisInitializeSListHead

NdisInterlockedPopEntrySList

NdisInterlockedPushEntrySList