ExDeletePagedLookasideList function (wdm.h)

The ExDeletePagedLookasideList routine destroys a paged lookaside list.

Syntax

void ExDeletePagedLookasideList(
  [in, out] PPAGED_LOOKASIDE_LIST Lookaside
);

Parameters

[in, out] Lookaside

A pointer to the PAGED_LOOKASIDE_LIST structure for the lookaside list, which the caller already initialized with ExInitializePagedLookasideList, which the caller originally set up with ExInitializePagedLookasideList.

Return value

None

Remarks

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.

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 <= APC_LEVEL
DDI compliance rules HwStorPortProhibitedDDIs(storport), IrqlExApcLte2(wdm)

See also

ExInitializePagedLookasideList

PAGED_LOOKASIDE_LIST