Expand Minimize

FsRtlInitializeExtraCreateParameter routine

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

Syntax


VOID FsRtlInitializeExtraCreateParameter(
  _In_      PECP_HEADER                                    Ecp,
  _In_      ULONG                                          EcpFlags,
  _In_opt_  PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK CleanupCallback,
  _In_      ULONG                                          TotalSize,
  _In_      LPCGUID                                        EcpType,
  _In_opt_  PVOID                                          ListAllocatedFrom
);

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.

Return value

None

Requirements

Target platform

Universal

Version

The FsRtlInitializeExtraCreateParameter routine is available starting with Windows 7.

Header

Ntifs.h (include Ntifs.h)

Library

Ntoskrnl.lib

IRQL

<= APC_LEVEL

See also

FsRtlAllocateExtraCreateParameter
PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft