#ifndef _NTRTL_H
NTSYSAPI
USHORT
NTAPI
RtlQueryDepthSList(
_In_ PSLIST_HEADER ListHead
);
View code on GitHub// winnt.h
NTSYSAPI WORD RtlQueryDepthSList(
[in] PSLIST_HEADER ListHead
);
View the official Win32 API referenceNo description available.
Retrieves the number of entries in the specified singly linked list.
ListHead [in]A pointer to an SLIST_HEADER structure that represents the head of a singly linked list. This structure is for system use only.
The list must be previously initialized with the InitializeSListHead function.
The function returns the number of entries in the list.
Calls to the QueryDepthSList function are forwarded to the RtlQueryDepthSList function. Applications should call QueryDepthSList instead of calling this function directly.
Interlocked Singly Linked Lists