Changeset 17737 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Mar 12, 2009 12:20:25 PM (16 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r17684 r17737 1396 1396 1397 1397 com::SafeIfaceArray <IMachine> machines; 1398 CHECK_ERROR_BREAK(virtualBox, COMGETTER(Machines 2)(ComSafeArrayAsOutParam (machines)));1398 CHECK_ERROR_BREAK(virtualBox, COMGETTER(Machines)(ComSafeArrayAsOutParam (machines))); 1399 1399 1400 1400 for (size_t i = 0; i < machines.size(); ++ i) -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageList.cpp
r17713 r17737 179 179 */ 180 180 com::SafeIfaceArray <IMachine> machines; 181 rc = a->virtualBox->COMGETTER(Machines 2)(ComSafeArrayAsOutParam (machines));181 rc = a->virtualBox->COMGETTER(Machines)(ComSafeArrayAsOutParam (machines)); 182 182 if (SUCCEEDED(rc)) 183 183 { … … 187 187 for (size_t i = 0; i < machines.size(); ++ i) 188 188 { 189 if (machines 189 if (machines[i]) 190 190 rc = showVMInfo(a->virtualBox, 191 191 machines[i], … … 202 202 */ 203 203 com::SafeIfaceArray <IMachine> machines; 204 rc = a->virtualBox->COMGETTER(Machines 2)(ComSafeArrayAsOutParam (machines));204 rc = a->virtualBox->COMGETTER(Machines)(ComSafeArrayAsOutParam (machines)); 205 205 if (SUCCEEDED(rc)) 206 206 { … … 210 210 for (size_t i = 0; i < machines.size(); ++ i) 211 211 { 212 if (machines 212 if (machines[i]) 213 213 { 214 214 MachineState_T machineState;
Note:
See TracChangeset
for help on using the changeset viewer.