ExQueryDepthSList function (wdm.h)
The ExQueryDepthSList routine returns the number of entries currently in a given sequenced singly linked list.
Syntax
USHORT ExQueryDepthSList(
[in] PSLIST_HEADER SListHead
);
Parameters
[in] SListHead
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 2000. |
Target Platform | Universal |
Header | wdm.h (include Wdm.h, Ntddk.h, Ntifs.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | <= DISPATCH_LEVEL |