The virtual disk library reads and writes sectors of data. It has no interface for character or byte-oriented I/O. What to read next Reading and Writing Local DiskDemonstrating random I/O, this function reads a sector at a time backwards through a VMDK. If it sees the string “VmWare” it substitutes the string “VMware” in its place and writes the sector back to VMDK. Reading and Writing Remote DiskThe DoEdit() function is similar for remote managed virtual disk on ESXi hosts, but beforehand you must call VixDiskLib_Connect() with authentication credentials instead of passing NULL parameters. Deleting a Disk (Unlink)The function to delete virtual disk files is VixDiskLib_Unlink(). It takes two arguments: a connection and a VMDK filename. Renaming a DiskThe function to rename virtual disk files is VixDiskLib_Rename(). It takes two arguments: the old and the new VMDK filenames. Parent topic: Practical Programming Tasks