Changeset 8539 in vbox for trunk/include
- Timestamp:
- May 2, 2008 5:02:10 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/usb.h
r8155 r8539 34 34 35 35 __BEGIN_DECLS 36 37 #ifdef USBDEVICE_WITH_EVERYTHING 36 38 37 39 /** … … 124 126 typedef const USBCONFIG *PCUSBCONFIG; 125 127 128 #endif /* USBDEVICE_WITH_EVERYTHING */ 129 126 130 127 131 /** … … 173 177 typedef struct USBDEVICE 174 178 { 179 /** If linked, this is the pointer to the next device in the list. */ 180 struct USBDEVICE *pNext; 181 /** If linked doubly, this is the pointer to the prev device in the list. */ 182 struct USBDEVICE *pPrev; 183 /** Manufacturer string. */ 184 const char *pszManufacturer; 185 /** Product string. */ 186 const char *pszProduct; 187 /** Serial number string. */ 188 const char *pszSerialNumber; 189 /** The address of the device. */ 190 const char *pszAddress; 191 192 /** Vendor ID. */ 193 uint16_t idVendor; 194 /** Product ID. */ 195 uint16_t idProduct; 196 /** Revision, integer part. */ 197 uint16_t bcdDevice; 175 198 /** USB version number. */ 176 199 uint16_t bcdUSB; … … 181 204 /** Device protocol */ 182 205 uint8_t bDeviceProtocol; 183 /** Vendor ID. */184 uint16_t idVendor;185 /** Product ID. */186 uint16_t idProduct;187 /** Revision, integer part. */188 uint16_t bcdDevice;189 /** Manufacturer string. */190 const char *pszManufacturer;191 /** Product string. */192 const char *pszProduct;193 /** Serial number string. */194 const char *pszSerialNumber;195 /** Serial hash. */196 uint64_t u64SerialHash;197 206 /** Number of configurations. */ 198 207 uint8_t bNumConfigurations; 199 /** Pointer to an array of configurations. */200 PUSBCONFIG paConfigurations;201 208 /** The device state. */ 202 209 USBDEVICESTATE enmState; 203 210 /** The device speed. */ 204 211 USBDEVICESPEED enmSpeed; 205 /** The address of the device. */ 206 const char *pszAddress; 207 212 /** Serial hash. */ 213 uint64_t u64SerialHash; 208 214 /** The USB Bus number. */ 209 215 uint8_t bBus; 216 /** The port number. */ 217 uint8_t bPort; 218 #if defined(RT_OS_LINUX) 219 /** Device number. */ 220 uint8_t bDevNum; 221 #endif 222 #ifdef USBDEVICE_WITH_EVERYTHING 223 /** Parent device number. */ 224 uint8_t bDevNumParent; 210 225 /** The level in topologly for this bus. */ 211 226 uint8_t bLevel; 212 /** Device number. */213 uint8_t bDevNum;214 /** Parent device number. */215 uint8_t bDevNumParent;216 /** The port number. */217 uint8_t bPort;218 227 /** Number of devices on this level. */ 219 228 uint8_t bNumDevices; 220 229 /** Maximum number of children. */ 221 230 uint8_t bMaxChildren; 222 223 /** If linked, this is the pointer to the next device in the list. */ 224 struct USBDEVICE *pNext; 225 /** If linked doubly, this is the pointer to the prev device in the list. */ 226 struct USBDEVICE *pPrev; 231 /** Pointer to an array of configurations. */ 232 PUSBCONFIG paConfigurations; 233 #endif 227 234 } USBDEVICE; 228 235 /** Pointer to a USB device. */
Note:
See TracChangeset
for help on using the changeset viewer.