// ntifs.h
VOID FsRtlDeleteExtraCreateParameterLookasideList(
[in, out] PVOID Lookaside,
[in] FSRTL_ECP_LOOKASIDE_FLAGS Flags
);
View the official Windows Driver Kit DDI referenceNo description available.
The FsRtlDeleteExtraCreateParameterLookasideList routine frees an extra create parameter (ECP) lookaside list.
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.
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.
FsRtlInitExtraCreateParameterLookasideList