EgtInterface 2.4a5 :

- aggiunte interfacce per funzioni Exe/Lua DuploSetLocked, DuploResetLocked e DuploGetLocked.
This commit is contained in:
DarioS
2022-01-17 15:11:27 +01:00
parent 962eb979a5
commit 10fc1e749b
2 changed files with 28 additions and 0 deletions
+28
View File
@@ -241,6 +241,34 @@ __stdcall EgtDuploGetModified( int nSouId, BOOL* pbModif)
return FALSE ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtDuploSetLocked( int nDupId)
{
return ( ExeDuploSetLocked( nDupId) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtDuploResetLocked( int nDupId)
{
return ( ExeDuploResetLocked( nDupId) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtDuploGetLocked( int nDupId, BOOL* pbModif)
{
if ( pbModif == nullptr)
return FALSE ;
bool bModif ;
if ( ExeDuploGetLocked( nDupId, bModif)) {
*pbModif = ( bModif ? TRUE : FALSE) ;
return TRUE ;
}
return FALSE ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtDuploUpdate( int nSouId)