Hi all,
I am developing a class upper filter for webcam devices. It has to
wait for a event in read stream completion routine. I used
KsWaitForSingleObject() to wait and set time out is 0.1s.
However, I found that the read stream completion routine function is
called with DISPATCH_LEVEL in UVC device, and in PASSIVE_LEVEL in non-
UVC device. This results BSOD when calling KsWaitForSingleObject()
with UVC device.
So my question is: how can I wait for a event in filter driver for UVC
driver? What results the IRP level different?