From e6e96f6de2098d976f244a735381f2c64acfe172 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Wed, 29 Jul 2015 07:08:28 +0000 Subject: [PATCH] EgtExecutor 1.6g8 : - aggiunta funzione EgtGetKeyInfo. --- API_General.cpp | 12 ++++++++++++ EgtInterface.rc | Bin 11718 -> 11718 bytes 2 files changed, 12 insertions(+) diff --git a/API_General.cpp b/API_General.cpp index 1877c1d..117b7a5 100644 --- a/API_General.cpp +++ b/API_General.cpp @@ -121,6 +121,18 @@ __stdcall EgtGetVersionInfo( wchar_t*& wsVer) return (( wsVer == nullptr) ? FALSE : TRUE) ; } +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtGetKeyInfo( wchar_t*& wsKey) +{ + // recupero le informazioni sulla protezione + string sKey ; + if ( ! ExeGetKeyInfo( sKey)) + return FALSE ; + wsKey = _wcsdup( stringtoW( sKey)) ; + return (( wsKey == nullptr) ? FALSE : TRUE) ; +} + //----------------------------------------------------------------------------- BOOL __stdcall EgtGetOsInfo( wchar_t*& wsOs) diff --git a/EgtInterface.rc b/EgtInterface.rc index d0e9d6f34f13ac397cb9b1f688d65f1ccd94d4db..7526761a1aadbc4eb691262a9f59900145d26cc5 100644 GIT binary patch delta 111 zcmX>WeJpyzFE&Pt%^&$rGEF|hS;uHG`Jtfh<^rw;7OzIAO+TQQ4Xt~E@c}o08!g0-T(jq delta 111 zcmX>WeJpyzFE&QA%^&$rGEF|hS;uHL`Jtfh<^rw;7OzIAO+TQQ4Xt~E@c}o08Rra&Hw-a