Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 89 of file readwrite.c.
{ TRACE_(FLOPPY, "ReadWrite called\n"); ASSERT(DeviceObject); ASSERT(Irp); if(!Irp->MdlAddress) { WARN_(FLOPPY, "ReadWrite(): MDL not found in IRP - Completing with STATUS_INVALID_PARAMETER\n"); Irp->IoStatus.Status = STATUS_INVALID_PARAMETER; Irp->IoStatus.Information = 0; IoCompleteRequest(Irp, IO_NO_INCREMENT); return STATUS_INVALID_PARAMETER; } /* * Queue the irp to the thread. * The de-queue thread will look in DriverContext[0] for the Device Object. */ Irp->Tail.Overlay.DriverContext[0] = DeviceObject; IoCsqInsertIrp(&Csq, Irp, NULL); return STATUS_PENDING; }