Line 3:
Line 3:
==ioctl() interface==
==ioctl() interface==
===0x11 - UhsQueryInterfaces()===
===0x11 - UhsQueryInterfaces()===
−
This function is used to determine which USB device interfaces are plugged in and available. Its input is a [[#Interface Filter|0x10-byte buffer]] containing a series of parameters to filter the interfaces by, such as class, subclass, vendor ID, and product ID. The output is an array of [[#Interface Profile|0x16c-byte interface profiles]], one for each interface being read. IOS_Ioctl() with this function returns the number of attached USB interfaces permitted by the filter.
+
This function is used to determine which USB device interfaces are plugged in and available. Its input is an [[#Interface Filter|interface filter buffer]] containing a series of parameters to filter the interfaces by, such as class, subclass, vendor ID, and product ID. The output is an array of [[#Interface Profile|interface profiles]], one for each interface being read. IOS_Ioctl() with this function returns the number of attached USB interfaces permitted by the filter.
==Structures==
==Structures==