From: Daniel Hickey [dhickey@bluekite.com] Sent: Sunday, January 30, 2000 10:32 PM To: 'ntdev@atria.com' Subject: RE: [ntdev] Driver queuing of IRP's and pending >> I am using driver queuing of the IRP's to an internal linked list. >>Peter Viscarola's book says to return pending status and to mark the >>IRP pending. What is not said is what to do about the IRP when I >>dequeue it and send it off to the port driver. >> >> Suggestions? >> >I guess Peter must have left out the step where you use IoCallDriver to >send the dequeued IRP from your driver to the driver below you. Unless >you are interested in what the driver below you did with the IRP, that >is all you have to do. If you do want to know what happened, then you >set a completion handler so that you can look at the IRP after it is >completed by the lower driver. > > = >Mark Roddy To be more correct the driver does setup the IRP for an IO completion routine and does an IoCallDriver() to the port driver. In my testing of the driver in total passthru mode it seems to work correctly. I do not call IoMarkIrpPending() before straight passthru via IoCallDriver(). Maybe I should tho. Dan Hickey BlueKite.com - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [ To unsubscribe, send email to ntdev-request@atria.com with body UNSUBSCRIBE (the subject is ignored). ]