Changeset 70688 in vbox for trunk/src/VBox/Devices/Storage/DrvSCSI.cpp
- Timestamp:
- Jan 22, 2018 7:38:45 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DrvSCSI.cpp
r69500 r70688 444 444 } 445 445 446 /** 447 * @interface_method_impl{VSCSILUNIOCALLBACKS,pfnVScsiLunQueryInqStrings} 448 */ 449 static DECLCALLBACK(int) drvscsiQueryInqStrings(VSCSILUN hVScsiLun, void *pvScsiLunUser, const char **ppszVendorId, 450 const char **ppszProductId, const char **ppszProductLevel) 451 { 452 RT_NOREF(hVScsiLun); 453 PDRVSCSI pThis = (PDRVSCSI)pvScsiLunUser; 454 455 if (pThis->pDevMediaPort->pfnQueryScsiInqStrings) 456 return pThis->pDevMediaPort->pfnQueryScsiInqStrings(pThis->pDevMediaPort, ppszVendorId, 457 ppszProductId, ppszProductLevel); 458 459 return VERR_NOT_FOUND; 460 } 446 461 447 462 /* -=-=-=-=- IPortEx -=-=-=-=- */ … … 1416 1431 pThis->VScsiIoCallbacks.pfnVScsiLunGetFeatureFlags = drvscsiGetFeatureFlags; 1417 1432 pThis->VScsiIoCallbacks.pfnVScsiLunMediumSetLock = drvscsiSetLock; 1433 pThis->VScsiIoCallbacks.pfnVScsiLunQueryInqStrings = drvscsiQueryInqStrings; 1418 1434 1419 1435 rc = VSCSIDeviceCreate(&pThis->hVScsiDevice, drvscsiIoReqVScsiReqCompleted, pThis);
Note:
See TracChangeset
for help on using the changeset viewer.