ファイルパスの拡張子を変えた文字列を得る
| 1298 | |
| 1299 | // ファイルパスの拡張子を変えた文字列を得る |
| 1300 | extern int GetChangeExeNamePath( const TCHAR *Src, TCHAR *Dest, const TCHAR *ExeName ) |
| 1301 | { |
| 1302 | TCHAR DirPath[1024], FileName[1024] ; |
| 1303 | |
| 1304 | AnalysisFileNameAndDirPath( Src, NULL, DirPath ) ; |
| 1305 | AnalysisFileNameAndExeName( Src, FileName, 0 ) ; |
| 1306 | SetEnMark( DirPath ) ; |
| 1307 | _stprintf( Dest, TEXT( "%s%s.%s" ), DirPath, FileName, ExeName ) ; |
| 1308 | |
| 1309 | // 終了 |
| 1310 | return 0 ; |
| 1311 | } |
| 1312 | |
| 1313 | |
| 1314 | // 語尾に『\』がついていない場合は付ける |
nothing calls this directly
no test coverage detected