VirtualBox

Changeset 70688 in vbox for trunk/include/VBox/vscsi.h


Ignore:
Timestamp:
Jan 22, 2018 7:38:45 PM (7 years ago)
Author:
vboxsync
Message:

VSCSI,DrvSCSI: Add method to query INQUIRY related data from the outside to overwrite defaults

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vscsi.h

    r69107 r70688  
    246246    DECLR3CALLBACKMEMBER(int, pfnVScsiLunGetFeatureFlags,(VSCSILUN hVScsiLun, void *pvScsiLunUser, uint64_t *pfFeatures));
    247247
     248    /**
     249     * Queries the vendor and product ID and revision to report for INQUIRY commands of the given LUN.
     250     *
     251     * @returns VBox status status code.
     252     * @retval  VERR_NOT_FOUND if the data is not available and some defaults should be sued instead.
     253     * @param   hVScsiLun        Virtual SCSI LUN handle.
     254     * @param   pvScsiLunUser    Opaque user data which may be used to identify the
     255     *                           medium.
     256     * @param   ppszVendorId     Where to store the pointer to the vendor ID string to report.
     257     * @param   ppszProductId    Where to store the pointer to the product ID string to report.
     258     * @param   ppszProductLevel Where to store the pointer to the product level string to report.
     259     */
     260    DECLR3CALLBACKMEMBER(int, pfnVScsiLunQueryInqStrings, (VSCSILUN hVScsiLun, void *pvScsiLunUser, const char **ppszVendorId,
     261                                                           const char **ppszProductId, const char **ppszProductLevel));
     262
    248263} VSCSILUNIOCALLBACKS;
    249264/** Pointer to a virtual SCSI LUN I/O callback table. */
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