I am writing a KMDF driver that needs to intercept every IRP before it passes to the ioQueue.
I have a callback function registered PreprocessIrpCallback and want to hook it into the framework like this
status = WdfDeviceInitAssignWdmIrpPreprocessCallback(DeviceInit
, PreprocessIrpCallback
, ?
, ?);
But what goes in the question marks if I want to intercept every single IRP?