VirtualBox

Changeset 94331 in vbox for trunk


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

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

File:
1 edited

Legend:

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

    r94321 r94331  
    18811881                    ("Configuration error: Not possible to attach anything to this driver!\n"),
    18821882                    VERR_PDM_DRVINS_NO_ATTACH);
    1883 
    1884     void *pv;
    1885     int rc = pDrvIns->pHlpR3->pfnCFGMQueryPtr(pCfg, "Object", &pv);
    1886     AssertMsgRCReturn(rc, ("Configuration error: No/bad \"Object\" value! rc=%Rrc\n", rc), rc);
    18871883
    18881884    com::Guid uuid(USBCARDREADER_OID);
     
    19121908
    19131909    /* Command Thread Synchronization primitives */
    1914     rc = RTReqQueueCreate(&pThis->hReqQCardReaderCmd);
     1910    int rc = RTReqQueueCreate(&pThis->hReqQCardReaderCmd);
    19151911    AssertLogRelRCReturn(rc, rc);
    19161912
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