// ntifs.h
VOID FsRtlInitializeExtraCreateParameter(
[in] PECP_HEADER Ecp,
[in] ULONG EcpFlags,
[in, optional] PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK CleanupCallback,
[in] ULONG TotalSize,
[in] LPCGUID EcpType,
[in, optional] PVOID ListAllocatedFrom
);
View the official Windows Driver Kit DDI referenceNo description available.
The FsRtlInitializeExtraCreateParameter routine initializes an extra create parameter (ECP) context structure.
Ecp [in]Pointer to the ECP context structure to initialize.
EcpFlags [in]Defines initialization options. Currently, no flags are defined.
CleanupCallback [in, optional]Optional pointer to a filter-defined cleanup callback routine of type PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK. The cleanup callback routine is called when the ECP context structure (created by the FsRtlAllocateExtraCreateParameter routine) is deleted. Set this parameter to NULL if a cleanup callback routine is not applicable.
TotalSize [in]The size, in bytes, of the ECP context structure to initialize.
EcpType [in]Pointer to a GUID that indicates the type of ECP for which the context structure will be initialized. For more information about ECPs, see Using Extra Create Parameters with an IRP_MJ_CREATE Operation.
ListAllocatedFrom [in, optional]Optional pointer to the list from which the ECP context structure is allocated.
FsRtlAllocateExtraCreateParameter
PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK