Renaming a Disk

The function to rename virtual disk files is
VixDiskLib_Rename()
. It takes two arguments: the old and the new VMDK filenames.
vixError = VixDiskLib_Rename(oldGlobals.diskpath, newGlobals.diskpath);