EgtInterface 1.8h4 :
- aggiunta EgtSimGetOperationInfo.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user