VirtualBox

Ignore:
Timestamp:
Mar 25, 2022 7:26:37 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
150674
Message:

Main,UsbWebcam: Drop passing pointers through CFGM in favor of using VMM2USERMETHODS::pfnQueryGenericObject, bugref:10053

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/EmulatedUSBImpl.h

    r93115 r94368  
    2424#include "EmulatedUSBWrap.h"
    2525
     26#include <VBox/vrdpusb.h>
     27
    2628class Console;
    2729class EUSBWEBCAM;
     
    4749                                            const void *pvData, uint32_t cbData);
    4850
     51    PEMULATEDUSBIF i_getEmulatedUsbIf();
     52
    4953    HRESULT i_webcamAttachInternal(const com::Utf8Str &aPath,
    5054                                   const com::Utf8Str &aSettings,
     
    5761    static DECLCALLBACK(int) eusbCallbackEMT(EmulatedUSB *pThis, char *pszId, uint32_t iEvent,
    5862                                             void *pvData, uint32_t cbData);
     63
     64    static DECLCALLBACK(int) i_QueryEmulatedUsbDataById(void *pvUser, const char *pszId, void **ppvEmUsbCb, void **ppvEmUsbCbData, void **ppvObject);
    5965
    6066    HRESULT webcamPathFromId(com::Utf8Str *pPath, const char *pszId);
     
    8086
    8187    Data m;
     88    EMULATEDUSBIF mEmUsbIf;
    8289};
    8390
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette