RtlQueryDepthSList - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H

NTSYSAPI
USHORT
NTAPI
RtlQueryDepthSList(
    _In_ PSLIST_HEADER ListHead
    );

#endif

View code on GitHub
// winnt.h

NTSYSAPI WORD RtlQueryDepthSList(
  [in] PSLIST_HEADER ListHead
);
View the official Win32 API reference

NtDoc

No description available.

Win32 API reference (nf-winnt-rtlquerydepthslist)

RtlQueryDepthSList function

Description

Retrieves the number of entries in the specified singly linked list.

Parameters

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.

Return value

The function returns the number of entries in the list.

Remarks

Calls to the QueryDepthSList function are forwarded to the RtlQueryDepthSList function. Applications should call QueryDepthSList instead of calling this function directly.

See also

Interlocked Singly Linked Lists