From dc7a6fa31ff00ad7439e98c20d1a76398b156b1c Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Thu, 25 Jan 2024 18:17:54 +0100 Subject: [PATCH] Include : - aggiornamento prototipi. --- EInAPI.h | 1 + EXeExecutor.h | 1 + SELkKeyProc.h | 7 +++++-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/EInAPI.h b/EInAPI.h index 4705e0d..3476840 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -57,6 +57,7 @@ EIN_EXPORT BOOL __stdcall EgtSetNetHwKey( BOOL bNetHwKey) ; EIN_EXPORT BOOL __stdcall EgtGetKeyLevel( int nProd, int nVer, int nLev, int* pnKLev) ; EIN_EXPORT BOOL __stdcall EgtGetKeyOptions( int nProd, int nVer, int nLev, unsigned int* pnOpt2) ; EIN_EXPORT BOOL __stdcall EgtGetKeyLeftDays( int* pnLeftDays) ; +EIN_EXPORT BOOL __stdcall EgtGetKeyAssLeftDays( int* pnAssLeftDays) ; EIN_EXPORT BOOL __stdcall EgtGetKeyOptLeftDays( int* pnOptLeftDays) ; EIN_EXPORT BOOL __stdcall EgtGetOsInfo( wchar_t*& wsOs) ; EIN_EXPORT BOOL __stdcall EgtGetCpuInfo( wchar_t*& wsCpu) ; diff --git a/EXeExecutor.h b/EXeExecutor.h index a06c890..c22eee9 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -62,6 +62,7 @@ EXE_EXPORT bool ExeSetNetHwKey( bool bNetHwKey, int nUserId = 0, const std::stri EXE_EXPORT bool ExeGetKeyLevel( int nProd, int nVer, int nLev, int& nKLev) ; EXE_EXPORT bool ExeGetKeyOptions( int nProd, int nVer, int nLev, unsigned int& nOpt2) ; EXE_EXPORT bool ExeGetKeyLeftDays( int& nLeftDays) ; +EXE_EXPORT bool ExeGetKeyAssLeftDays( int& nAssLeftDays) ; EXE_EXPORT bool ExeGetKeyOptLeftDays( int& nOptLeftDays) ; EXE_EXPORT bool ExeGetOsInfo( std::string& sOs) ; EXE_EXPORT bool ExeGetCpuInfo( std::string& sCpu) ; diff --git a/SELkKeyProc.h b/SELkKeyProc.h index 8a74a06..673d6ac 100644 --- a/SELkKeyProc.h +++ b/SELkKeyProc.h @@ -1,13 +1,14 @@ //---------------------------------------------------------------------------- -// EgalTech 2014-2015 +// EgalTech 2014-2024 //---------------------------------------------------------------------------- -// File : SELkKeyProc.h Data : 27.07.15 Versione : 1.6g1 +// File : SELkKeyProc.h Data : 25.01.24 Versione : 2.6a1 // Contenuto : Dichiarazione funzioni per la gestione della chiave. // // // // Modifiche : 10.09.14 DS Creazione modulo. // 27.02.15 DS Agg. gestione chiavi hardware OxySec. +// 25.01.24 DS Agg. GetKeyLevelEx per scadenza assistenza. // //---------------------------------------------------------------------------- @@ -25,6 +26,8 @@ bool ReadKey( const std::string& sKey, const std::string& sScramKey, int VerifyKey( const std::string& sKey, int nProd, int nVer, int nLev) ; int GetKeyLevel( const std::string& sKey, int nProd, int nVer, int nLev, int& nKLev, int& nKExpDays) ; +int GetKeyLevelEx( const std::string& sKey, int nProd, int nVer, int nLev, + int& nKLev, int& nKExpDays, int& nKAssExpDays) ; int GetKeyOptions( const std::string& sKey, int nProd, int nVer, int nLev, unsigned int& nKOpt1, unsigned int& nKOpt2, int& nKOptExpDays) ; int GetCurrDay( void) ;