Changeset 41549 in vbox for trunk/src/VBox/Runtime/common/dvm/dvmgpt.cpp
- Timestamp:
- Jun 1, 2012 5:29:05 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/dvm/dvmgpt.cpp
r40949 r41549 342 342 } 343 343 344 static DECLCALLBACK(int) rtDvmFmtGptQueryRangeUse(RTDVMFMT hVolMgrFmt, 345 uint64_t off, uint64_t cbRange, 346 bool *pfUsed) 347 { 348 PRTDVMFMTINTERNAL pThis = hVolMgrFmt; 349 350 if (off < 33*pThis->pDisk->cbSector) 351 *pfUsed = true; 352 else 353 *pfUsed = false; 354 355 return VINF_SUCCESS; 356 } 357 344 358 static DECLCALLBACK(uint32_t) rtDvmFmtGptGetValidVolumes(RTDVMFMT hVolMgrFmt) 345 359 { … … 531 545 /* pfnClose */ 532 546 rtDvmFmtGptClose, 547 /* pfnQueryRangeUse */ 548 rtDvmFmtGptQueryRangeUse, 533 549 /* pfnGetValidVolumes */ 534 550 rtDvmFmtGptGetValidVolumes,
Note:
See TracChangeset
for help on using the changeset viewer.