VOID
IoFreeIrp(
IN PIRP Irp
);
IoFreeIrp releases a caller-allocated IRP from the caller's IoCompletion routine.
Parameters
Irp
Points to the IRP that is to be released.
Comments
This routine is the reciprocal to IoAllocateIrp or IoBuildAsynchronousFsdRequest. The released IRP must have been allocated by the caller.
This routine also releases an IRP allocated with IoMakeAssociatedIrp in which the caller set up its IoCompletion routine that returns STATUS_MORE_PROCESSING_REQUIRED for the associated IRP.
Callers of IoFreeIrp must be running at IRQL <= DISPATCH_LEVEL.
See Also
IoAllocateIrp, IoBuildAsynchronousFsdRequest, IoMakeAssociatedIrp, IoSetCompletionRoutine