Line 59:
Line 59:
| 12 (ioctlv) || USBV0_IOCTL_GETDEVLIST || 2 || 2 || Both
| 12 (ioctlv) || USBV0_IOCTL_GETDEVLIST || 2 || 2 || Both
|
|
+
Returns a list of connected devices matching an interface class.
+
+
<source lang="c">
+
struct Descriptor
+
{
+
u32 unknown;
+
u16 vid;
+
u16 pid;
+
};
+
// sizeof(Descriptor) = 8
+
</source>
+
* in 0: u8 - number of descriptors to return
* in 0: u8 - number of descriptors to return
* in 1: u8 - interface class
* in 1: u8 - interface class