Line 18:
Line 18:
typedef struct
typedef struct
{
{
−
uint16_t match_params; /* Bitmask of above flags */
+
uint16_t match_params; /* Bitmask of above flags */
−
char unknown2[0xa - 0x2]; /* VID and PID presumably here somewhere */
+
uint16_t vid, pid; /* Vendor ID and product ID */
−
uint8_t dev_class; /* Device class */
+
char unknown6[0xa - 0x6];
−
uint8_t dev_subclass; /* Device subclass */
+
uint8_t dev_class; /* Device class */
−
uint8_t dev_protocol; /* Device protocol */
+
uint8_t dev_subclass; /* Device subclass */
−
uint8_t if_class; /* Interface class */
+
uint8_t dev_protocol; /* Device protocol */
−
uint8_t if_subclass; /* Interface subclass */
+
uint8_t if_class; /* Interface class */
−
uint8_t if_protocol; /* Interface protocol */
+
uint8_t if_subclass; /* Interface subclass */
+
uint8_t if_protocol; /* Interface protocol */
} UhsInterfaceFilter;
} UhsInterfaceFilter;
</syntaxhighlight>
</syntaxhighlight>