VirtualBox

Changeset 33322 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Oct 21, 2010 5:14:44 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
66900
Message:

Main/Medium: remaining bits for MediumType_Readonly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/MediumImpl.cpp

    r33307 r33322  
    10271027        rc = setLocation(aLocation);
    10281028    else
     1029    {
     1030        if (aDeviceType == DeviceType_DVD)
     1031            m->type = MediumType_Readonly;
     1032        else
     1033            m->type = MediumType_Writethrough;
    10291034        rc = setLocation(aLocation, "RAW");
     1035    }
    10301036    if (FAILED(rc)) return rc;
    10311037
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette