InitializeSListHead function (wdm.h)

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

Syntax

void InitializeSListHead(
  [in] PSLIST_HEADER SListHead
);

Parameters

[in] 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

Requirement Value
Minimum supported client 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