Changeset 59687 in vbox for trunk/include/VBox
- Timestamp:
- Feb 15, 2016 6:52:31 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 105544
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vusb.h
r58124 r59687 524 524 } VUSBDIRECTION; 525 525 526 /** 527 * VUSB Transfer types. 528 */ 529 typedef enum VUSBXFERTYPE 530 { 531 /** Control message. Used to represent a single control transfer. */ 532 VUSBXFERTYPE_CTRL = 0, 533 /* Isochronous transfer. */ 534 VUSBXFERTYPE_ISOC, 535 /** Bulk transfer. */ 536 VUSBXFERTYPE_BULK, 537 /** Interrupt transfer. */ 538 VUSBXFERTYPE_INTR, 539 /** Complete control message. Used to represent an entire control message. */ 540 VUSBXFERTYPE_MSG, 541 /** Invalid transfer type. */ 542 VUSBXFERTYPE_INVALID = 0x7f 543 } VUSBXFERTYPE; 526 544 527 545 /** Pointer to a VBox USB device interface. */ … … 651 669 * @param pInterface Pointer to this struct. 652 670 * @param DstAddress The destination address of the URB. 671 * @param enmType Type of the URB. 672 * @param enmDir Data transfer direction. 653 673 * @param cbData The amount of data space required. 654 674 * @param cTds The amount of TD space. 655 */ 656 DECLR3CALLBACKMEMBER(PVUSBURB, pfnNewUrb,(PVUSBIROOTHUBCONNECTOR pInterface, uint8_t DstAddress, uint32_t cbData, uint32_t cTds)); 675 * @param pszTag Custom URB tag assigned by the caller, only for 676 * logged builds and optional. 677 */ 678 DECLR3CALLBACKMEMBER(PVUSBURB, pfnNewUrb,(PVUSBIROOTHUBCONNECTOR pInterface, uint8_t DstAddress, VUSBXFERTYPE enmType, 679 VUSBDIRECTION enmDir, uint32_t cbData, uint32_t cTds, const char *pszTag)); 657 680 658 681 /** … … 740 763 } VUSBIROOTHUBCONNECTOR; 741 764 /** VUSBIROOTHUBCONNECTOR interface ID. */ 742 #define VUSBIROOTHUBCONNECTOR_IID "d 9a90c59-e3ff-4dff-9754-844557c3f7a1"765 #define VUSBIROOTHUBCONNECTOR_IID "dba1a54e-9708-4702-8d7f-b9ac94dc17e6" 743 766 744 767 745 768 #ifdef IN_RING3 746 769 /** @copydoc VUSBIROOTHUBCONNECTOR::pfnNewUrb */ 747 DECLINLINE(PVUSBURB) VUSBIRhNewUrb(PVUSBIROOTHUBCONNECTOR pInterface, uint32_t DstAddress, uint32_t cbData, uint32_t cTds) 748 { 749 return pInterface->pfnNewUrb(pInterface, DstAddress, cbData, cTds); 770 DECLINLINE(PVUSBURB) VUSBIRhNewUrb(PVUSBIROOTHUBCONNECTOR pInterface, uint32_t DstAddress, VUSBXFERTYPE enmType, 771 VUSBDIRECTION enmDir, uint32_t cbData, uint32_t cTds, const char *pszTag) 772 { 773 return pInterface->pfnNewUrb(pInterface, DstAddress, enmType, enmDir, cbData, cTds, pszTag); 750 774 } 751 775 … … 1013 1037 VUSBSTATUS_INVALID = 0x7f 1014 1038 } VUSBSTATUS; 1015 1016 1017 /**1018 * VUSB Transfer types.1019 */1020 typedef enum VUSBXFERTYPE1021 {1022 /** Control message. Used to represent a single control transfer. */1023 VUSBXFERTYPE_CTRL = 0,1024 /* Isochronous transfer. */1025 VUSBXFERTYPE_ISOC,1026 /** Bulk transfer. */1027 VUSBXFERTYPE_BULK,1028 /** Interrupt transfer. */1029 VUSBXFERTYPE_INTR,1030 /** Complete control message. Used to represent an entire control message. */1031 VUSBXFERTYPE_MSG,1032 /** Invalid transfer type. */1033 VUSBXFERTYPE_INVALID = 0x7f1034 } VUSBXFERTYPE;1035 1039 1036 1040
Note:
See TracChangeset
for help on using the changeset viewer.