MCPcopy Create free account
hub / github.com/Sinflower/UberWolf / GetChangeExeNamePath

Function GetChangeExeNamePath

3rdParty/DXLib/FileLib.cpp:1300–1311  ·  view source on GitHub ↗

ファイルパスの拡張子を変えた文字列を得る

Source from the content-addressed store, hash-verified

1298
1299// ファイルパスの拡張子を変えた文字列を得る
1300extern 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// 語尾に『\』がついていない場合は付ける

Callers

nothing calls this directly

Calls 3

SetEnMarkFunction · 0.85

Tested by

no test coverage detected