These functions create, open, read, write, query, and close virtual disk. What to read next Create a New Hosted DiskVixDiskLib_Create() locally creates a new virtual disk, after being connected to the host. In createParams, you must specify the disk type, adapter, hardware version, and capacity as a number of sectors. This function supports hosted disk. For managed disk, first create a hosted type virtual disk, then use VixDiskLib_Clone() to convert the virtual disk to managed disk. Open a Local or Remote DiskAfter the library connects to a workstation or server, VixDiskLib_Open() opens a virtual disk. With SAN or HotAdd transport, opening a remote disk for writing requires a pre-existing snapshot. Read Sectors From a DiskVixDiskLib_Read() reads a range of sectors from an open virtual disk. You specify the beginning sector and the number of sectors. Sector size could vary, but is defined in <vixDiskLib.h> as 512 bytes because VMDK files have that sector size. Write Sectors To a DiskVixDiskLib_Write() writes one or more sectors to an open virtual disk. This function expects the fourth parameter buf to be VIXDISKLIB_SECTOR_SIZE bytes long. Close a Local or Remote DiskVixDiskLib_Close() closes an open virtual disk. Get Information About a Disk Free Memory from Get InformationThis function deallocates memory allocated by VixDiskLib_GetInfo(). Call it to avoid a memory leak. Parent topic: Virtual Disk API Functions