diff --git a/API_MachMgr.cpp b/API_MachMgr.cpp index 02c2111..957b527 100644 --- a/API_MachMgr.cpp +++ b/API_MachMgr.cpp @@ -73,6 +73,19 @@ __stdcall EgtGetNextMachGroup( int nId) return ExeGetNextMachGroup( nId) ; } +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtGetMachGroupNewName( const wchar_t* wsName, wchar_t*& wsNewName) +{ + if ( &wsNewName == nullptr) + return FALSE ; + string sNewName = wstrztoA( wsName) ; + if ( ! ExeGetMachGroupNewName( sNewName)) + return FALSE ; + wsNewName = _wcsdup( stringtoW( sNewName)) ; + return (( wsNewName == nullptr) ? FALSE : TRUE) ; +} + //----------------------------------------------------------------------------- int __stdcall EgtAddMachGroup( const wchar_t* wsName, const wchar_t* wsMachineName) diff --git a/EgtInterface.rc b/EgtInterface.rc index b8dd8cf..56c4c42 100644 Binary files a/EgtInterface.rc and b/EgtInterface.rc differ