VirtualBox

Ignore:
Timestamp:
Mar 22, 2017 1:29:33 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
114106
Message:

pdmstorageifs.h: Return the region number on success too

File:
1 edited

Legend:

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

    r66192 r66193  
    396396/** @interface_method_impl{PDMIMEDIA,pfnQueryRegionPropertiesForLba} */
    397397static DECLCALLBACK(int) drvHostBaseQueryRegionPropertiesForLba(PPDMIMEDIA pInterface, uint64_t u64LbaStart,
    398                                                                 uint64_t *pcBlocks, uint64_t *pcbBlock,
    399                                                                 PVDREGIONDATAFORM penmDataForm)
     398                                                                uint32_t *puRegion, uint64_t *pcBlocks,
     399                                                                uint64_t *pcbBlock, PVDREGIONDATAFORM penmDataForm)
    400400{
    401401    LogFlowFunc(("\n"));
     
    416416        rc = VERR_NOT_FOUND;
    417417
     418        if (puRegion)
     419            *puRegion = 0;
    418420        if (pcBlocks)
    419421            *pcBlocks = cbMedia / cbBlock;
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