Queue Ready Notification RRS feed

  • Question

  • I was taking a look at the WdfIOQueueReadyNotify() callback. I am using this method in my KMDF driver, whenever a request is forwarded to a queue. I would like to know how I can use the Context parameter of this callback? How is it related to the EvtIoQueueState method? What all info can one get from the Context parameter when WdfIoQueueNotify is invoked.  Can someone please explain a bit with an example?
    Monday, March 21, 2016 8:31 PM


  • You supply the Context parameter, so for instance you could use the WDFDEVICE's context or any other context you wish.  Whatever Context you pass in will be passed to EvtIoQueueState for your use.  So you can use whatever info the Context type you pass provides.

    Don Burn Windows Driver Consulting Website:

    Monday, March 21, 2016 10:32 PM