From 8e4ac3e73b5f107b00068348a6add28a08ef1217 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Tue, 29 Jan 2019 15:10:16 +0000 Subject: [PATCH] EgtInterface 2.1a7 : - aggiunte interfacce per EgtGetKeyLeftDays e EgtGetKeyOptLeftDays. --- API_General.cpp | 18 ++++++++++++++++++ EgtInterface.rc | Bin 11718 -> 11718 bytes 2 files changed, 18 insertions(+) diff --git a/API_General.cpp b/API_General.cpp index 3471bf1..923e3de 100644 --- a/API_General.cpp +++ b/API_General.cpp @@ -178,6 +178,24 @@ __stdcall EgtGetKeyOptions( int nProd, int nVer, int nLev, unsigned int* pnOpt2) return ( ExeGetKeyOptions( nProd, nVer, nLev, *pnOpt2) ? TRUE : FALSE) ; } +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtGetKeyLeftDays( int* pnLeftDays) +{ + if ( pnLeftDays == nullptr) + return FALSE ; + return ( ExeGetKeyLeftDays( *pnLeftDays) ? TRUE : FALSE) ; +} + +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtGetKeyOptLeftDays( int* pnOptLeftDays) +{ + if ( pnOptLeftDays == nullptr) + return FALSE ; + return ( ExeGetKeyOptLeftDays( *pnOptLeftDays) ? TRUE : FALSE) ; +} + //----------------------------------------------------------------------------- BOOL __stdcall EgtGetOsInfo( wchar_t*& wsOs) diff --git a/EgtInterface.rc b/EgtInterface.rc index bb7ed5a9a209dd929ba09c2e8f69c9b582b8f398..54bc8d176217cce1b69a7c8414cb77f6944cfff6 100644 GIT binary patch delta 111 zcmX>WeJpyzFE&Q=%^&$rGEF|hS;uHT`Jtfh<^rw;7OzIAO+TQQ4Xt~E@c}o08j5I)&Kwi delta 111 zcmX>WeJpyzFE&Qg%^&$rGEF|hS;uHP`Jtfh<^rw;7OzIAO+TQQ4Xt~E@c}o08AGs#sB~S