From 3aff8c08edd484b230355110ff6afa6ca4d6c8fe Mon Sep 17 00:00:00 2001 From: Ernesto Empty Date: Fri, 17 May 2019 14:35:21 +0000 Subject: [PATCH] breve documentacion de ayuda sobre los errores --- LectorVerdnatura/sdklector.cs | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/LectorVerdnatura/sdklector.cs b/LectorVerdnatura/sdklector.cs index 0015b70..0cdf89e 100644 --- a/LectorVerdnatura/sdklector.cs +++ b/LectorVerdnatura/sdklector.cs @@ -139,6 +139,32 @@ namespace LectorVerdnatura { clector.GetLastError(ref idwErrorCode); if (idwErrorCode != 0) +/* +Obtenido de: www.digitalfarsi.com/files/22112014163844.pdf + +2.61 GetLastError + +[Function] + Get last error number. +[Protocol] + BOOL GetLastError(long FAR* dwErrorCode); +[Paramters] + dwErrorCode: The returned error number + Value Description + 1 SUCCESSED + 4 ERR_INVALID_PARAM + 0 ERR_NO_DATA + -1 ERROR_NOT_INIT + -2 ERROR_IO + -3 ERROR_SIZE + -4 ERROR_NO_SPACE + -100 ERROR_UNSUPPORT +[Return] + TRUE if success, FALSE else. +[Notes] + dwErrorCode = 6 caused by calling Method GetGeneralLogData, and GetAllGLogData. + If them return FALSE, please call GetLastError to determine if there is error or read over data. +*/ logevent.logeventwritefile("ErrorCode: " + idwErrorCode.ToString()); retorno = false; else