儲存庫 vbox 的更動 18583
- 時間撮記:
- 2009-3-31 下午04:50:55 (16 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Main/ApplianceImpl.cpp
r18535 r18583 3689 3689 AutoWriteLock alock(this); 3690 3690 3691 com::SafeArray<IN_BSTR> aVboxValues(ComSafeArrayInArg(argVboxValues)); 3692 com::SafeArray<IN_BSTR> aExtraConfigValues(ComSafeArrayInArg(argExtraConfigValues)); 3693 3694 if ( (aVboxValues.size() != m->llDescriptions.size()) 3695 || (aExtraConfigValues.size() != m->llDescriptions.size()) 3691 com::SafeArray<BOOL> sfaEnabled(ComSafeArrayInArg(aEnabled)); 3692 com::SafeArray<IN_BSTR> sfaVboxValues(ComSafeArrayInArg(argVboxValues)); 3693 com::SafeArray<IN_BSTR> sfaExtraConfigValues(ComSafeArrayInArg(argExtraConfigValues)); 3694 3695 if ( (sfaEnabled.size() != m->llDescriptions.size()) 3696 || (sfaVboxValues.size() != m->llDescriptions.size()) 3697 || (sfaExtraConfigValues.size() != m->llDescriptions.size()) 3696 3698 ) 3697 3699 return E_INVALIDARG; … … 3705 3707 VirtualSystemDescriptionEntry& vsde = *it; 3706 3708 3707 if ( aEnabled[i])3709 if (sfaEnabled[i]) 3708 3710 { 3709 vsde.strVbox = aVboxValues[i];3710 vsde.strExtraConfig = aExtraConfigValues[i];3711 vsde.strVbox = sfaVboxValues[i]; 3712 vsde.strExtraConfig = sfaExtraConfigValues[i]; 3711 3713 } 3712 3714 else … … 4193 4195 // finally, add the virtual system to the appliance 4194 4196 Appliance *pAppliance = static_cast<Appliance*>(aAppliance); 4195 AutoCaller autoCaller (pAppliance);4196 if (FAILED(rc)) throw rc;4197 AutoCaller autoCaller1(pAppliance); 4198 CheckComRCReturnRC(autoCaller1.rc()); 4197 4199 4198 4200 /* We return the new description to the caller */
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器