nn::fs::TryRenameFile Function

Syntax

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

Arguments

Name Description
in currentPath Path to rename
in newPath Renamed path

Return Values

Description

Renames a file.

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


CONFIDENTIAL