The ExDeletePagedLookasideList routine destroys a paged lookaside list.
VOID
ExDeletePagedLookasideList(
IN PPAGED_LOOKASIDE_LIST Lookaside
);
None
Declared in wdm.h and ntddk.h. Include wdm.h or ntddk.h.
ExDeletePagedLookasideList is the reciprocal of ExInitializePagedLookasideList. It frees any remaining entries in the specified lookaside list and then removes the list from the system-wide set of active lookaside lists.
The caller of ExDeletePagedLookasideList is responsible for subsequently releasing the memory that the caller provided to contain the list head.
Callers of ExDeletePagedLookasideList must be running at IRQL < DISPATCH_LEVEL.