VirtualBox

Changeset 24438 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Nov 6, 2009 12:33:11 PM (15 years ago)
Author:
vboxsync
Message:

Wrong approach

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/SystemPropertiesImpl.cpp

    r24436 r24438  
    506506    switch (aBus)
    507507    {
     508        case StorageBus_IDE:
     509        {
     510            com::SafeArray<DeviceType_T> saDeviceTypes(2);
     511            saDeviceTypes[0] = DeviceType_DVD;
     512            saDeviceTypes[1] = DeviceType_HardDisk;
     513            saDeviceTypes.detachTo(ComSafeArrayOutArg(aDeviceTypes));
     514            break;
     515        }
    508516        case StorageBus_SATA:
    509         case StorageBus_IDE:
    510         {
    511             com::SafeArray<DeviceType_T> saDeviceTypes(1);
    512             saDeviceTypes[0] = DeviceType_HardDisk;
    513             saDeviceTypes.detachTo(ComSafeArrayOutArg(aDeviceTypes));
    514             break;
    515         }
    516517        case StorageBus_SCSI:
    517518        {
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