Function
Get the error string from the error code.
Format
Ret = SsiGetErrorString ( ErrorCode , ErrorString )
Parameters
ErrorCode
[ C: long ] [ Python: ctypes.c_long ]
Specify the return value of each function.
ErrorString
[ C: char * ] [ Python: ctypes.c_char_p ]
Specify the base address of the buffer to store the error string. The maximum length of the string is 256 characters.
Return Value
Ret [C: long ] [ Python: ctypes.c_long ]
Definition |
Value [Dec] |
Description |
SSI_ERR_SUCCESS |
0 |
Succeeded |
SSI_ERR_DLL_BUFF_ADDRESS |
10100 |
Invalid data buffer address. |
The others (See also: Details of Error Code)
Initial Value
None
Remarks
It is an utility function that returns the meaningful string for the error code. Please use this function for the error processing.
Example
C |
long
Ret; |
Python |
Ret
= ctypes.c_long() |
See Also
None