VirtualBox

Ignore:
Timestamp:
Aug 15, 2008 2:33:02 PM (16 years ago)
Author:
vboxsync
Message:

Storage/VBoxHDD-new: introduced VD interfaces per image and per operation, completely unifying callback handling.

File:
1 edited

Legend:

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

    r11435 r11444  
    475475        CHECK("VDGetFormat()");
    476476
    477         rc = VDOpen(pVD, pszBackend, pszBaseFilename, VD_OPEN_FLAGS_NORMAL);
     477        rc = VDOpen(pVD, pszBackend, pszBaseFilename, VD_OPEN_FLAGS_NORMAL,
     478                    NULL);
    478479        CHECK("VDOpen()");
    479480    }
     
    520521
    521522    RTPrintf("Merging diff into base..\n");
    522     rc = VDMerge(pVD, (unsigned)-1, 0, NULL, NULL);
     523    rc = VDMerge(pVD, VD_LAST_IMAGE, 0, NULL);
    523524    CHECK("VDMerge()");
    524525
     
    610611    VDCloseAll(pVD);
    611612
    612     rc = VDOpen(pVD, pszBackend, pszFilename, VD_OPEN_FLAGS_NORMAL);
     613    rc = VDOpen(pVD, pszBackend, pszFilename, VD_OPEN_FLAGS_NORMAL, NULL);
    613614    CHECK("VDOpen()");
    614615    rc = readAndCompareSegments(pVD, pvBuf, paSegments);
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