nn::fs::TryRenameDirectory Function

Syntax

Result TryRenameDirectory(
     const wchar_t * currentPath,
     const wchar_t * newPath
);

Result TryRenameDirectory(
     const char * currentPath,
     const char * newPath
);

List of Overloaded Member Functions

TryRenameDirectory(const wchar_t *, const wchar_t *) Renames a directory.
TryRenameDirectory(const char *, const char *) Renames a directory.

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

This function returns any error that occurs while it is renaming the directory.

Which Result values need handling will differ, depending on the archive. For details, see Handling Errors During File and Directory Operations.

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

This function returns any error that occurs while it is renaming the directory.


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

Which Result values need handling will differ, depending on the archive. For details, see Handling Errors During File and Directory Operations.


CONFIDENTIAL