Share via


NdisQueryDepthSList (Compact 2013)

3/26/2014

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

Syntax

USHORT 
  NdisQueryDepthSList(
    IN PSLIST_HEADER  SListHead
    );

Parameters

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

Return Value

NdisQueryDepthSList returns the number of entries that are currently in the S-List.

See Also

Reference

NDIS Interlocked Functions Interface
NdisInitializeSListHead
NdisInterlockedPushEntrySList
NdisInterlockedPopEntrySList