VirtualBox

Ignore:
Timestamp:
Oct 14, 2010 4:20:15 PM (14 years ago)
Author:
vboxsync
Message:

Main: have Machine::MountMedium() behave like AttachDevice (use IMedium* pointer instead of UUID); add missing saveSettings calls there

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/testcase/tstVBoxAPILinux.cpp

    r31615 r33140  
    363363         * Now assign it to our VM
    364364         */
    365         nsXPIDLString isoUUID;
    366         dvdImage->GetId(getter_Copies(isoUUID));
    367365        rc = machine->MountMedium(NS_LITERAL_STRING("IDE Controller").get(), // controller identifier
    368366                                  2,                              // channel number on the controller
    369367                                  0,                              // device number on the controller
    370                                   isoUUID,
     368                                  dvdImage,
    371369                                  PR_FALSE);                      // aForce
    372370        if (NS_FAILED(rc))
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