Share via


InitializeSListHead (Compact 2013)

3/28/2014

This function initializes the head of a singly linked list.

Syntax

void WINAPI InitializeSListHead(
  PSLIST_HEADER ListHead
);

Parameters

  • ListHead
    [in, out] Pointer to an SLIST_HEADER structure that represents the head of a singly linked list. The SLIST_HEADER structure is for system use only.

Return Value

None.

Remarks

To add items to the list, use the InterlockedPushEntrySList function. To remove items from the list, use the InterlockedPopEntrySList function.

To view a code example that uses the InitializeSListHead function, see Interlocked Singly Linked List Reference.

Requirements

Header

windows.h

Library

coredll.lib

See Also

Reference

SList Functions
Interlocked Singly Linked List Reference
InterlockedPopEntrySList
InterlockedPushEntrySList