UsbWebcamInterface.h revision d0eec04539061d14a7e51f492aea90fa5394615f
d0eec04539061d14a7e51f492aea90fa5394615fvboxsync * VirtualBox PDM Driver for Emulated USB Webcam
d0eec04539061d14a7e51f492aea90fa5394615fvboxsync * Copyright (C) 2011-2012 Oracle Corporation
d0eec04539061d14a7e51f492aea90fa5394615fvboxsync * Oracle Corporation confidential
d0eec04539061d14a7e51f492aea90fa5394615fvboxsync * All rights reserved
d0eec04539061d14a7e51f492aea90fa5394615fvboxsync#define VRDE_VIDEOIN_WITH_VRDEINTERFACE /* Get the VRDE interface definitions. */
d0eec04539061d14a7e51f492aea90fa5394615fvboxsync /* Callbacks. */
d0eec04539061d14a7e51f492aea90fa5394615fvboxsync void EmWebcamCbNotify(uint32_t u32Id, const void *pvData, uint32_t cbData);
d0eec04539061d14a7e51f492aea90fa5394615fvboxsync void EmWebcamCbDeviceDesc(int rcRequest, void *pDeviceCtx, void *pvUser,
d0eec04539061d14a7e51f492aea90fa5394615fvboxsync const VRDEVIDEOINDEVICEDESC *pDeviceDesc, uint32_t cbDeviceDesc);
d0eec04539061d14a7e51f492aea90fa5394615fvboxsync void EmWebcamCbControl(int rcRequest, void *pDeviceCtx, void *pvUser,
d0eec04539061d14a7e51f492aea90fa5394615fvboxsync const VRDEVIDEOINCTRLHDR *pControl, uint32_t cbControl);
d0eec04539061d14a7e51f492aea90fa5394615fvboxsync void EmWebcamCbFrame(int rcRequest, void *pDeviceCtx,
d0eec04539061d14a7e51f492aea90fa5394615fvboxsync const VRDEVIDEOINPAYLOADHDR *pFrame, uint32_t cbFrame);
d0eec04539061d14a7e51f492aea90fa5394615fvboxsync /* Methods for the PDM driver. */
d0eec04539061d14a7e51f492aea90fa5394615fvboxsync int SendControl(EMWEBCAMDRV *pDrv, void *pvUser, uint64_t u64DeviceId,
d0eec04539061d14a7e51f492aea90fa5394615fvboxsync const VRDEVIDEOINCTRLHDR *pControl, uint32_t cbControl);
d0eec04539061d14a7e51f492aea90fa5394615fvboxsync static DECLCALLBACK(void *) drvQueryInterface(PPDMIBASE pInterface, const char *pszIID);
d0eec04539061d14a7e51f492aea90fa5394615fvboxsync static DECLCALLBACK(int) drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags);
d0eec04539061d14a7e51f492aea90fa5394615fvboxsync static DECLCALLBACK(void) drvDestruct(PPDMDRVINS pDrvIns);
d0eec04539061d14a7e51f492aea90fa5394615fvboxsync#endif /* !____H_USBWEBCAMINTERFACE */
d0eec04539061d14a7e51f492aea90fa5394615fvboxsync/* vi: set tabstop=4 shiftwidth=4 expandtab: */