VirtualBox

Ignore:
Timestamp:
May 9, 2007 4:38:24 PM (18 years ago)
Author:
vboxsync
Message:

Main & All Frontends: replaced the IGuestOSType IMachine::OSType property with the wstring IMachine::OSTypeId property (+ converted IGuest and IGuestOSType to VirtualBoxBaseNEXT semantics).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp

    r2519 r2567  
    704704    RTPrintf("Name:            %lS\n", machineName.raw());
    705705
     706    Bstr osTypeId;
     707    rc = machine->COMGETTER(OSTypeId)(osTypeId.asOutParam());
    706708    ComPtr<IGuestOSType> osType;
     709    rc = virtualBox->GetGuestOSType (osTypeId, osType.asOutParam());
    707710    Bstr osName;
    708     rc = machine->COMGETTER(OSType)(osType.asOutParam());
    709711    rc = osType->COMGETTER(Description)(osName.asOutParam());
    710712    RTPrintf("Guest OS:        %lS\n", osName.raw());
     
    31963198        {
    31973199            ComPtr<IGuestOSType> guestOSType;
    3198             CHECK_ERROR(virtualBox, FindGuestOSType(ostype, guestOSType.asOutParam()));
     3200            CHECK_ERROR(virtualBox, GetGuestOSType(ostype, guestOSType.asOutParam()));
    31993201            if (SUCCEEDED(rc) && guestOSType)
    32003202            {
    3201                 CHECK_ERROR(machine, COMSETTER(OSType)(guestOSType));
     3203                CHECK_ERROR(machine, COMSETTER(OSTypeId)(ostype));
    32023204            }
    32033205            else
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