diff --git a/API_MachMgr.cpp b/API_MachMgr.cpp index 9337bdd..d9378a4 100644 --- a/API_MachMgr.cpp +++ b/API_MachMgr.cpp @@ -29,7 +29,7 @@ __stdcall EgtInitMachMgr( const wchar_t* wsMachinesDir, const wchar_t* wsToolMak } //----------------------------------------------------------------------------- -// Errors +// Errors & Warnings //----------------------------------------------------------------------------- int __stdcall EgtGetLastMachMgrErrorId( void) @@ -44,6 +44,20 @@ __stdcall EgtGetLastMachMgrErrorString( void) return _wcsdup( stringtoW( ExeGetLastMachMgrErrorString())) ; } +//----------------------------------------------------------------------------- +int +__stdcall EgtGetMachMgrWarningId( int nInd) +{ + return ExeGetMachMgrWarningId( nInd) ; +} + +//----------------------------------------------------------------------------- +wchar_t* +__stdcall EgtGetMachMgrWarningString( int nInd) +{ + return _wcsdup( stringtoW( ExeGetMachMgrWarningString( nInd))) ; +} + //----------------------------------------------------------------------------- // Machines //----------------------------------------------------------------------------- diff --git a/EgtInterface.rc b/EgtInterface.rc index d597f8c..10cb563 100644 Binary files a/EgtInterface.rc and b/EgtInterface.rc differ