// wdm.h
VOID ExFlushLookasideListEx(
[in, out] PLOOKASIDE_LIST_EX Lookaside
);
View the official Windows Driver Kit DDI referenceNo description available.
The ExFlushLookasideListEx routine flushes all entries from the specified lookaside list and frees the allocated storage for each entry.
Lookaside [in, out]A pointer to a LOOKASIDE_LIST_EX structure that describes a lookaside list. This structure was previously initialized by the ExInitializeLookasideListEx routine.
On return from this routine, the lookaside list is empty and the allocated storage for all its entries has been freed.
For more information about lookaside lists, see Using Lookaside Lists.