儲存庫 vbox 的更動 62823
圖例:
- 未更動
- 新增
- 刪除
-
trunk/include/VBox/vmm/pdmwebcaminfs.h
r62822 r62823 43 43 typedef struct PDMIWEBCAMDOWN *PPDMIWEBCAMDOWN; 44 44 /** 45 * Web camera driver up interface.45 * Web camera driver up (facing in the direction of the device) interface. 46 46 * @todo correct name. 47 47 */ … … 74 74 #define PDMIWEBCAMDOWN_IID "0d29b9a1-f4cd-4719-a564-38d5634ba9f8" 75 75 76 76 77 /** Pointer to the web camera driver/device down interface. */ 77 typedef struct PDMIWEBCAM UP *PPDMIWEBCAMUP;78 typedef struct PDMIWEBCAMDEV *PPDMIWEBCAMDEV; 78 79 /** 79 * Web camera driver/device down interface. 80 * @todo correct name. 80 * Web camera device(/driver) down interface. 81 81 */ 82 typedef struct PDMIWEBCAM UP82 typedef struct PDMIWEBCAMDEV 83 83 { 84 84 /** … … 93 93 * @param fCapabilities The remote video input protocol capabilities. 94 94 */ 95 DECLR3CALLBACKMEMBER(int, pfnAttached,(PPDMIWEBCAM UPpInterface, uint64_t idDevice,95 DECLR3CALLBACKMEMBER(int, pfnAttached,(PPDMIWEBCAMDEV pInterface, uint64_t idDevice, 96 96 struct VRDEVIDEOINDEVICEDESC const *pDeviceDesc, uint32_t cbDeviceDesc, 97 97 uint32_t uVersion, uint32_t fCapabilities)); … … 104 104 * driver. 105 105 */ 106 DECLR3CALLBACKMEMBER(void, pfnDetached,(PPDMIWEBCAM UPpInterface, uint64_t idDevice));106 DECLR3CALLBACKMEMBER(void, pfnDetached,(PPDMIWEBCAMDEV pInterface, uint64_t idDevice)); 107 107 108 108 /** … … 117 117 * @param cbCtrl The size of the control data. 118 118 */ 119 DECLR3CALLBACKMEMBER(void, pfnControl,(PPDMIWEBCAM UPpInterface, bool fResponse, void *pvUser,119 DECLR3CALLBACKMEMBER(void, pfnControl,(PPDMIWEBCAMDEV pInterface, bool fResponse, void *pvUser, 120 120 uint64_t idDevice, struct VRDEVIDEOINCTRLHDR const *pCtrl, uint32_t cbCtrl)); 121 121 … … 130 130 * @param cbFrame Size of the image data. 131 131 */ 132 DECLR3CALLBACKMEMBER(void, pfnFrame,(PPDMIWEBCAM UPpInterface, uint64_t idDevice,132 DECLR3CALLBACKMEMBER(void, pfnFrame,(PPDMIWEBCAMDEV pInterface, uint64_t idDevice, 133 133 struct VRDEVIDEOINPAYLOADHDR const *pHeader, uint32_t cbHeader, 134 134 const void *pvFrame, uint32_t cbFrame)); 135 } PDMIWEBCAM UP;136 /** Interface ID for PDMIWEBCAM UP. */137 #define PDMIWEBCAM UP_IID "6ac03e3c-f56c-4a35-80af-c13ce47a9dd7"135 } PDMIWEBCAMDEV; 136 /** Interface ID for PDMIWEBCAMDEV. */ 137 #define PDMIWEBCAMDEV_IID "6ac03e3c-f56c-4a35-80af-c13ce47a9dd7" 138 138 139 139 /** @} */ -
trunk/src/VBox/Main/src-client/UsbWebcamInterface.cpp
r62822 r62823 45 45 { 46 46 EMWEBCAMREMOTE *pRemote; 47 PPDMIWEBCAM UPpIWebcamUp;47 PPDMIWEBCAMDEV pIWebcamUp; 48 48 PDMIWEBCAMDOWN IWebcamDown; 49 49 } EMWEBCAMDRV, *PEMWEBCAMDRV; … … 394 394 395 395 /* Check early that there is a device. No need to init anything if there is no device. */ 396 pThis->pIWebcamUp = PDMIBASE_QUERY_INTERFACE(pDrvIns->pUpBase, PDMIWEBCAM UP);396 pThis->pIWebcamUp = PDMIBASE_QUERY_INTERFACE(pDrvIns->pUpBase, PDMIWEBCAMDEV); 397 397 if (pThis->pIWebcamUp == NULL) 398 398 {
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器