Changeset 94321 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Mar 22, 2022 11:27:12 AM (3 years ago)
- Location:
- trunk/src/VBox/Main/src-client
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r94246 r94321 10946 10946 return pConsole->m_pVMMDev; 10947 10947 10948 if (UuidCopy == USBCARDREADER_OID) 10949 return pConsole->mUsbCardReader; 10950 10948 10951 if (UuidCopy == COM_IIDOF(ISnapshot)) 10949 10952 return ((MYVMM2USERMETHODS *)pThis)->pISnapshot; -
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r94070 r94321 2242 2242 InsertConfigString(pLunL0, "Driver", "UsbCardReader"); 2243 2243 InsertConfigNode(pLunL0, "Config", &pCfg); 2244 InsertConfigInteger(pCfg, "Object", (uintptr_t)mUsbCardReader);2245 2244 # endif 2246 2245 } -
trunk/src/VBox/Main/src-client/UsbCardReader.cpp
r93444 r94321 1886 1886 AssertMsgRCReturn(rc, ("Configuration error: No/bad \"Object\" value! rc=%Rrc\n", rc), rc); 1887 1887 1888 pThis->pUsbCardReader = (UsbCardReader *)pv; 1888 com::Guid uuid(USBCARDREADER_OID); 1889 pThis->pUsbCardReader = (UsbCardReader *)PDMDrvHlpQueryGenericUserObject(pDrvIns, uuid.raw()); 1890 AssertMsgReturn(RT_VALID_PTR(pThis->pUsbCardReader), ("Configuration error: No/bad USB card reader object value!\n"), VERR_NOT_FOUND); 1891 1889 1892 pThis->pUsbCardReader->mpDrv = pThis; 1890 1893 pThis->pDrvIns = pDrvIns;
Note:
See TracChangeset
for help on using the changeset viewer.