Can't find request in queue after WdfRequestForwardToIoQueue

Hi,
I have 2 requests, one is the parent of the second, let’s call them org request(parent) and sub request(child).
I put the first request in the queue using WdfRequestForwardToIoQueue and than send the sub-request to an IO-Target.
I set a completion routine to the sub-request before sending it.
On some use-cases I need to take out the org request from the queue on the completion routine.
My problem is that I can’t find it there.
Can’t understand how it could be happened, the WdfRequestForwardToIoQueue passed successfully.
Thanks, C.S

If you haven’t taken it off the Queue manually, and you haven’t been called with it at any of the Queue-related Event Processing Callbacks and “disposed” of it in some way, then the ONLY way it could be removed from the Queue is by cancel.

Could the Request have been canceled while it was on your Queue?

Peter
OSR
@OSRDrivers

xxxxx@intel.com wrote:

I have 2 requests, one is the parent of the second, let’s call them org request(parent) and sub request(child).
I put the first request in the queue using WdfRequestForwardToIoQueue and than send the sub-request to an IO-Target.

Are you sending it to a manual queue?

I set a completion routine to the sub-request before sending it.
On some use-cases I need to take out the org request from the queue on the completion routine.
My problem is that I can’t find it there.

How are you searching?


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

…and finally, what does !wdfkd.wdfqueue say?

Peter
OSR
@OSRDrivers