diff --git a/API_MachMgr.cpp b/API_MachMgr.cpp index 12e703b..42750dc 100644 --- a/API_MachMgr.cpp +++ b/API_MachMgr.cpp @@ -129,6 +129,19 @@ __stdcall EgtGetMachGroupName( int nMGroupInd, wchar_t*& wsName) return (( wsName == nullptr) ? FALSE : TRUE) ; } +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtGetMachGroupMachineName( int nMGroupInd, wchar_t*& wsMachineName) +{ + if ( &wsMachineName == nullptr) + return FALSE ; + string sMachineName ; + if ( ! ExeGetMachGroupMachineName( nMGroupInd, sMachineName)) + return FALSE ; + wsMachineName = _wcsdup( stringtoW( sMachineName)) ; + return (( wsMachineName == nullptr) ? FALSE : TRUE) ; +} + //----------------------------------------------------------------------------- BOOL __stdcall EgtGetMachGroupId( const wchar_t* wsName) diff --git a/EgtInterface.rc b/EgtInterface.rc index 401eb22..3472479 100644 Binary files a/EgtInterface.rc and b/EgtInterface.rc differ