VirtualBox

Changeset 1949 in vbox


Ignore:
Timestamp:
Apr 5, 2007 11:19:34 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
20219
Message:

Forgot a few VBox HDD container APIs.

File:
1 edited

Legend:

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

    r1942 r1949  
    296296
    297297/**
     298 * Make sure the on disk representation of a virtual HDD is up to date.
     299 *
     300 * @returns VBox status code.
     301 * @param   pDisk           Pointer to VBox HDD container.
     302 */
     303VBOXDDU_DECL(int) VBOXHDDFlush(PVBOXHDD pDisk);
     304
     305/**
    298306 * Get number of opened images in HDD container.
    299307 *
     
    422430
    423431/**
     432 * Get open flags of last opened image in HDD container.
     433 *
     434 * @returns VBox status code.
     435 * @returns VERR_VDI_NOT_OPENED if no image is opened in HDD container.
     436 * @param   pDisk           Pointer to VBox HDD container.
     437 * @param   puOpenFlags     Where to store the image open flags.
     438 */
     439VBOXDDU_DECL(int) VBOXHDDGetOpenFlags(PVBOXHDD pDisk, unsigned *puOpenFlags);
     440
     441/**
     442 * Set open flags of last opened image in HDD container.
     443 * This operation may cause file locking changes and/or files being reopened.
     444 * Note that in case of unrecoverable error all images in HDD container will be closed.
     445 *
     446 * @returns VBox status code.
     447 * @returns VERR_VDI_IMAGE_NOT_FOUND if image with specified number was not opened.
     448 * @param   pDisk           Pointer to VBox HDD container.
     449 * @param   uOpenFlags      Image file open mode, see VBOXHDD_OPEN_FLAGS_* constants.
     450 */
     451VBOXDDU_DECL(int) VBOXHDDSetOpenFlags(PVBOXHDD pDisk, unsigned uOpenFlags);
     452
     453/**
    424454 * Get base filename of opened image in HDD container. Some image formats use
    425455 * other filenames as well, so don't use this for anything but for informational
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