NdisQueryDepthSList function

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

Syntax


USHORT NdisQueryDepthSList(
  _In_  PSLIST_HEADER SListHead
);

Parameters

SListHead [in]

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.

Requirements

Version

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.

Header

Ndis.h (include Ndis.h)

IRQL

<= DISPATCH_LEVEL

DDI compliance rules

Irql_Miscellaneous_Function

See also

NdisInitializeSListHead
NdisInterlockedPushEntrySList
NdisInterlockedPopEntrySList

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft