ExDeleteNPagedLookasideList function (wdm.h)

The ExDeleteNPagedLookasideList routine destroys a nonpaged lookaside list.

Syntax

void ExDeleteNPagedLookasideList(
  [in, out] PNPAGED_LOOKASIDE_LIST Lookaside
);

Parameters

[in, out] 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

Requirement Value
Minimum supported client 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