EgtInterface 1.6i4 :
- Set e Get per InfoDouble su entità - aggiunte EgtGetFirstNameInGroup e sue derivate - modificata EgtPackPart.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user