Changeset 77256 in vbox for trunk/src/VBox/Runtime/common/dvm/dvm.cpp
- Timestamp:
- Feb 11, 2019 12:19:52 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/dvm/dvm.cpp
r76553 r77256 380 380 } 381 381 382 /** @todo shouldn't we close the format too here? */382 pDvmFmtOpsMatch->pfnClose(pThis->hVolMgrFmt); 383 383 } 384 384 } … … 663 663 } 664 664 665 RTDECL(int) RTDvmVolumeQueryRange(RTDVMVOLUME hVol, uint64_t *poffStart, uint64_t *poffEnd) 666 { 667 PRTDVMVOLUMEINTERNAL pThis = hVol; 668 AssertPtrReturn(pThis, VERR_INVALID_HANDLE); 669 AssertReturn(pThis->u32Magic == RTDVMVOLUME_MAGIC, VERR_INVALID_HANDLE); 670 AssertPtrReturn(poffStart, VERR_INVALID_POINTER); 671 AssertPtrReturn(poffEnd, VERR_INVALID_POINTER); 672 673 return pThis->pVolMgr->pDvmFmtOps->pfnVolumeQueryRange(pThis->hVolFmt, poffStart, poffEnd); 674 } 675 665 676 RTDECL(int) RTDvmVolumeRead(RTDVMVOLUME hVol, uint64_t off, void *pvBuf, size_t cbRead) 666 677 {
Note:
See TracChangeset
for help on using the changeset viewer.