EgtInterface 1.8b5 :

- aggiunta interfaccia per EgtGetMachGroupMachineName.
This commit is contained in:
Dario Sassi
2017-02-16 11:31:25 +00:00
parent 056ad8dac7
commit 05153d26ed
2 changed files with 13 additions and 0 deletions
+13
View File
@@ -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)