ExQueryDepthSListHead

USHORT
ExQueryDepthSListHead(

IN PSLIST_HEADER SListHead
);

ExQueryDepthSListHead returns the current number of entries in a sequenced, singly linked list.

Parameters

SListHead

Points to the head of the sequenced, singly linked list to be queried.

Return Value

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

Comments

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.

See Also

ExInitializeSListHead, ExInterlockedPushEntrySList, ExInterlockedPopEntrySList