VirtualBox

Changeset 85894 in vbox for trunk/src/VBox/Runtime/include


Ignore:
Timestamp:
Aug 26, 2020 8:50:52 PM (4 years ago)
Author:
vboxsync
Message:

IPRT/Dvm: Added RTDvmMapQueryTableLocations (for VMDK). Completely untested. bugref:9224

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/include/internal/dvm.h

    r85887 r85894  
    185185
    186186    /**
     187     * Query the partition table locations.
     188     *
     189     * @returns IPRT status code.
     190     * @retval  VERR_BUFFER_OVERFLOW if the table is too small, @a *pcActual will be
     191     *          set to the required size.
     192     * @retval  VERR_BUFFER_UNDERFLOW if the table is too big and @a pcActual is
     193     *          NULL.
     194     * @param   hVolMgrFmt      The format specific volume manager handle.
     195     * @param   fFlags          Flags, see RTDVMMAPQTABLOC_F_XXX.
     196     * @param   paLocations     Where to return the info. Ignored if @a cLocations
     197     *                          is zero, then only @a pcActual matters.
     198     * @param   cLocations      The size of @a paLocations in items.
     199     * @param   pcActual        Where to return the actual number of locations, or
     200     *                          on VERR_BUFFER_OVERFLOW the necessary table size.
     201     *                          Optional, when not specified the cLocations value
     202     *                          must match exactly or it fails with
     203     *                          VERR_BUFFER_UNDERFLOW.
     204     * @sa RTDvmMapQueryTableLocations
     205     */
     206    DECLCALLBACKMEMBER(int, pfnQueryTableLocations,(RTDVMFMT hVolMgrFmt, uint32_t fFlags, PRTDVMTABLELOCATION paLocations,
     207                                                    size_t cLocations, size_t *pcActual));
     208
     209    /**
    187210     * Closes a volume handle.
    188211     *
Note: See TracChangeset for help on using the changeset viewer.

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