FsRtlFreeExtraCreateParameter function (ntifs.h)

The FsRtlFreeExtraCreateParameter routine frees the memory for an ECP context structure.

Syntax

void FsRtlFreeExtraCreateParameter(
  [in] PVOID EcpContext
);

Parameters

[in] EcpContext

Pointer to the extra create parameter (ECP) context structure to be freed.

Return value

None

Remarks

If the ECP context structure to be freed is still attached to an ECP list, it must first be detached from the list by the FltRemoveExtraCreateParameter routine before the FsRtlFreeExtraCreateParameter routine can free it.

If a cleanup callback routine of type PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK was defined for the given ECP context structure, this callback routine is invoked upon deletion of the ECP context structure.

Requirements

Requirement Value
Minimum supported client The FsRtlFreeExtraCreateParameter routine is available starting with Windows Vista.
Target Platform Universal
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <= APC_LEVEL

See also

ECP_LIST

FltAllocateExtraCreateParameterFromLookasideList

FltCreateFileEx2

FltFreeExtraCreateParameter

FltGetEcpListFromCallbackData

FltInsertExtraCreateParameter

FltRemoveExtraCreateParameter

FltSetEcpListIntoCallbackData

IoCreateFileEx

PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK