InitializeSListHead function

The InitializeSListHead routine (or ExInitializeSListHead) initializes an SLIST_HEADER structure that represents the head of a sequenced singly linked list.

Syntax

NTKERNELAPI VOID InitializeSListHead(
  PSLIST_HEADER SListHead
);

Parameters

SListHead

A pointer to the SLIST_HEADER structure to initialize. The structure must be 16-byte aligned on 64-bit platforms.

Return Value

None

Remarks

For more information about using this routine to implement a sequenced singly linked list, see Singly and Doubly Linked Lists.

Callers of InitializeSListHead or ExInitializeSListHead can be running at any IRQL. If ExInitializeSListHead is called at IRQL >= DISPATCH_LEVEL the storage for SListHead must be resident.

Requirements

   
Windows version Available starting with Windows 2000.
Target Platform Desktop
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL Any level (see Remarks section)

See Also

ExInitializeNPagedLookasideList

ExInitializePagedLookasideList

ExInterlockedInsertTailList

ExInterlockedPopEntrySList

ExInterlockedPushEntrySList

ExQueryDepthSList

KeInitializeSpinLock