ExDeleteNPagedLookasideList function

The ExDeleteNPagedLookasideList routine destroys a nonpaged lookaside list.

Syntax

NTKERNELAPI VOID ExDeleteNPagedLookasideList(
  PNPAGED_LOOKASIDE_LIST Lookaside
);

Parameters

Lookaside

A pointer to the NPAGED_LOOKASIDE_LIST structure for the lookaside list, which the caller originally set up with ExInitializeNPagedLookasideList.

Return Value

None

Remarks

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.

For more information, see Using Lookaside Lists.

Requirements

   
Windows version Available starting with Windows 2000.
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL "<= DISPATCH_LEVEL"

See Also

ExInitializeNPagedLookasideList

NPAGED_LOOKASIDE_LIST