Changeset 24258 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Nov 2, 2009 2:38:50 PM (15 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageDisk.cpp
r24184 r24258 684 684 /* Perform accessibility check now. */ 685 685 MediumState_T state; 686 CHECK_ERROR_BREAK(dstDisk, COMGETTER(State)(&state));686 CHECK_ERROR_BREAK(dstDisk, RefreshState(&state)); 687 687 } 688 688 CHECK_ERROR_BREAK(dstDisk, COMGETTER(Format) (format.asOutParam())); … … 1216 1216 /// @todo NEWMEDIA print the full state value 1217 1217 MediumState_T state; 1218 CHECK_ERROR_BREAK (hardDisk, COMGETTER(State)(&state));1218 CHECK_ERROR_BREAK (hardDisk, RefreshState(&state)); 1219 1219 RTPrintf("Accessible: %s\n", state != MediumState_Inaccessible ? "yes" : "no"); 1220 1220 -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageList.cpp
r23223 r24258 527 527 /// @todo NEWMEDIA check accessibility of all parents 528 528 /// @todo NEWMEDIA print the full state value 529 hdd-> COMGETTER(State)(&enmState);529 hdd->RefreshState(&enmState); 530 530 RTPrintf("Accessible: %s\n", enmState != MediumState_Inaccessible ? "yes" : "no"); 531 531 … … 583 583 RTPrintf("Path: %lS\n", filePath.raw()); 584 584 MediumState_T enmState; 585 dvdImage-> COMGETTER(State)(&enmState);585 dvdImage->RefreshState(&enmState); 586 586 RTPrintf("Accessible: %s\n", enmState != MediumState_Inaccessible ? "yes" : "no"); 587 587 /** @todo usage */ … … 605 605 RTPrintf("Path: %lS\n", filePath.raw()); 606 606 MediumState_T enmState; 607 floppyImage-> COMGETTER(State)(&enmState);607 floppyImage->RefreshState(&enmState); 608 608 RTPrintf("Accessible: %s\n", enmState != MediumState_Inaccessible ? "yes" : "no"); 609 609 /** @todo usage */
Note:
See TracChangeset
for help on using the changeset viewer.