nn::fs::RenameFile Function

Syntax

void RenameFile(
     const wchar_t * currentPath,
     const wchar_t * newPath
);

void RenameFile(
     const char * currentPath,
     const char * newPath
);

List of Overloaded Member Functions

RenameFile ( const wchar_t *, const wchar_t * ) Renames a file.
RenameFile ( const char *, const char * ) Renames a file.

Description of RenameFile ( const wchar_t *, const wchar_t * )

This function does not return processing results and it is therefore impossible to handle errors. In general, use TryRename.

Description of RenameFile ( const char *, const char * )


Note: This function uses a large amount of buffer space on the stack because it converts the path name from a multibyte-character string into a wide-character string. Pay careful attention to the stack size.

This function does not return processing results and it is therefore impossible to handle errors. In general, use TryRename.


CONFIDENTIAL