From 7cc2d4430cddd3ea986bd373a53ad9a2455df0f8 Mon Sep 17 00:00:00 2001 From: DarioS Date: Tue, 30 May 2023 17:07:52 +0200 Subject: [PATCH] EgtInterface 2.5e5 : - aggiunta in interfaccia funzione EgtSetLockId. --- API_General.cpp | 8 +++++++- EgtInterface.rc | Bin 11718 -> 11718 bytes 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/API_General.cpp b/API_General.cpp index a7762cb..e3ce663 100644 --- a/API_General.cpp +++ b/API_General.cpp @@ -180,11 +180,17 @@ __stdcall EgtSetLockType( int nType) return ( ExeSetLockType( nType) ? TRUE : FALSE) ; } +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtSetLockId( const wchar_t* wsLockId) +{ + return ( ExeSetLockId( wstrztoA( wsLockId)) ? TRUE : FALSE) ; +} //----------------------------------------------------------------------------- BOOL __stdcall EgtSetNetHwKey( BOOL bNetHwKey) { - return ( ExeSetNetHwKey( bNetHwKey != FALSE) ? TRUE : FALSE) ; + return ( ExeSetNetHwKey( bNetHwKey != FALSE, 0) ? TRUE : FALSE) ; } //----------------------------------------------------------------------------- diff --git a/EgtInterface.rc b/EgtInterface.rc index 622c30aef4d5b380d137d19075f5dda3f49b86d1..d54368aa492d0ce41d19d1eca36d1e2afa1c6f98 100644 GIT binary patch delta 135 zcmX>WeJpyzH#SyN1|0^|%^&$rGEF|hS;L&lU^@Aspzh`Zt{N7&oFg+#d~yMo#bg5> joym8&o@`zvtiudf1Ju7n5}`jp3a5(hm delta 135 zcmX>WeJpyzH#Sxi1|0_D%^&$rGEF|hS;L&dU_AMupzh`Zt{N7&oFg+#d~yMo#bg5> joym8&o@`zvtiudf1Ju7n5}`jp3a9b*