# Name

VixDiskLib_Rename

# Description

    VixError
    VixDiskLib_Rename(const char *srcFileName
                      const char *dstFileName);

Renames a virtual disk.

# Parameters

srcFileName
  Original path name for the virtual disk to be renamed.
dstFileName
  New name for the virtual disk.

# Return Value

VIX_OK if the function succeeded, otherwise an appropriate VIX error code.

# Example

       vixError = VixDiskLib_Rename(oldGlobals.diskpath,
                                    newGlobals.diskpath);

Copyright (C) 2007-2015 VMware, Inc. All rights reserved.