Changeset 66211 in vbox for trunk/src/VBox/Storage
- Timestamp:
- Mar 22, 2017 7:44:19 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 114128
- Location:
- trunk/src/VBox/Storage
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/CUE.cpp
r66197 r66211 225 225 static const VDFILEEXTENSION s_aCueFileExtensions[] = 226 226 { 227 {"cue", VDTYPE_ DVD},227 {"cue", VDTYPE_OPTICAL_DISC}, 228 228 {NULL, VDTYPE_INVALID} 229 229 }; … … 1427 1427 1428 1428 if (RT_SUCCESS(rc)) 1429 *penmType = VDTYPE_ DVD;1429 *penmType = VDTYPE_OPTICAL_DISC; 1430 1430 else 1431 1431 rc = VERR_VD_GEN_INVALID_HEADER; … … 1451 1451 AssertReturn(!(uOpenFlags & ~VD_OPEN_FLAGS_MASK), VERR_INVALID_PARAMETER); 1452 1452 AssertReturn((VALID_PTR(pszFilename) && *pszFilename), VERR_INVALID_PARAMETER); 1453 AssertReturn(enmType == VDTYPE_ DVD, VERR_NOT_SUPPORTED);1453 AssertReturn(enmType == VDTYPE_OPTICAL_DISC, VERR_NOT_SUPPORTED); 1454 1454 1455 1455 pThis = (PCUEIMAGE)RTMemAllocZ(sizeof(CUEIMAGE)); -
trunk/src/VBox/Storage/DMG.cpp
r66110 r66211 424 424 static const VDFILEEXTENSION s_aDmgFileExtensions[] = 425 425 { 426 {"dmg", VDTYPE_ DVD},426 {"dmg", VDTYPE_OPTICAL_DISC}, 427 427 {NULL, VDTYPE_INVALID} 428 428 }; … … 1793 1793 { 1794 1794 rc = VINF_SUCCESS; 1795 *penmType = VDTYPE_ DVD;1795 *penmType = VDTYPE_OPTICAL_DISC; 1796 1796 } 1797 1797 else -
trunk/src/VBox/Storage/RAW.cpp
r66110 r66211 88 88 static const VDFILEEXTENSION s_aRawFileExtensions[] = 89 89 { 90 {"iso", VDTYPE_ DVD},91 {"cdr", VDTYPE_ DVD},90 {"iso", VDTYPE_OPTICAL_DISC}, 91 {"cdr", VDTYPE_OPTICAL_DISC}, 92 92 {"img", VDTYPE_FLOPPY}, 93 93 {"ima", VDTYPE_FLOPPY}, … … 332 332 else 333 333 { 334 *penmType = VDTYPE_ DVD;334 *penmType = VDTYPE_OPTICAL_DISC; 335 335 rc = VINF_SUCCESS; 336 336 } … … 393 393 if (RT_SUCCESS(rc)) 394 394 { 395 if (enmType == VDTYPE_ DVD)395 if (enmType == VDTYPE_OPTICAL_DISC) 396 396 pImage->cbSector = 2048; 397 397 else … … 425 425 /* Check the VD container type. Yes, hard disk must be allowed, otherwise 426 426 * various tools using this backend for hard disk images will fail. */ 427 if (enmType != VDTYPE_HDD && enmType != VDTYPE_ DVD&& enmType != VDTYPE_FLOPPY)427 if (enmType != VDTYPE_HDD && enmType != VDTYPE_OPTICAL_DISC && enmType != VDTYPE_FLOPPY) 428 428 return VERR_VD_INVALID_TYPE; 429 429
Note:
See TracChangeset
for help on using the changeset viewer.