Changeset 102167 in vbox
- Timestamp:
- Nov 20, 2023 10:43:41 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageList.cpp
r102154 r102167 813 813 Bstr guestId; 814 814 guestOS->COMGETTER(Id)(guestId.asOutParam()); 815 RTPrintf( "ID:%ls\n", guestId.raw());815 RTPrintf( "ID: %ls\n", guestId.raw()); 816 816 Bstr guestDescription; 817 817 guestOS->COMGETTER(Description)(guestDescription.asOutParam()); 818 RTPrintf(List::tr("Description: %ls\n"), guestDescription.raw());818 RTPrintf(List::tr("Description: %ls\n"), guestDescription.raw()); 819 819 Bstr familyId; 820 820 guestOS->COMGETTER(FamilyId)(familyId.asOutParam()); 821 RTPrintf(List::tr("Family ID: %ls\n"), familyId.raw());821 RTPrintf(List::tr("Family ID: %ls\n"), familyId.raw()); 822 822 Bstr familyDescription; 823 823 guestOS->COMGETTER(FamilyDescription)(familyDescription.asOutParam()); 824 RTPrintf(List::tr("Family Desc: %ls\n"), familyDescription.raw());824 RTPrintf(List::tr("Family Desc: %ls\n"), familyDescription.raw()); 825 825 Bstr guestOSSubtype; 826 826 guestOS->COMGETTER(Subtype)(guestOSSubtype.asOutParam()); 827 827 if (guestOSSubtype.isNotEmpty()) 828 RTPrintf(List::tr("OS Subtype: %ls\n"), guestOSSubtype.raw()); 829 PlatformArchitecture_T enmArch; 830 guestOS->COMGETTER(PlatformArchitecture)(&enmArch); 831 const char *pszArch = "?"; 832 switch (enmArch) 833 { 834 case PlatformArchitecture_x86: 835 pszArch = List::tr("x86"); 836 break; 837 case PlatformArchitecture_ARM: 838 pszArch = List::tr("ARM"); 839 break; 840 default: 841 ASSERT(false); 842 break; 843 } 844 RTPrintf(List::tr("Architecture: %s\n"), pszArch); 828 RTPrintf(List::tr("OS Subtype: %ls\n"), guestOSSubtype.raw()); 829 PlatformArchitecture_T enmPlatformArch = (PlatformArchitecture_T)PlatformArchitecture_None; 830 guestOS->COMGETTER(PlatformArchitecture)(&enmPlatformArch); 831 RTPrintf(List::tr("Platform Arch.: %s\n"), platformArchitectureToStr(enmPlatformArch)); 845 832 BOOL is64Bit; 846 833 guestOS->COMGETTER(Is64Bit)(&is64Bit); 847 RTPrintf(List::tr("64 bit: %RTbool\n"), is64Bit);834 RTPrintf(List::tr("64 bit: %RTbool\n"), is64Bit); 848 835 RTPrintf("\n"); 849 836 }
Note:
See TracChangeset
for help on using the changeset viewer.