EgtInterface 1.9f4 :

- aggiunta interfaccia per EgtGetIniFile.
This commit is contained in:
Dario Sassi
2018-06-23 11:20:13 +00:00
parent 255226e82a
commit 375c65b9a2
2 changed files with 13 additions and 0 deletions
+13
View File
@@ -93,6 +93,19 @@ __stdcall EgtSetIniFile( const wchar_t* wsIniFile)
return ( ExeSetIniFile( wstrztoA( wsIniFile)) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtGetIniFile( wchar_t*& wsIniFile)
{
if ( &wsIniFile == nullptr)
return FALSE ;
// recupero il nome del file ini
string sIniFile ;
ExeGetIniFile( sIniFile) ;
wsIniFile = _wcsdup( stringtoW( sIniFile)) ;
return (( wsIniFile == nullptr) ? FALSE : TRUE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSetCommandLogger( const wchar_t* wsLogFile)