FsRtlDeleteExtraCreateParameterLookasideList routine

The FsRtlDeleteExtraCreateParameterLookasideList routine frees an extra create parameter (ECP) lookaside list.

Syntax


VOID FsRtlDeleteExtraCreateParameterLookasideList(
  _Inout_ PVOID                     Lookaside,
  _In_    FSRTL_ECP_LOOKASIDE_FLAGS Flags
);

Parameters

Lookaside [in, out]

Pointer to an opaque PAGED_LOOKASIDE_LIST or NPAGED_LOOKASIDE_LIST lookaside list-head structure that represents the lookaside list to be freed.

Flags [in]

Communicates ECP lookaside list allocation options with which the FsRtlInitExtraCreateParameterLookasideList routine initialized the lookaside list.

This Flags parameter should be the same as the Flags parameter used in the call to the FsRtlInitExtraCreateParameterLookasideList routine.

Return value

None

Remarks

The FsRtlDeleteExtraCreateParameterLookasideList routine frees the ECP lookaside list to which the Lookaside parameter points. However, freeing the lookaside list does not automatically free any ECP context structures allocated from the lookaside list. To free an ECP context structure allocated from a lookaside list, call the FsRtlFreeExtraCreateParameter routine.

Drivers must explicitly free all ECP context structures and ECP lookaside lists that they created before unloading. For more information about using lookaside lists, see Using Lookaside Lists.

Requirements

Target platform

Universal

Version

FsRtlDeleteExtraCreateParameterLookasideList is available starting with Windows Vista.

Header

Ntifs.h (include Ntifs.h)

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

IRQL

<= APC_LEVEL

See also

ECP_LIST
FsRtlFreeExtraCreateParameter
FsRtlInitExtraCreateParameterLookasideList
NPAGED_LOOKASIDE_LIST
PAGED_LOOKASIDE_LIST

 

 

Send comments about this topic to Microsoft

Show: