// wdm.h
VOID IoReuseIrp(
[in, out] PIRP Irp,
[in] NTSTATUS Iostatus
);
View the official Windows Driver Kit DDI reference
No description available.
The IoReuseIrp routine reinitializes an IRP so that it can be reused.
Irp
[in, out]Pointer to the IRP to be reinitialized for reuse.
Iostatus
[in]Specifies the NTSTATUS value to be set in the IRP after it is reinitialized.
Drivers for Windows 2000 and later versions of Windows use IoReuseIrp to reuse an IRP.
A driver should use IoReuseIrp only on IRPs it previously allocated either as raw memory or with IoAllocateIrp. In particular, drivers should not use this routine for IRPs created with IoMakeAssociatedIrp, IoBuildSynchronousFsdRequest, IoBuildAsynchronousFsdRequest, or IoBuildDeviceIoControlRequest.
See Reusing IRPs for more details on how to reuse IRPs.