EgtInterface 1.9f4 :
- aggiunta interfaccia per EgtGetIniFile.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user