The 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.The function to delete virtual disk files is VixDiskLib_Unlink(). It takes two arguments: a connection and a VMDK filename.The function to rename virtual disk files is VixDiskLib_Rename(). It takes two arguments: the old and the new VMDK filenames.