From 10fc1e749badf3204cda072ba934ee2f2485eefb Mon Sep 17 00:00:00 2001 From: DarioS Date: Mon, 17 Jan 2022 15:11:27 +0100 Subject: [PATCH] EgtInterface 2.4a5 : - aggiunte interfacce per funzioni Exe/Lua DuploSetLocked, DuploResetLocked e DuploGetLocked. --- API_GdbPartLayers.cpp | 28 ++++++++++++++++++++++++++++ EgtInterface.rc | Bin 11718 -> 11718 bytes 2 files changed, 28 insertions(+) diff --git a/API_GdbPartLayers.cpp b/API_GdbPartLayers.cpp index 4ec089d..f7a21ae 100644 --- a/API_GdbPartLayers.cpp +++ b/API_GdbPartLayers.cpp @@ -241,6 +241,34 @@ __stdcall EgtDuploGetModified( int nSouId, BOOL* pbModif) return FALSE ; } +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtDuploSetLocked( int nDupId) +{ + return ( ExeDuploSetLocked( nDupId) ? TRUE : FALSE) ; +} + +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtDuploResetLocked( int nDupId) +{ + return ( ExeDuploResetLocked( nDupId) ? TRUE : FALSE) ; +} + +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtDuploGetLocked( int nDupId, BOOL* pbModif) +{ + if ( pbModif == nullptr) + return FALSE ; + bool bModif ; + if ( ExeDuploGetLocked( nDupId, bModif)) { + *pbModif = ( bModif ? TRUE : FALSE) ; + return TRUE ; + } + return FALSE ; +} + //----------------------------------------------------------------------------- BOOL __stdcall EgtDuploUpdate( int nSouId) diff --git a/EgtInterface.rc b/EgtInterface.rc index 3916477f49a925590ccdd8ca69c38cbb309a8434..daddb76140036c5920ea448fee691f9ecdc36088 100644 GIT binary patch delta 207 zcmX>WeJpyzFE&Qg%^&&Pnb^x25*dmZQYYIBR!=^{S;uHP`JtfhdgnZ x4VW=?e1)sFm~6nKGx-iz5=_@-ec{zubW~4XB8kh61=5&y$SdNrgI{?&7XVO`K{fyY delta 207 zcmX>WeJpyzFE&P_%^&&Pnb<=ZQW=sNGA7##R!=^{S;uHJ`JtfhdgnZ x4VW=?e1)sFm~6nKGx-iz5=_@-ec{zubW~4XB8kh61=5&y$SdNrgI{?&7XZA7KgIw6