Changeset 4504 in vbox for trunk/src/VBox
- Timestamp:
- Sep 4, 2007 5:58:10 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r4496 r4504 116 116 hrc = pMachine->COMGETTER(BIOSSettings)(biosSettings.asOutParam()); H(); 117 117 118 Guid uuid; 119 hrc = pMachine->COMGETTER(Id)(uuid.asOutParam()); H(); 120 PCRTUUID pUuid = uuid.raw(); 121 118 122 119 123 /* … … 131 135 rc = CFGMR3InsertString(pRoot, "Name", psz); RC_CHECK(); 132 136 STR_FREE(); 137 rc = CFGMR3InsertBytes(pRoot, "UUID", pUuid, sizeof(*pUuid)); RC_CHECK(); 133 138 hrc = pMachine->COMGETTER(MemorySize)(&cRamMBs); H(); 134 139 rc = CFGMR3InsertInteger(pRoot, "RamSize", cRamMBs * _1M); RC_CHECK(); … … 215 220 rc = CFGMR3InsertString(pCfg, "FloppyDevice", "i82078"); RC_CHECK(); 216 221 rc = CFGMR3InsertInteger(pCfg, "IOAPIC", fIOAPIC); RC_CHECK(); 217 Guid uuid; 218 hrc = pMachine->COMGETTER(Id)(uuid.asOutParam()); H(); 219 rc = CFGMR3InsertBytes(pCfg, "UUID", (void *)uuid.raw(), sizeof(RTUUID)); RC_CHECK(); 222 rc = CFGMR3InsertBytes(pCfg, "UUID", pUuid, sizeof(*pUuid)); RC_CHECK(); 220 223 221 224 DeviceType_T bootDevice;
Note:
See TracChangeset
for help on using the changeset viewer.