Renames an open file.
#include <nks/fsio.h> int NXFileRenameWithHandle ( NXHandle_t fileHandle, NXPathCtx_t targetPathCtx, const void *newname, NXBool_t overwrite);
(IN) Specifies a handle to a previously opened file.
(IN) Points to the file system path context for the renamed object. Along with the targetname parameter, it specifies the new name of the object.
(IN) Points to a new name (in Unicode or ASCII) for the specified file.
(IN) Not currently used. Set to 0.
If successful, returns 0. Otherwise, returns one of the following:
NXFileRenameWithHandle renames an open file. Currently, it is only supported on NSS volumes. On traditional volumes, remote file systems, or the DOS partition, it returns ENOTSUP.