Export (0) Print
Expand All
Expand Minimize

RtlInterlockedPushEntrySList function

Inserts an item at the front of a singly linked list. Access to the list is synchronized on a multiprocessor system.

Syntax


PSLIST_ENTRY WINAPI RtlInterlockedPushEntrySList(
  _In_  PSLIST_HEADER ListHead,
  _In_  PSLIST_ENTRY ListEntry
);

Parameters

ListHead [in]

A pointer to an SLIST_HEADER structure that represents the head of a singly linked list.

ListEntry [in]

A pointer to an SLIST_ENTRY structure that represents an item in a singly linked list.

Return value

The return value is the previous first item in the list. If the list was previously empty, the return value is NULL.

Remarks

Calls to the InterlockedPushEntrySList function are forwarded to the RtlInterlockedPushEntrySList function. Applications should call InterlockedPushEntrySList instead of calling this function directly.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Winnt.h (include Windows.h)

DLL

Ntdll.dll

See also

Interlocked Singly Linked Lists

 

 

Community Additions

ADD
Show:
© 2014 Microsoft