The FsRtlSetEcpListIntoIrp routine attaches an extra create parameter (ECP) context structure list to an IRP_MJ_CREATE operation.
NTSTATUS FsRtlSetEcpListIntoIrp( _Inout_ PIRP Irp, _In_ PECP_LIST EcpList );
A pointer to the IRP for an IRP_MJ_CREATE operation to which the ECP context structure list is to be attached.
Pointer to an ECP list that contains one or more ECP context structures. These structures will be attached to the IRP to which the Irp parameter points.
FsRtlSetEcpListIntoIrp returns one of the following NTSTATUS values:
||The given ECP list was successfully attached to the given IRP.|
||The given IRP was not an IRP-based IRP_MJ_CREATE operation.|
||An ECP list has already been attached to the given IRP.|
The FsRtlSetEcpListIntoIrp routine provides a mechanism for passing extra create parameters down the file system filter stack to underlying filter drivers.
To retrieve an ECP list that is associated with a given IRP_MJ_CREATE operation, use the FsRtlGetEcpListFromIrp routine.
|Windows version||FsRtlSetEcpListIntoIrp is available starting with Windows Vista.|
|Header||ntifs.h (include Ntifs.h)|