EgtInterface 1.6i4 :

- Set e Get per InfoDouble su entità
- aggiunte EgtGetFirstNameInGroup e sue derivate
- modificata EgtPackPart.
This commit is contained in:
Dario Sassi
2015-09-07 08:24:30 +00:00
parent fa39f868d0
commit 10e170916e
4 changed files with 48 additions and 2 deletions
+18
View File
@@ -266,6 +266,13 @@ __stdcall EgtSetInfoInt( int nId, const wchar_t* wsKey, int nInfo)
return ( ExeSetInfo( nId, wstrztoA( wsKey), nInfo) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSetInfoDouble( int nId, const wchar_t* wsKey, double dInfo)
{
return ( ExeSetInfo( nId, wstrztoA( wsKey), dInfo) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtGetInfo( int nId, const wchar_t* wsKey, wchar_t*& wsInfo)
@@ -288,6 +295,17 @@ __stdcall EgtGetInfoInt( int nId, const wchar_t* wsKey, int* pnInfo)
return ( ExeGetInfo( nId, wstrztoA( wsKey), *pnInfo) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtGetInfoDouble( int nId, const wchar_t* wsKey, double* pdInfo)
{
// verifico il parametro
if ( pdInfo == nullptr)
return FALSE ;
// recupero info
return ( ExeGetInfo( nId, wstrztoA( wsKey), *pdInfo) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtExistsInfo( int nId, const wchar_t* wsKey)