// ntifs.h
PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK PfsrtlExtraCreateParameterCleanupCallback;
VOID PfsrtlExtraCreateParameterCleanupCallback(
[in, out] PVOID EcpContext,
[in[] LPCGUID EcpType
)
{...}
View the official Windows Driver Kit DDI reference
No description available.
A filter driver can register a PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK-typed routine as the filter driver's CleanupCallback callback routine for an extra create parameter (ECP) context structure.
EcpContext
[in, out]An ECP context pointer that was returned by the routine that allocated the ECP context structure.
EcpType
[in[]A pointer to a GUID that was passed to the routine that allocated the ECP context structure, that indicates the extra create parameter type. For more information, see Using GUIDs in Drivers.
When a filter driver allocates an ECP context structure, it can optionally specify a PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK-typed routine as the filter driver's CleanupCallback callback routine. If the filter driver specifies a CleanupCallback callback routine, the operating system will invoke the CleanupCallback routine (regardless of IRQ level). This CleanupCallback routine performs any necessary ECP context-related cleanup processing when the ECP context structure is deleted.
To specify a callback routine, a filter driver passes a pointer to the callback routine by using the CleanupCallback parameter of the routine that originally allocated the ECP context structure. If a callback routine is not needed, a NULL value must be passed to the CleanupCallback parameter.
The following routines support the PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK-typed callback routine:
FltAllocateExtraCreateParameter
FltAllocateExtraCreateParameterFromLookasideList
FltAllocateExtraCreateParameterList
FltFreeExtraCreateParameterList