Changeset 49117 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Oct 15, 2013 1:04:23 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 89962
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/VUSBDevice.cpp
r48947 r49117 1503 1503 1504 1504 /** 1505 * @interface_method_impl{VUSBIDEVICE,pfnIsEmulated} 1506 */ 1507 DECLCALLBACK(bool) vusbDevIsEmulated(PVUSBIDEVICE pInterface) 1508 { 1509 PVUSBDEV pDev = (PVUSBDEV)pInterface; 1510 bool fEmulated = !!(pDev->pUsbIns->pReg->fFlags & PDM_USBREG_EMULATED_DEVICE); 1511 1512 LogFlowFunc(("pInterface=%p\n", pInterface)); 1513 1514 LogFlowFunc(("returns %RTbool\n", fEmulated)); 1515 return fEmulated; 1516 } 1517 1518 1519 /** 1505 1520 * The maximum number of interfaces the device can have in all of it's configuration. 1506 1521 * … … 1543 1558 Assert(!pDev->IDevice.pfnGetState); 1544 1559 pDev->IDevice.pfnGetState = vusbDevGetState; 1560 Assert(!pDev->IDevice.pfnIsEmulated); 1561 pDev->IDevice.pfnIsEmulated = vusbDevIsEmulated; 1545 1562 pDev->pUsbIns = pUsbIns; 1546 1563 pDev->pNext = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.