- 時間撮記:
- 2015-2-17 下午01:13:02 (10 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r54108 r54230 1450 1450 #ifdef VBOX_WITH_PDM_AUDIO_DRIVER 1451 1451 if (mAudioVRDE) 1452 mAudioVRDE->onVRDE InputIntercept(false /* fIntercept*/);1452 mAudioVRDE->onVRDEControl(false /* fEnable */, 0 /* uFlags */); 1453 1453 #else 1454 1454 mcAudioRefs--; … … 1501 1501 #ifdef VBOX_WITH_PDM_AUDIO_DRIVER 1502 1502 if (mAudioVRDE) 1503 mAudioVRDE->onVRDE InputIntercept(true /* fIntercept*/);1503 mAudioVRDE->onVRDEControl(true /* fEnable */, 0 /* uFlags */); 1504 1504 #else 1505 1505 ++mcAudioRefs; … … 2380 2380 (PFNRT)i_unplugCpu, 3, 2381 2381 this, pUVM, (VMCPUID)aCpu); 2382 2382 2383 2383 /* release the lock before a VMR3* call (EMT might wait for it, @bugref{7648})! */ 2384 2384 alock.release(); … … 4821 4821 */ 4822 4822 bool fResume = false; 4823 int rc= i_suspendBeforeConfigChange(pUVM, NULL, &fResume);4824 if (FAILED( rc))4825 return rc;4823 HRESULT hr = i_suspendBeforeConfigChange(pUVM, NULL, &fResume); 4824 if (FAILED(hr)) 4825 return hr; 4826 4826 4827 4827 /* … … 4830 4830 * here to make requests from under the lock in order to serialize them. 4831 4831 */ 4832 PVMREQ pReq; 4833 int vrc = VMR3ReqCallWaitU(pUVM, 0 /*idDstCpu*/, 4834 (PFNRT)i_changeNetworkAttachment, 6, 4835 this, pUVM, pszDevice, uInstance, uLun, aNetworkAdapter); 4832 int rc = VMR3ReqCallWaitU(pUVM, 0 /*idDstCpu*/, 4833 (PFNRT)i_changeNetworkAttachment, 6, 4834 this, pUVM, pszDevice, uInstance, uLun, aNetworkAdapter); 4836 4835 4837 4836 if (fResume) 4838 4837 i_resumeAfterConfigChange(pUVM); 4839 4838 4840 if (RT_SUCCESS(vrc)) 4841 { 4842 LogFlowThisFunc(("Returns S_OK\n")); 4839 if (RT_SUCCESS(rc)) 4843 4840 return S_OK; 4844 }4845 4841 4846 4842 return setError(E_FAIL, 4847 tr("Could not change the network adaptor attachement type (%Rrc)"), 4848 vrc); 4843 tr("Could not change the network adaptor attachement type (%Rrc)"), rc); 4849 4844 } 4850 4845
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器