Changeset 6591 in vbox for trunk/include
- Timestamp:
- Jan 30, 2008 9:34:31 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/usblib-win.h
r6476 r6591 77 77 #define USBMON_MINOR_VERSION 1 78 78 79 #define USBDRV_MAJOR_VERSION 180 #define USBDRV_MINOR_VERSION 279 #define USBDRV_MAJOR_VERSION 2 80 #define USBDRV_MINOR_VERSION 0 81 81 82 82 #define SUPUSB_IOCTL_TEST CTL_CODE(FILE_DEVICE_UNKNOWN, 0x601, METHOD_BUFFERED, FILE_WRITE_ACCESS) … … 209 209 } USBSUP_ERROR; 210 210 211 typedef struct 212 { 213 USBSUP_TRANSFER_TYPE type; /* [in] QUSB_TRANSFER_TYPE_XXX */ 214 uint32_t ep; /* [in] index to dev->pipe */ 215 USBSUP_DIRECTION dir; /* [in] QUSB_DIRECTION_XXX */ 216 uint32_t error; /* [out] QUSB_XFER_XXX */ 217 size_t len; /* [in/out] may change */ 218 void *buf; /* [in/out] depends on dir */ 211 typedef struct USBSUP_ISOCPKT 212 { 213 uint16_t cb; /* [in/out] packet size/size transferred */ 214 uint16_t off; /* [in] offset of packet in buffer */ 215 USBSUP_ERROR stat; /* [out] packet status */ 216 } USBSUP_ISOCPKT; 217 218 typedef struct 219 { 220 USBSUP_TRANSFER_TYPE type; /* [in] QUSB_TRANSFER_TYPE_XXX */ 221 uint32_t ep; /* [in] index to dev->pipe */ 222 USBSUP_DIRECTION dir; /* [in] QUSB_DIRECTION_XXX */ 223 USBSUP_ERROR error; /* [out] QUSB_XFER_XXX */ 224 size_t len; /* [in/out] may change */ 225 void *buf; /* [in/out] depends on dir */ 226 uint32_t numIsoPkts; /* [in] number of isochronous packets (8 max) */ 227 USBSUP_ISOCPKT aIsoPkts[8]; /* [in/out] isochronous packet descriptors */ 219 228 } USBSUP_URB, *PUSBSUP_URB; 220 229
Note:
See TracChangeset
for help on using the changeset viewer.