VirtualBox

Changeset 11353 in vbox for trunk/include


Ignore:
Timestamp:
Aug 12, 2008 12:55:15 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
34523
Message:

VBoxHDD-new: add new UUID parameter to image creation, specifying which UUID the new image should have.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxHDD-new.h

    r11176 r11353  
    947947 * @param   pPCHSGeometry   Pointer to physical disk geometry <= (16383,16,63). Not NULL.
    948948 * @param   pLCHSGeometry   Pointer to logical disk geometry <= (1024,255,63). Not NULL.
     949 * @param   pUuid           New UUID of the image. If NULL, a new UUID is created.
    949950 * @param   uOpenFlags      Image file open mode, see VD_OPEN_FLAGS_* constants.
    950951 * @param   pfnProgress     Progress callback. Optional. NULL if not to be used.
     
    957958                               PCPDMMEDIAGEOMETRY pPCHSGeometry,
    958959                               PCPDMMEDIAGEOMETRY pLCHSGeometry,
    959                                unsigned uOpenFlags, PFNVMPROGRESS pfnProgress,
    960                                void *pvUser);
     960                               PCRTUUID pUuid, unsigned uOpenFlags,
     961                               PFNVMPROGRESS pfnProgress, void *pvUser);
    961962
    962963/**
     
    970971 * @param   uImageFlags     Flags specifying special image features.
    971972 * @param   pszComment      Pointer to image comment. NULL is ok.
     973 * @param   pUuid           New UUID of the image. If NULL, a new UUID is created.
    972974 * @param   uOpenFlags      Image file open mode, see VD_OPEN_FLAGS_* constants.
    973975 * @param   pfnProgress     Progress callback. Optional. NULL if not to be used.
     
    976978VBOXDDU_DECL(int) VDCreateDiff(PVBOXHDD pDisk, const char *pszBackend,
    977979                               const char *pszFilename, unsigned uImageFlags,
    978                                const char *pszComment, unsigned uOpenFlags,
    979                                PFNVMPROGRESS pfnProgress, void *pvUser);
     980                               const char *pszComment, PCRTUUID pUuid,
     981                               unsigned uOpenFlags, PFNVMPROGRESS pfnProgress,
     982                               void *pvUser);
    980983
    981984/**
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