Changeset 37778 in vbox
- Timestamp:
- Jul 5, 2011 12:10:49 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 72654
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp
r37695 r37778 778 778 mediumAttach.asOutParam()); 779 779 BOOL fIsEjected = FALSE; 780 BOOL fTempEject = FALSE; 780 781 DeviceType_T devType = DeviceType_Null; 781 782 if (mediumAttach) 782 783 { 784 mediumAttach->COMGETTER(TemporaryEject)(&fTempEject); 783 785 mediumAttach->COMGETTER(IsEjected)(&fIsEjected); 784 786 mediumAttach->COMGETTER(Type)(&devType); … … 806 808 fPassthrough ? "on" : "off"); 807 809 if (devType == DeviceType_DVD) 810 { 811 RTPrintf("\"%lS-tempeject\"=\"%s\"\n", storageCtlName.raw(), 812 fTempEject ? "on" : "off"); 808 813 RTPrintf("\"%lS-IsEjected\"=\"%s\"\n", storageCtlName.raw(), 809 814 fIsEjected ? "on" : "off"); 815 } 810 816 } 811 817 else … … 816 822 if (fPassthrough) 817 823 RTPrintf(" (passthrough enabled)"); 824 if (fTempEject) 825 RTPrintf(" (temp eject)"); 818 826 if (fIsEjected) 819 827 RTPrintf(" (ejected)"); … … 833 841 { 834 842 RTPrintf("%lS (%d, %d): Empty", storageCtlName.raw(), i, k); 843 if (fTempEject) 844 RTPrintf(" (temp eject)"); 835 845 if (fIsEjected) 836 846 RTPrintf(" (ejected)");
Note:
See TracChangeset
for help on using the changeset viewer.