Source code of Windows XP (NT5)
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

  1. #define REQ_FUNCTION_HUB_READCHANGEPIPE 0x000B
  2. // raw packet can be used for sending a USB setup
  3. // packet down to the device from the app.
  4. #define REQ_FUNCTION_ORAW_PACKET 0x00F1
  5. struct _REQ_READ_HUBCHANGEPIPE {
  6. struct _REQ_HEADER Hdr;
  7. PVOID pvBuffer;
  8. };
  9. struct _REQ_SEND_ORAWPACKET {
  10. struct _REQ_HEADER Hdr;
  11. PVOID pvBuffer;
  12. USHORT wIndex;
  13. USHORT wLength;
  14. USHORT wValue;
  15. UCHAR bmRequestType;
  16. UCHAR bRequest;
  17. };
  18. /*
  19. struct _REQ_SEND_ORAWPACKET {
  20. struct _REQ_HEADER Hdr;
  21. PVOID pvBuffer;
  22. char Setup[8] ;
  23. };
  24. */