- 時間撮記:
- 2014-2-25 下午03:22:04 (11 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Main/src-client/EmulatedUSBImpl.cpp
r49234 r50580 157 157 CFGMR3InsertNode(pConfig, "EmulatedUSB", &pEUSB); 158 158 CFGMR3InsertString(pEUSB, "Id", pThis->mszUuid); 159 CFGMR3InsertInteger(pEUSB, "pfnCallback", (uintptr_t)EmulatedUSB:: eusbCallback);159 CFGMR3InsertInteger(pEUSB, "pfnCallback", (uintptr_t)EmulatedUSB::i_eusbCallback); 160 160 CFGMR3InsertInteger(pEUSB, "pvCallback", (uintptr_t)pThis->mpEmulatedUSB); 161 161 … … 442 442 const com::Utf8Str &aSettings) 443 443 { 444 return webcamAttachInternal(aPath, aSettings, "HostWebcam", NULL);445 } 446 447 HRESULT EmulatedUSB:: webcamAttachInternal(const com::Utf8Str &aPath,448 const com::Utf8Str &aSettings,449 const char *pszDriver,450 void *pvObject)444 return i_webcamAttachInternal(aPath, aSettings, "HostWebcam", NULL); 445 } 446 447 HRESULT EmulatedUSB::i_webcamAttachInternal(const com::Utf8Str &aPath, 448 const com::Utf8Str &aSettings, 449 const char *pszDriver, 450 void *pvObject) 451 451 { 452 452 HRESULT hrc = S_OK; … … 524 524 HRESULT EmulatedUSB::webcamDetach(const com::Utf8Str &aPath) 525 525 { 526 return webcamDetachInternal(aPath);527 } 528 529 HRESULT EmulatedUSB:: webcamDetachInternal(const com::Utf8Str &aPath)526 return i_webcamDetachInternal(aPath); 527 } 528 529 HRESULT EmulatedUSB::i_webcamDetachInternal(const com::Utf8Str &aPath) 530 530 { 531 531 HRESULT hrc = S_OK; … … 605 605 } 606 606 607 /* static */ DECLCALLBACK(int) EmulatedUSB:: eusbCallback(void *pv, const char *pszId, uint32_t iEvent,608 const void *pvData, uint32_t cbData)607 /* static */ DECLCALLBACK(int) EmulatedUSB::i_eusbCallback(void *pv, const char *pszId, uint32_t iEvent, 608 const void *pvData, uint32_t cbData) 609 609 { 610 610 /* Make a copy of parameters, forward to EMT and leave the callback to not hold any lock in the device. */
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器