EgtInterface 1.8h4 :

- aggiunta EgtSimGetOperationInfo.
This commit is contained in:
Dario Sassi
2017-08-18 17:27:08 +00:00
parent 52912a5e6c
commit af432b6b04
2 changed files with 13 additions and 0 deletions
+13
View File
@@ -1487,6 +1487,19 @@ __stdcall EgtSimGetToolInfo( wchar_t*& wsTool, double* pdSpeed)
return (( wsTool == nullptr) ? FALSE : TRUE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSimGetOperationInfo( wchar_t*& wsName, int* pnType)
{
if ( &wsName == nullptr || pnType == nullptr)
return FALSE ;
string sName ;
if ( ! ExeSimGetOperationInfo( sName, *pnType))
return FALSE ;
wsName = _wcsdup( stringtoW( sName)) ;
return (( wsName == nullptr) ? FALSE : TRUE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSimGetMoveInfo( int* pnGmove, double* pdFeed)