#ifndef _NTRTL_H
_Must_inspect_result_
NTSYSAPI
PSLIST_ENTRY
NTAPI
RtlFirstEntrySList(
_In_ const SLIST_HEADER *ListHead
);
View code on GitHub// winnt.h
NTSYSAPI PSLIST_ENTRY RtlFirstEntrySList(
[in] const SLIST_HEADER *ListHead
);
View the official Win32 API referenceNo description available.
Retrieves the first entry in a singly linked list. Access to the list is synchronized on a multiprocessor system.
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 return value is a pointer to the first entry in the list. If the list is empty, the return value is NULL.
Interlocked Singly Linked Lists