Changeset 33540 in vbox for trunk/src/VBox/HostDrivers/VBoxUSB/os2/usbcalls.c
- Timestamp:
- Oct 28, 2010 9:27:05 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxUSB/os2/usbcalls.c
r31896 r33540 53 53 54 54 #define IOCAT_USBRES 0x000000A0 /* USB Resource device control */ 55 #define IOCTLF_NUMDEVICE 0x00000031 /* Get Number of plug ed in Devices */55 #define IOCTLF_NUMDEVICE 0x00000031 /* Get Number of plugged in Devices */ 56 56 #define IOCTLF_GETINFO 0x00000032 /* Get Info About a device */ 57 57 #define IOCTLF_AQUIREDEVICE 0x00000033 … … 123 123 USHORT usProductID; 124 124 USHORT usBCDDevice; 125 USHORT usDeviceNumber; /* Get the usDeviceNumber device in the system fi. if 2 a quire the 2nd device126 0 means first not a quired device. */125 USHORT usDeviceNumber; /* Get the usDeviceNumber device in the system fi. if 2 acquire the 2nd device 126 0 means first not acquired device. */ 127 127 } AQUIREDEV, *PAQUIREDEV; 128 128 … … 164 164 typedef struct 165 165 { 166 ULONG hSemAccess; /* Sync ronise access to the Pos values */166 ULONG hSemAccess; /* Synchronise access to the Pos values */ 167 167 ULONG hDevice; 168 168 USHORT usPosWrite; … … 275 275 { 276 276 pIter->hDevice = 0; 277 pIter->hSemAccess = 0; /* Sync ronise access to the Pos values */277 pIter->hSemAccess = 0; /* Synchronise access to the Pos values */ 278 278 pIter->usPosWrite = 0; 279 279 pIter->usPosRead = 0; … … 672 672 pHandle, ulDataLen, &ulDataLen); 673 673 674 /* @@ ToDO maybe gether some info about device here (endpoints etc for sa vety checks) */674 /* @@ ToDO maybe gether some info about device here (endpoints etc for safety checks) */ 675 675 return rc; 676 676 … … 821 821 if (BulkRequest.usDataProcessed != ulDataLen) 822 822 { 823 /* Transfer ed less than we wanted? so something is wrong,823 /* Transferred less than we wanted? so something is wrong, 824 824 or device doesn't wish to send more, exit loop */ 825 825 rc = USB_ERROR_LESSTRANSFERED;
Note:
See TracChangeset
for help on using the changeset viewer.