Hi,
I am currently using bulkusb.sys with my usb device. I
now want to make a capture driver to use it with
DirectShow. The documentation says developers of new
devices should start with avstream, however there is no
documentation on making an avstream usb device. I've
tried to take parts of the bulkusb sample, namely the way
it creates/attaches the device and selects the interface,
and use them in the avshws avstream sample, but without
success. When I try to pass an IRP down to USBD by
calling IOCallDriver it appears to be calling my driver
instead and it crashes. It's as if I'm not attached to
the USB driver stack.
All this makes me wonder if I'm even starting out the
right way. The only other way I can think of doing this
is sending URB's from avshws directly to bulkusb to get
samples from my usb device, but how would I do this?
So, what is the correct way to develop a USB capture
driver based on AVSTREAM?
Thanks,
Tom