I’m seeing a similar issue. Glen can you please explain this.
I’ve put in the WdfDeviceInitAssignWdmIrpPreprocessCallback routine but
not sure how to handle it there.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@microsoft.com
Sent: Friday, April 23, 2010 10:31 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] usbaudio/usbvideo and the usb hub driver.
You will need to implement multiple versions of the interface. Due to
the way this USB interface is defined with different sizes for the
different versions of the interface you will need to register an Irp
Preprocess Callback (WdfDeviceInitAssignWdmIrpPreprocessCallback) to
handle this correctly in your WDF driver.
I haven’t looked into the full details of this myself, but it appears that doing something like the following in the Preprocess Callback for USB_BUS_INTERFACE_USBDI_GUID does something to work around an issue with supporting multiple versions of the interface. This comes with no guarantees that it will correctly help solve your issue.