|
// *********************************************************
// ファイルのコピー
// 戻り値 : 成功 true, 失敗 false
// *********************************************************
BOOL LboxFileSystem::Copy( LboxString *LstrFile, LboxString *LstrNewFile )
{
return LboxFileSystem::Copy(
LstrFile->szLboxString,
LstrNewFile->szLboxString
);
}
BOOL LboxFileSystem::Copy( LPCTSTR lpFile, LPCTSTR lpNewFile )
{
return CopyFile(
lpFile, // 既存のファイルの名前
lpNewFile, // 新しいファイルの名前
false // 上書き
);
}
| |