Changeset 16299 in vbox for trunk/src/VBox
- Timestamp:
- Jan 28, 2009 11:45:51 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 42128
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ApplianceImpl.cpp
r16298 r16299 1143 1143 /* Now that we know the base system get our internal defaults based on that. */ 1144 1144 ComPtr<IGuestOSType> osType; 1145 rc = mVirtualBox-> COMGETTER(GuestOSType)(Bstr(Utf8Str(osTypeVBox.c_str())), osType.asOutParam());1145 rc = mVirtualBox->GetGuestOSType(Bstr(Utf8Str(osTypeVBox.c_str())), osType.asOutParam()); 1146 1146 ComAssertComRCThrowRC(rc); 1147 1147 … … 1155 1155 /* RAM */ 1156 1156 /* @todo: check min/max requirements of VBox (SchemaDefs::Min/MaxGuestRAM) */ 1157 uint64_t ullMemSizeVBox = vs.ullMemorySize; /** @todo r=bird/MSC: this will overflow at 4GB, use 64-bit type. */1157 uint64_t ullMemSizeVBox = vs.ullMemorySize; 1158 1158 if (vs.ullMemorySize == 0) 1159 1159 { … … 1322 1322 /* Now that we know the base system get our internal defaults based on that. */ 1323 1323 ComPtr<IGuestOSType> osType; 1324 rc = mVirtualBox-> COMGETTER(GuestOSType)(Bstr(Utf8Str(osTypeVBox.c_str())), osType.asOutParam());1324 rc = mVirtualBox->GetGuestOSType(Bstr(Utf8Str(osTypeVBox.c_str())), osType.asOutParam()); 1325 1325 ComAssertComRCThrowRC(rc); 1326 1326
Note:
See TracChangeset
for help on using the changeset viewer.