Function
It is exit processing, and make the device cannot be accessed.
Format
Ret = SsiExit ( Id )
Parameters
Id
[ C: short ] [ Python: ctypes.c_short ]
Specify the device ID retrieved from SsiInit.
Return Value
Ret [ C: long ] [ Python: ctypes.c_long ]
Definition |
Value [Dec] |
Description |
SSI_ERR_SUCCESS |
0 |
Succeeded |
SSI_ERR_DLL_INVALID_ID |
10001 |
Invalid device id. Please confirm whether the initialization function has completed normally. |
SSI_ERR_DLL_CALL_DRIVER |
10002 |
Can not call driver (ioctl failed). Please confirm whether the initialization function has completed normally. |
SSI_ERR_DLL_CLOSE_FILE |
10004 |
Can not close driver file (close failed). It is possible that you have executed the termination processing for the device which was not initialized. |
The others (See also: Details of Error Code)
Initial Value
None
Remarks
Make the device ID retrieved from SsiInit invalid, and the device cannot be accessed.
After calling this function, each function except SsiInit cannot be used.
Example
C |
long
Ret; |
Python |
Ret
= ctypes.c_long() |
See Also