The ExDeleteNPagedLookasideList routine destroys a nonpaged lookaside list.
VOID
ExDeleteNPagedLookasideList(
IN PNPAGED_LOOKASIDE_LIST Lookaside
);
None
Declared in wdm.h and ntddk.h. Include wdm.h or ntddk.h.
ExDeleteNPagedLookasideList is the reciprocal of ExInitializeNPagedLookasideList. 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 ExDeleteNPagedLookasideList is responsible for subsequently releasing the memory that the caller provided to contain the list head.
Callers of ExDeleteNPagedLookasideList must be running at IRQL <= DISPATCH_LEVEL.