Inserts a singly-linked list at the front of another singly linked list. Access to the lists is synchronized on a multiprocessor system. This version of the method does not use the __fastcall calling convention.
PSLIST_ENTRY InterlockedPushListSListEx( PSLIST_HEADER ListHead, PSLIST_ENTRY List, PSLIST_ENTRY ListEnd, ULONG Count );
Pointer to an SLIST_HEADER structure that represents the head of a singly linked list. The list specified by the List and ListEnd parameters is inserted at the front of this list.
Pointer to an SLIST_ENTRY structure that represents the first item in the list to be inserted.
Pointer to an SLIST_ENTRY structure that represents the last item in the list to be inserted.
The number of items in the list to be inserted.
The return value is the previous first item in the list specified by the ListHead parameter. If the list was previously empty, the return value is NULL.
All list items must be aligned on a MEMORY_ALLOCATION_ALIGNMENT boundary; otherwise, this function will behave unpredictably. See _aligned_malloc.
|Minimum supported client||Windows 8 [desktop apps | UWP apps]|
|Minimum supported server||Windows Server 2012 [desktop apps | UWP apps]|
|Header||interlockedapi.h (include Windows.h)|