nn::fs::TryRenameDirectory Function

Syntax

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

Arguments

Name Description
in currentPath Path to rename
in newPath Renamed path

Return Values

Returns the result of the operation.

Description

Renames a directory.

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.

Revision History

2010/12/22
Added a link to the error handling page.
2010/11/09
Initial version.

CONFIDENTIAL