The FsRtlGetEcpListFromIrp routine returns a pointer to an extra create parameter (ECP) context structure list that is associated with a given IRP_MJ_CREATE operation.
NTKERNELAPI NTSTATUS FsRtlGetEcpListFromIrp( PIRP Irp, PECP_LIST *EcpList );
A pointer to the IRP for an IRP_MJ_CREATE operation from which the ECP context structure list is to be extracted.
Receives a pointer to the ECP context structure list that is associated with the IRP.
FsRtlGetEcpListFromIrp returns STATUS_SUCCESS or an appropriate error status representing the final completion status of the operation. Possible error status codes include the following:
||The given IRP was not an IRP-based IRP_MJ_CREATE operation. In this case, EcpList is undefined.|
To attach an ECP context structure list to an IRP, use the FsRtlSetEcpListIntoIrp routine.
|Windows version||Available in Windows Vista and later versions of the Windows operating systems.|
|Header||ntifs.h (include Ntifs.h)|