FltFreeExtraCreateParameter function (fltkernel.h)

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

Syntax

VOID FLTAPI FltFreeExtraCreateParameter(
  [in] PFLT_FILTER Filter,
  [in] PVOID       EcpContext
);

Parameters

[in] Filter

Opaque filter pointer for the minifilter driver. This pointer uniquely identifies the minifilter driver and remains constant as long as the minifilter driver is loaded.

[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 FltFreeExtraCreateParameter routine can be called to 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. For more information, see PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK.

Requirements

Requirement Value
Minimum supported client This routine is available starting with Windows Vista.
Target Platform Universal
Header fltkernel.h (include Fltkernel.h)
Library FltMgr.lib
DLL FltMgr.sys
IRQL <= APC_LEVEL

See also

ECP_LIST

FltAllocateExtraCreateParameter

FltAllocateExtraCreateParameterFromLookasideList

FltCreateFileEx2

FltFreeExtraCreateParameterList

FltGetEcpListFromCallbackData

FltInsertExtraCreateParameter

FltRemoveExtraCreateParameter

FltSetEcpListIntoCallbackData

IoCreateFileEx

PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK