Previous Next

ExInterlockedFlushSList

The ExInterlockedFlushSList routine removes all entries on a sequenced, singly-linked list (S-List) in a synchronized, multiprocessor-safe way.

PSINGLE_LIST_ENTRY
  ExInterlockedFlushSList (
    IN PSLIST_HEADER  ListHead
    );

Parameters

ListHead
Pointer to an S-List header.

Return Value

If there are entries on the specified S-List, ExInterlockedFlushSList returns a pointer to the first entry on the S-List; otherwise, it returns NULL.

Headers

Declared in ntddk.h. Include ntddk.h.

Comment

ExInterlockedFlushSList sets the pointer to the first entry on the specified S-List to NULL.

See Also

ExInitializeSListHead