IoCleanupIrp

VOID __stdcall IoCleanupIrp(_IRP *Irp){
  bool v1; 

  if( Irp->Type != 6 )
    KeBugCheckEx(0x44u, Irp, (PVOID)0x257C, 0i64, 0i64);
  v1 = (Irp->AllocationFlags & 0x40) == 0;
  Irp->Type = 0;
  if( !v1 )
    IopFreeIrpExtension(Irp, IopAllExtensions, 1u);
}

Referenced by:

No references.