Previous Next

ExQueryDepthSList

The ExQueryDepthSList routine returns the number of entries currently in a given sequenced, singly linked list.

USHORT 
  ExQueryDepthSList(
    IN PSLIST_HEADER  SListHead
    );

Parameters

SListHead
Pointer to the head of the sequenced, singly linked list to be queried, which the caller has already initialized with ExInitializeSListHead.

Return Value

ExQueryDepthSList returns the current number of entries in the S-List.

Headers

Declared in wdm.h and ntddk.h. Include wdm.h or ntddk.h.

Comments

Callers of ExQueryDepthSList can be running at IRQL <= DISPATCH_LEVEL.

See Also

ExInitializeSListHead, ExInterlockedPushEntrySList, ExInterlockedPopEntrySList