EgtInterface :

- adattamenti per modifica nomi puntatori a funzione.
This commit is contained in:
Dario Sassi
2025-10-13 08:50:00 +02:00
parent 3b20d2a487
commit a52a9c5edb
+4 -4
View File
@@ -41,7 +41,7 @@ __stdcall EgtExit( void)
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSetOnTerminateProcess( pfOnTerminateProcess pFun)
__stdcall EgtSetOnTerminateProcess( psfOnTerminateProcess pFun)
{
return ( ExeSetOnTerminateProcess( pFun) ? TRUE : FALSE) ;
}
@@ -307,14 +307,14 @@ __stdcall EgtOutLog( const wchar_t* wsMsg)
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSetProcessEvents( pfProcEvents pFun)
__stdcall EgtSetProcessEvents( psfProcEvents pFun)
{
return ( ExeSetProcessEvents( pFun) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
static pfOutTextW s_pFunOutText = nullptr ;
static psfOutTextW s_pFunOutText = nullptr ;
//-----------------------------------------------------------------------------
bool
@@ -332,7 +332,7 @@ __stdcall MyOutText( const string& sText)
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSetOutText( pfOutTextW pFun)
__stdcall EgtSetOutText( psfOutTextW pFun)
{
s_pFunOutText = pFun ;
return ( ExeSetOutText( (( pFun != nullptr) ? MyOutText : nullptr)) ? TRUE : FALSE) ;