Changes

196 bytes added ,  01:24, 12 April 2015
→‎0x11 - UhsQueryInterfaces(): More detail in input struct
Line 7: Line 7:  
<syntaxhighlight lang="C">
 
<syntaxhighlight lang="C">
 
/* Determines which parameters to check */
 
/* Determines which parameters to check */
#define MATCH_CLASS    0x10
+
#define MATCH_DEV_CLASS    0x10
#define MATCH_CLASS2    0x80
+
#define MATCH_IF_CLASS    0x80
    
/* Input buffer */
 
/* Input buffer */
Line 14: Line 14:  
{
 
{
 
     uint16_t match_params;    /* Bitmask of above flags */
 
     uint16_t match_params;    /* Bitmask of above flags */
     char unknown2[0xa - 0x2];
+
     char unknown2[0xa - 0x2]; /* VID and PID presumably here somewhere */
     uint8_t class;             /* USB device class */
+
     uint8_t dev_class;         /* Device class */
     char unknownb[0xd - 0xb];
+
     uint8_t dev_subclass;     /* Device subclass */
     uint8_t class2;           /* USB device class again? */
+
     uint8_t dev_protocol;     /* Device protocol */
     char unknowne[0x10 - 0xe];  
+
    uint8_t if_class;          /* Interface class */
 +
     uint8_t if_subclass;       /* Interface subclass */
 +
    uint8_t if_protocol;      /* Interface protocol */
 
} UhsInterfaceFilter;
 
} UhsInterfaceFilter;
 
</syntaxhighlight>
 
</syntaxhighlight>
203

edits