USHORT
ExQueryDepthSListHead(
IN PSLIST_HEADER SListHead
);
ExQueryDepthSListHead returns the current number of entries in a sequenced, singly linked list.
ExQueryDepthSListHead returns the current number of entries in the S-List.
ExQueryDepthSListHead returns the current number of entries in the S-List. Prior to calling this routine, the list should be initialized with ExInitializeSListHead.
Callers of ExQueryDepthSListHead should be running at IRQL <= DISPATCH_LEVEL.
ExInitializeSListHead, ExInterlockedPushEntrySList, ExInterlockedPopEntrySList