Windows Driver Kit: Kernel-Mode Driver Architecture
SLIST_ENTRY
An SLIST_ENTRY structure describes an entry in a sequenced singly-linked list.
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.
Comments
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
Headers: Declared in Wdm.h. Include Wdm.h, Ntddk.h, or Ntifs.h.
See Also
ExInterlockedFlushSList, ExInterlockedPopEntrySList, ExInterlockedPushEntrySList