Changeset 4095 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Aug 9, 2007 10:10:40 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 23546
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r4071 r4095 4962 4962 RTPrintf("Accessible: %s\n", accessible ? "yes" : "no"); 4963 4963 4964 if (accessible) 4965 { 4966 Bstr description; 4967 hardDisk->COMGETTER(Description)(description.asOutParam()); 4968 if (description) 4969 { 4970 RTPrintf("Description: %lS\n", description.raw()); 4971 } 4972 4973 ULONG64 size; 4974 hardDisk->COMGETTER(Size)(&size); 4975 RTPrintf("Size: %llu MBytes\n", size); 4976 ULONG64 actualSize; 4977 hardDisk->COMGETTER(ActualSize)(&actualSize); 4978 RTPrintf("Current size on disk: %llu MBytes\n", actualSize >> 20); 4979 } 4980 else 4964 if (!accessible) 4981 4965 { 4982 4966 Bstr err; … … 4984 4968 RTPrintf("Access Error: %lS\n", err.raw()); 4985 4969 } 4970 4971 Bstr description; 4972 hardDisk->COMGETTER(Description)(description.asOutParam()); 4973 if (description) 4974 { 4975 RTPrintf("Description: %lS\n", description.raw()); 4976 } 4977 4978 ULONG64 size; 4979 hardDisk->COMGETTER(Size)(&size); 4980 RTPrintf("Size: %llu MBytes\n", size); 4981 ULONG64 actualSize; 4982 hardDisk->COMGETTER(ActualSize)(&actualSize); 4983 RTPrintf("Current size on disk: %llu MBytes\n", actualSize >> 20); 4986 4984 4987 4985 HardDiskType_T type;
Note:
See TracChangeset
for help on using the changeset viewer.