struttura LIST_ENTRY (ntdef.h)

Una struttura LIST_ENTRY descrive una voce in un elenco collegato doubly o funge da intestazione per tale elenco.

Sintassi

typedef struct _LIST_ENTRY {
  struct _LIST_ENTRY *Flink;
  struct _LIST_ENTRY *Blink;
} LIST_ENTRY, *PLIST_ENTRY, PRLIST_ENTRY;

Members

Flink

Per una struttura LIST_ENTRY che funge da voce di elenco, il membro Flink punta alla voce successiva nell'elenco o all'intestazione dell'elenco se non è presente alcuna voce successiva nell'elenco.

Per una struttura LIST_ENTRY che funge da intestazione elenco, il membro Flink punta alla prima voce dell'elenco o alla struttura LIST_ENTRY stessa se l'elenco è vuoto.

Blink

Per una struttura LIST_ENTRY che funge da voce di elenco, il membro Blink punta alla voce precedente nell'elenco o all'intestazione dell'elenco se non è presente alcuna voce precedente nell'elenco.

Per una struttura LIST_ENTRY che funge da intestazione elenco, il membro Blink punta all'ultima voce nell'elenco o alla struttura LIST_ENTRY stessa se l'elenco è vuoto.

Commenti

Una struttura LIST_ENTRY che descrive la testa elenco deve essere stata inizializzata chiamando InitializeListHead.

Un driver può accedere ai membri Flink o Blink di un LIST_ENTRY, ma i membri devono essere aggiornati solo dalle routine di sistema fornite per questo scopo.

Per altre informazioni su come usare strutture LIST_ENTRY per implementare un elenco collegato doubly, vedere Singly e Doubly Linked Elenchi.

Requisiti

Requisito Valore
Intestazione ntdef.h (include Wdm.h, Ntddk.h)

Vedi anche

ExInterlockedInsertHeadList

ExInterlockedInsertTailList

ExInterlockedRemoveHeadList

InitializeListHead

InsertHeadList

InsertTailList

IsListEmpty

RemoveEntryList

RemoveHeadList

RemoveTailList