Article ID: 179254
Article Last Modified on 5/24/2004
IoStartPacket(dvcObj, Irp)
{
if (dvcObj->DeviceQueue.Busy) {
insert IRP on device queue
} else {
dvcObj->DeviceQueue.Busy = TRUE;
dvcObj->CurrentIrp = Irp;
call StartIo routine (dvcObj, newIrp);
}
}
IoStartNextPacket(dvcObj)
{
dvcObj->CurrentIrp = NULL;
remove IRP from head of queue, store addr in newIrp
if (queue was empty) {
dvcObj->DeviceQueue.Busy = FALSE;
} else {
dvcObj->CurrentIrp = newIrp;
call StartIo routine (dvcObj, newIrp);
}
}
Keywords: kbinfo kbcode KB179254