none
Getting request type from WDFREQUEST in callback functions RRS feed

  • Question

  • I am aware that if a KMDF driver can catch all i/o requests if the driver has registered for default io callback (

    EVT_WDF_IO_QUEUE_IO_DEFAULT) when creating the queue. In this case, in the default IO callback, is there anyway, I can get for what type of request, the default callback was called? ie. is there anyway we can get the

    WDF_REQUEST_TYPE from the Request paramater of EVT_WDF_IO_QUEUE_IO_DEFAULT callback? I am awae that this is possible in IOCompletion routine.

    Tuesday, February 11, 2014 9:42 AM

Answers

  • Use WdfRequestGetParamters passing in the request the output structure contains the WdfRequestType.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    Tuesday, February 11, 2014 12:16 PM