diff --git a/API_General.cpp b/API_General.cpp index 0e48e65..82b65a5 100644 --- a/API_General.cpp +++ b/API_General.cpp @@ -133,6 +133,15 @@ __stdcall EgtGetKeyInfo( wchar_t*& wsKey) return (( wsKey == nullptr) ? FALSE : TRUE) ; } +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtGetKeyLevel( int nProd, int nVer, int nLev, int* pnKLev) +{ + if ( pnKLev == nullptr) + return FALSE ; + return ( ExeGetKeyLevel( nProd, nVer, nLev, *pnKLev) ? TRUE : FALSE) ; +} + //----------------------------------------------------------------------------- BOOL __stdcall EgtGetKeyOptions( int nProd, int nVer, int nLev, unsigned int* pnOpt2) diff --git a/EgtInterface.rc b/EgtInterface.rc index 8e2505f..92528a7 100644 Binary files a/EgtInterface.rc and b/EgtInterface.rc differ