- Timestamp:
- Jun 26, 2019 3:25:43 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 131596
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageControlVM.cpp
r78995 r79363 1649 1649 else 1650 1650 uuid = Guid().toString(); 1651 CHECK_ERROR( machine, MountMedium(Bstr("IDE Controller"), 1, 0, uuid, FALSE /* aForce */));1651 CHECK_ERROR(sessionMachine, MountMedium(Bstr("IDE Controller"), 1, 0, uuid, FALSE /* aForce */)); 1652 1652 } 1653 1653 else if (!strcmp(a->argv[1], "floppyattach")) … … 1705 1705 } 1706 1706 floppyMedium->COMGETTER(Id)(uuid.asOutParam()); 1707 CHECK_ERROR( machine, MountMedium(Bstr("Floppy Controller"), 0, 0, uuid, FALSE /* aForce */));1707 CHECK_ERROR(sessionMachine, MountMedium(Bstr("Floppy Controller"), 0, 0, uuid, FALSE /* aForce */)); 1708 1708 } 1709 1709 #endif /* obsolete dvdattach/floppyattach */ … … 1855 1855 } 1856 1856 #ifdef VBOX_WITH_RECORDING 1857 else if (!strcmp(a->argv[1], "recording")) 1857 else if ( !strcmp(a->argv[1], "recording") 1858 || !strcmp(a->argv[1], "videocap") /* legacy command */) 1858 1859 { 1859 1860 if (a->argc < 3) … … 1865 1866 1866 1867 ComPtr<IRecordingSettings> recordingSettings; 1867 CHECK_ERROR_BREAK( machine, COMGETTER(RecordingSettings)(recordingSettings.asOutParam()));1868 CHECK_ERROR_BREAK(sessionMachine, COMGETTER(RecordingSettings)(recordingSettings.asOutParam())); 1868 1869 1869 1870 SafeIfaceArray <IRecordingScreenSettings> saRecordingScreenScreens; … … 1887 1888 { 1888 1889 ULONG cMonitors = 64; 1889 CHECK_ERROR_BREAK( machine, COMGETTER(MonitorCount)(&cMonitors));1890 CHECK_ERROR_BREAK(sessionMachine, COMGETTER(MonitorCount)(&cMonitors)); 1890 1891 com::SafeArray<BOOL> saScreens(cMonitors); 1891 1892 if ( a->argc == 4
Note:
See TracChangeset
for help on using the changeset viewer.