FirstEntrySList - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

PSLIST_ENTRY FirstEntrySList(
  [in] PSLIST_HEADER SListHead
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-firstentryslist)

FirstEntrySList function

Description

The FirstEntrySList routine returns the first entry in a sequenced singly linked list.

Parameters

SListHead [in]

Pointer to the SLIST_HEADER structure that serves as the header for the sequenced singly linked list.

Return value

FirstEntrySList returns a pointer to the first SLIST_ENTRY structure on the list. If the list is empty, the routine returns NULL.

Remarks

Unlike other sequenced singly linked list routines, the FirstEntrySList routine is not atomic. For more information about sequenced singly linked lists, see Sequenced Singly Linked Lists. Callers of this routine can run at any level. If called at IRQL >= DISPATCH_LEVEL, the storage for ListHead must be resident.

See also

SLIST_ENTRY

SLIST_HEADER