breve documentacion de ayuda sobre los errores
This commit is contained in:
parent
1ec9020545
commit
3aff8c08ed
|
@ -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
|
||||
|
|
Reference in New Issue