USB services: Difference between revisions

No edit summary
Line 652: Line 652:
This is a 0x10-byte struct (unofficial name).
This is a 0x10-byte struct (unofficial name).


This is used to filter [[#UsbHsInterface]], the query commands will only return the interface when these checks pass. When a bit in Flags is set, the associated descriptor field and the field in this struct are compared, on mismatch the interface will be filtered out. Passing Flags=0 is equivalent to disabling filtering since none of these checks will run.
This is used to filter [[#UsbHsInterface]], the query commands will only return the interface when these checks pass. This is also used for events with [[#CreateInterfaceAvailableEvent]]. When a bit in Flags is set, the associated descriptor field and the field in this struct are compared, on mismatch the interface will be filtered out. Passing Flags=0 is equivalent to disabling filtering since none of these checks will run.


Flags bits 0..1 use usb_device_descriptor, while 7..9 use usb_interface_descriptor.
Flags bits 0..1 use usb_device_descriptor, while 7..9 use usb_interface_descriptor.