#ifndef _NTRTL_H
NTSYSAPI
PSLIST_ENTRY
NTAPI
RtlInterlockedPushEntrySList(
_Inout_ PSLIST_HEADER ListHead,
_Inout_ __drv_aliasesMem PSLIST_ENTRY ListEntry
);
View code on GitHub// winnt.h
NTSYSAPI PSLIST_ENTRY RtlInterlockedPushEntrySList(
[in] PSLIST_HEADER ListHead,
[in] __drv_aliasesMem PSLIST_ENTRY ListEntry
);
View the official Win32 API referenceNo description available.
Inserts an item at the front of a singly linked list. Access to the list is synchronized on a multiprocessor system.
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.
The return value is the previous first item in the list. If the list was previously empty, the return value is NULL.
Calls to the InterlockedPushEntrySList function are forwarded to the RtlInterlockedPushEntrySList function. Applications should call InterlockedPushEntrySList instead of calling this function directly.
Interlocked Singly Linked Lists