SINGLE_LIST_ENTRY - NtDoc

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

typedef struct _SINGLE_LIST_ENTRY {
  struct _SINGLE_LIST_ENTRY *Next;
} SINGLE_LIST_ENTRY, *PSINGLE_LIST_ENTRY;

View the official Win32 API reference

NtDoc

No description available.

Win32 API reference (ns-ntdef-single_list_entry)

SINGLE_LIST_ENTRY structure

Description

A SINGLE_LIST_ENTRY structure describes an entry in a singly linked list, or serves as the header for such a list.

Members

Next

For a SINGLE_LIST_ENTRY that serves as a list entry, the Next member points to the next entry in the list, or NULL if there is no next entry in the list. For a SINGLE_LIST_ENTRY that serves as the list header, the Next member points to the first entry in the list, or NULL if the list is empty.

Remarks

If a SINGLE_LIST_ENTRY structure is used as a list head, initialize the Next member of the structure to be NULL.

A driver can access the Next member of a SINGLE_LIST_ENTRY, but (other than initializing a list head) Next must only be updated by the system routines supplied for this purpose.

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

See also

ExInterlockedPopEntryList

ExInterlockedPushEntryList

PopEntryList

PushEntryList