Changeset 62824 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Aug 1, 2016 3:14:37 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/UsbWebcamInterface.cpp
r62823 r62824 46 46 EMWEBCAMREMOTE *pRemote; 47 47 PPDMIWEBCAMDEV pIWebcamUp; 48 PDMIWEBCAMD OWN IWebcamDown;48 PDMIWEBCAMDRV IWebcamDrv; 49 49 } EMWEBCAMDRV, *PEMWEBCAMDRV; 50 50 … … 56 56 57 57 58 static DECLCALLBACK(void) drvEmWebcamReady(PPDMIWEBCAMD OWNpInterface,58 static DECLCALLBACK(void) drvEmWebcamReady(PPDMIWEBCAMDRV pInterface, 59 59 bool fReady) 60 60 { 61 61 NOREF(fReady); 62 62 63 PEMWEBCAMDRV pThis = RT_FROM_MEMBER(pInterface, EMWEBCAMDRV, IWebcamD own);63 PEMWEBCAMDRV pThis = RT_FROM_MEMBER(pInterface, EMWEBCAMDRV, IWebcamDrv); 64 64 EMWEBCAMREMOTE *pRemote = pThis->pRemote; 65 65 … … 77 77 } 78 78 79 static DECLCALLBACK(int) drvEmWebcamControl(PPDMIWEBCAMD OWNpInterface,79 static DECLCALLBACK(int) drvEmWebcamControl(PPDMIWEBCAMDRV pInterface, 80 80 void *pvUser, 81 81 uint64_t u64DeviceId, … … 83 83 uint32_t cbCtrl) 84 84 { 85 PEMWEBCAMDRV pThis = RT_FROM_MEMBER(pInterface, EMWEBCAMDRV, IWebcamD own);85 PEMWEBCAMDRV pThis = RT_FROM_MEMBER(pInterface, EMWEBCAMDRV, IWebcamDrv); 86 86 EMWEBCAMREMOTE *pRemote = pThis->pRemote; 87 87 … … 363 363 364 364 PDMIBASE_RETURN_INTERFACE(pszIID, PDMIBASE, &pDrvIns->IBase); 365 PDMIBASE_RETURN_INTERFACE(pszIID, PDMIWEBCAMD OWN, &pThis->IWebcamDown);365 PDMIBASE_RETURN_INTERFACE(pszIID, PDMIWEBCAMDRV, &pThis->IWebcamDrv); 366 366 return NULL; 367 367 } … … 414 414 pDrvIns->IBase.pfnQueryInterface = drvQueryInterface; 415 415 416 pThis->IWebcamD own.pfnReady = drvEmWebcamReady;417 pThis->IWebcamD own.pfnControl = drvEmWebcamControl;416 pThis->IWebcamDrv.pfnReady = drvEmWebcamReady; 417 pThis->IWebcamDrv.pfnControl = drvEmWebcamControl; 418 418 419 419 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.