VirtualBox

Changeset 94332 in vbox for trunk


Ignore:
Timestamp:
Mar 23, 2022 6:49:45 AM (3 years ago)
Author:
vboxsync
Message:

Main/UsbCardReader: Drop passing pointers through CFGM in favor of using VMM2USERMETHODS::pfnQueryGenericObject, bugref:10053 [build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/UsbCardReader.cpp

    r94331 r94332  
    18701870/* static */ DECLCALLBACK(int) UsbCardReader::drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags)
    18711871{
    1872     RT_NOREF(fFlags);
     1872    RT_NOREF(fFlags, pCfg);
    18731873    PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns);
    18741874    LogFlowFunc(("iInstance/%d, pCfg:%p, fFlags:%x\n", pDrvIns->iInstance, pCfg, fFlags));
     
    18771877    pThis->hReqQCardReaderCmd = NIL_RTREQQUEUE;
    18781878
    1879     PDMDRV_VALIDATE_CONFIG_RETURN(pDrvIns, "Object", "");
     1879    PDMDRV_VALIDATE_CONFIG_RETURN(pDrvIns, "", "");
    18801880    AssertMsgReturn(PDMDrvHlpNoAttach(pDrvIns) == VERR_PDM_NO_ATTACHED_DRIVER,
    18811881                    ("Configuration error: Not possible to attach anything to this driver!\n"),
Note: See TracChangeset for help on using the changeset viewer.

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