From 199bd2b144081a8e9c9508667875299f74cde570 Mon Sep 17 00:00:00 2001 From: EricLiu2000 Date: Tue, 23 Jul 2019 17:16:27 -0400 Subject: [PATCH] Reverted refactor changes to icsneolegacy.h --- include/icsneo/icsneolegacy.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/icsneo/icsneolegacy.h b/include/icsneo/icsneolegacy.h index e6e9c2b..a0d554c 100644 --- a/include/icsneo/icsneolegacy.h +++ b/include/icsneo/icsneolegacy.h @@ -60,9 +60,9 @@ extern int DLLExport icsneoGetDeviceParameters(void* hObject, char* pParameter, extern int DLLExport icsneoSetDeviceParameters(void* hObject, char* pParmValue, int* pErrorIndex, int bSaveToEEPROM); //Error Functions -extern int DLLExport icsneoGetLastAPIEvent(void* hObject, unsigned long* peventNumber); +extern int DLLExport icsneoGetLastAPIError(void* hObject, unsigned long* pErrorNumber); extern int DLLExport icsneoGetErrorMessages(void* hObject, int* pErrorMsgs, int* pNumberOfErrors); -extern int DLLExport icsneoGetErrorInfo(int leventNumber, TCHAR*szErrorDescriptionShort, TCHAR*szErrorDescriptionLong, int* lMaxLengthShort, int* lMaxLengthLong,int* lErrorSeverity,int* lRestartNeeded); +extern int DLLExport icsneoGetErrorInfo(int lErrorNumber, TCHAR*szErrorDescriptionShort, TCHAR*szErrorDescriptionLong, int* lMaxLengthShort, int* lMaxLengthLong,int* lErrorSeverity,int* lRestartNeeded); //ISO15765-2 Functions extern int DLLExport icsneoISO15765_EnableNetworks(void* hObject, unsigned long ulNetworks);