FsRtlInitializeExtraCreateParameter - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntifs-fsrtlinitializeextracreateparameter)

FsRtlInitializeExtraCreateParameter function

Description

The FsRtlInitializeExtraCreateParameter routine initializes an extra create parameter (ECP) context structure.

Parameters

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.

See also

FsRtlAllocateExtraCreateParameter

PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK