nn::fs::TryRenameFile 関数

構文

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

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

オーバーロードの一覧

TryRenameFile ( const wchar_t *, const wchar_t * ) ファイルをリネームします。
TryRenameFile ( const char *, const char * ) ファイルをリネームします。

TryRenameFile ( const wchar_t *, const wchar_t * ) の説明

ファイルをリネームする途中でエラーが発生した場合はそのエラーを返します。

TryRenameFile ( const char *, const char * ) の説明

ファイルをリネームする途中でエラーが発生した場合はそのエラーを返します。

この関数では、内部でパス名をマルチバイト文字列からワイド文字列に変換するために、 大きくスタック上にバッファを取るので、スタックの大きさには注意してください。