RtlFirstEntrySList function

Retrieves the first entry in a singly linked list. Access to the list is synchronized on a multiprocessor system.

Syntax


PSLIST_ENTRY WINAPI RtlFirstEntrySList(
  _In_ PSLIST_HEADER ListHead
);

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 return value is a pointer to the first entry in the list. If the list is empty, the return value is NULL.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

WinNT.h (include Windows.h)

DLL

Ntdll.dll

See also

Interlocked Singly Linked Lists

 

 

Show: