VirtualBox

Changeset 51382 in vbox for trunk/src/VBox/Devices/Storage


Ignore:
Timestamp:
May 23, 2014 7:19:34 PM (11 years ago)
Author:
vboxsync
Message:

Devices/ATAPIPassthrough: Assertion + better status codes for not implemented TOC formats

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/ATAPIPassthrough.cpp

    r47791 r51382  
    383383        case 0x03:
    384384        case 0x04:
     385            rc = VERR_NOT_IMPLEMENTED;
     386            break;
    385387        case 0x05:
     388            rc = VINF_SUCCESS; /* Does not give information about the tracklist. */
     389            break;
    386390        default:
    387391            rc = VERR_INVALID_PARAMETER;
     
    509513DECLHIDDEN(void) ATAPIPassthroughTrackListClear(PTRACKLIST pTrackList)
    510514{
     515    AssertPtrReturnVoid(pTrackList);
     516
    511517    pTrackList->cTracksCurrent = 0;
    512518
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