SLIST_ENTRY structure (wdm.h)

An SLIST_ENTRY structure describes an entry in a sequenced singly linked list.

Syntax

typedef struct _SLIST_ENTRY {
  struct _SLIST_ENTRY *Next;
} SLIST_ENTRY, *PSLIST_ENTRY;

Members

Next

Pointer to the next entry in the list, or NULL if there is no next entry in the list.

Remarks

A driver can access the Next member of a SLIST_ENTRY, but must only be updated by the system routines supplied for this purpose.

On 64-bit platforms, SLIST_ENTRY structures must be 16-byte aligned. Drivers can use DECLSPEC_ALIGN(MEMORY_ALLOCATION_ALIGNMENT) to ensure the proper alignment of SLIST_ENTRY.

For more information about how to use SLIST_ENTRY structures to implement a sequenced singly linked list, see Singly and Doubly Linked Lists.

Requirements

Requirement Value
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)

See also

ExInterlockedFlushSList

ExInterlockedPopEntrySList

ExInterlockedPushEntrySList