WdfRequestForwardToIoQueue() always inline EvtIo callbacks?

Will WdfRequestForwardToIoQueue() on a Parallel WDFQUEUE ever return
without calling the EvtIoYYY routines inline, if the WDFQUEUE is not
stopped? Or will it always call the EvtIoYYY in the current thread?

I’ll post my real problem in a different thread, I just want to know if my
inferences based on observed behavior are reasonably correct?

Thanks,

Phil
Philip D. Barila
Seagate Technology LLC
(720) 684-1842

If it is a power managed queue and powered down, then it can be presented later…but that is the functional equivalent of the queue being stopped. So, for a non power managed queue, the answer is yes it will show up in the same thread. There is a caveat though. When the device is being removed, the queue will be stopped/purged, so you must stop all threads which are attempting to enqueue into the queue before that happens (EvtDeviceSelfManagedIoCleanup is a perfect spot for this)

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@seagate.com
Sent: Tuesday, January 09, 2007 11:50 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] WdfRequestForwardToIoQueue() always inline EvtIo callbacks?

Will WdfRequestForwardToIoQueue() on a Parallel WDFQUEUE ever return without calling the EvtIoYYY routines inline, if the WDFQUEUE is not stopped? ?Or will it always call the EvtIoYYY in the current thread?
?
I’ll post my real problem in a different thread, I just want to know if my inferences based on observed behavior are reasonably correct?
?
Thanks,
?
Phil
Philip D. Barila
Seagate Technology LLC
(720) 684-1842
? — Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer