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 3916477..daddb76 100644 Binary files a/EgtInterface.rc and b/EgtInterface.rc differ