#ifndef _NTRTL_H
NTSYSAPI
PSLIST_ENTRY
NTAPI
RtlInterlockedFlushSList(
_Inout_ PSLIST_HEADER ListHead
);
View code on GitHub// winnt.h
NTSYSAPI PSLIST_ENTRY RtlInterlockedFlushSList(
[in] PSLIST_HEADER ListHead
);
View the official Win32 API referenceNo description available.
Removes all items from 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 the singly linked list. This structure is for system use only.
The return value is a pointer to the items removed from the list. If the list is empty, the return value is NULL.
Calls to the InterlockedFlushSList function are forwarded to the RtlInterlockedFlushSList function. Applications should call InterlockedFlushSList instead of calling this function directly.
Interlocked Singly Linked Lists