VirtualBox

Ignore:
Timestamp:
Oct 28, 2010 9:27:05 AM (14 years ago)
Author:
vboxsync
Message:

*: spelling fixes, thanks Timeless!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxUSB/os2/usbcalls.c

    r31896 r33540  
    5353
    5454#define  IOCAT_USBRES            0x000000A0  /* USB Resource device control */
    55 #define  IOCTLF_NUMDEVICE        0x00000031  /* Get Number of pluged in Devices */
     55#define  IOCTLF_NUMDEVICE        0x00000031  /* Get Number of plugged in Devices */
    5656#define  IOCTLF_GETINFO          0x00000032  /* Get Info About a device */
    5757#define  IOCTLF_AQUIREDEVICE     0x00000033
     
    123123  USHORT usProductID;
    124124  USHORT usBCDDevice;
    125   USHORT usDeviceNumber; /* Get the usDeviceNumber device in the system fi. if 2 aquire the 2nd device
    126                             0 means first not aquired 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. */
    127127} AQUIREDEV, *PAQUIREDEV;
    128128
     
    164164typedef struct
    165165{
    166   ULONG  hSemAccess;        /* Syncronise access to the Pos values */
     166  ULONG  hSemAccess;        /* Synchronise access to the Pos values */
    167167  ULONG  hDevice;
    168168  USHORT usPosWrite;
     
    275275      {
    276276        pIter->hDevice        = 0;
    277         pIter->hSemAccess     = 0;      /* Syncronise access to the Pos values */
     277        pIter->hSemAccess     = 0;      /* Synchronise access to the Pos values */
    278278        pIter->usPosWrite     = 0;
    279279        pIter->usPosRead      = 0;
     
    672672                    pHandle, ulDataLen, &ulDataLen);
    673673
    674   /* @@ ToDO maybe gether some info about device here (endpoints etc for savety checks) */
     674  /* @@ ToDO maybe gether some info about device here (endpoints etc for safety checks) */
    675675  return rc;
    676676
     
    821821    if (BulkRequest.usDataProcessed != ulDataLen)
    822822    {
    823       /* Transfered less than we wanted? so something is wrong,
     823      /* Transferred less than we wanted? so something is wrong,
    824824         or device doesn't wish to send more, exit loop */
    825825      rc = USB_ERROR_LESSTRANSFERED;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette