mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
609 B
31 lines
609 B
#define REQ_FUNCTION_HUB_READCHANGEPIPE 0x000B
|
|
|
|
// raw packet can be used for sending a USB setup
|
|
// packet down to the device from the app.
|
|
#define REQ_FUNCTION_ORAW_PACKET 0x00F1
|
|
|
|
struct _REQ_READ_HUBCHANGEPIPE {
|
|
struct _REQ_HEADER Hdr;
|
|
PVOID pvBuffer;
|
|
};
|
|
|
|
|
|
|
|
struct _REQ_SEND_ORAWPACKET {
|
|
struct _REQ_HEADER Hdr;
|
|
PVOID pvBuffer;
|
|
USHORT wIndex;
|
|
USHORT wLength;
|
|
USHORT wValue;
|
|
UCHAR bmRequestType;
|
|
UCHAR bRequest;
|
|
};
|
|
|
|
/*
|
|
struct _REQ_SEND_ORAWPACKET {
|
|
struct _REQ_HEADER Hdr;
|
|
PVOID pvBuffer;
|
|
char Setup[8] ;
|
|
};
|
|
*/
|
|
|