RtlInterlockedPopEntrySList - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H

NTSYSAPI
PSLIST_ENTRY
NTAPI
RtlInterlockedPopEntrySList(
    _Inout_ PSLIST_HEADER ListHead
    );

#endif

View code on GitHub
// winnt.h

NTSYSAPI PSLIST_ENTRY RtlInterlockedPopEntrySList(
  [in] PSLIST_HEADER ListHead
);
View the official Win32 API reference

NtDoc

No description available.

Win32 API reference (nf-winnt-rtlinterlockedpopentryslist)

RtlInterlockedPopEntrySList function

Description

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

Parameters

ListHead [in]

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

Return value

The return value is a pointer to the item removed from the list. If the list is empty, the return value is NULL.

Remarks

Calls to the InterlockedPopEntrySList function are forwarded to the RtlInterlockedPopEntrySList function. Applications should call InterlockedPopEntrySList instead of calling this function directly.

See also

Interlocked Singly Linked Lists