Previous Next

ExDeleteNPagedLookasideList

The ExDeleteNPagedLookasideList routine destroys a nonpaged lookaside list.

VOID 
  ExDeleteNPagedLookasideList(
    IN PNPAGED_LOOKASIDE_LIST  Lookaside
    );

Parameters

Lookaside
Pointer to the head of the lookaside list to be deleted, which the caller originally set up with ExInitializeNPagedLookasideList.

Return Value

None

Headers

Declared in wdm.h and ntddk.h. Include wdm.h or ntddk.h.

Comments

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.

See Also

ExInitializeNPagedLookasideList