Expand Minimize
This topic has not yet been rated - Rate this topic

RtlInterlockedFlushSList function

Removes all items from a singly linked list. Access to the list is synchronized on a multiprocessor system.

Syntax


PSLIST_ENTRY WINAPI RtlInterlockedFlushSList(
  _In_  PSLIST_HEADER ListHead
);

Parameters

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.

Return value

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

Remarks

Calls to the InterlockedFlushSList function are forwarded to the RtlInterlockedFlushSList function. Applications should call InterlockedFlushSList 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

 

 

Send comments about this topic to Microsoft

Build date: 12/18/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.