Export (0) Print
Expand All
Expand Minimize

IoSetTopLevelIrp routine

The IoSetTopLevelIrp routine sets the value of the TopLevelIrp field of the current thread.

Syntax


VOID IoSetTopLevelIrp(
  _In_opt_  PIRP Irp
);

Parameters

Irp [in, optional]

I/O request packet (IRP) pointer to be stored in the TopLevelIrp field of the current thread.

Return value

None

Remarks

IoSetTopLevelIrp sets the value of the TopLevelIrp field in the thread object for the current thread. This value can be NULL, a pointer to the current IRP, or an FSRTL flag. For more information about these values and what they mean, see the reference entry for IoGetTopLevelIrp.

Only file systems can call IoSetTopLevelIrp. File system filters and minifilters cannot safely call this routine, because doing so can cause deadlocks.

Requirements

Header

Ntifs.h (include Ntifs.h)

Library

Ntoskrnl.lib

IRQL

<= DISPATCH_LEVEL

See also

IoGetTopLevelIrp

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft