RtlQueryDepthSList function

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

Syntax

NTSYSAPI WORD RtlQueryDepthSList(
  PSLIST_HEADER ListHead
);

Parameters

ListHead

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.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header winnt.h (include Windows.h)
DLL Ntdll.dll

See Also

Interlocked Singly Linked Lists