ExQueryDepthSList - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

USHORT ExQueryDepthSList(
  [in] PSLIST_HEADER SListHead
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-exquerydepthslist)

ExQueryDepthSList function

Description

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

Parameters

SListHead [in]

A pointer to the SLIST_HEADER structure that serves as the header for the sequenced singly linked list. SListHead must have been initialized by calling ExInitializeSListHead.

Return value

ExQueryDepthSList returns the current number of entries in the list.

Remarks

For more information about using this routine to implement a sequenced singly linked list, see Singly and Doubly Linked Lists.

See also

ExInitializeSListHead

ExInterlockedPopEntrySList

ExInterlockedPushEntrySList