Accessing device queue RRS feed

  • Question

  • In my KMDF bus driver, I have attached a child PDO to the bus. In the InternalDeviceControl callback of the child PDO, I am forwarding the Internal IO control request to one of the queues of the parent bus using WdfRequestForwardToParentDeviceIoQueue() method. This works fine. Now, before forwarding this request, I need to check if any requests are already queued/available in that parent queue. But it looks like this is not possible using WdfIoQueueFindRequest() method. ie. the child PDO cannot search the parent bus driver's queue using WdfIoQueueFindRequest(). I am not sure if it is appropriate to do this. But is there any method for searching a parent bus driver's queue from a child PDO?
    Monday, September 29, 2014 6:16 PM

All replies

  • why do you need to check the state of the queue? What bigger problem are you trying to solve?

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Monday, September 29, 2014 6:57 PM