FltFreeExtraCreateParameter - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// fltkernel.h

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

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-fltkernel-fltfreeextracreateparameter)

FltFreeExtraCreateParameter function

Description

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

Parameters

Filter [in]

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.

EcpContext [in]

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.

See also

ECP_LIST

FltAllocateExtraCreateParameter

FltAllocateExtraCreateParameterFromLookasideList

FltCreateFileEx2

FltFreeExtraCreateParameterList

FltGetEcpListFromCallbackData

FltInsertExtraCreateParameter

FltRemoveExtraCreateParameter

FltSetEcpListIntoCallbackData

IoCreateFileEx

PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK