Function
It is exit processing, and the device can't be accessed. Supports multi-processing.
Format
Ret = CntExit ( Id )
Parameters
Id
[ VB.NET: Short ] [ C, C++: short ] [ C#: short ] [ Python: ctypes.c_short
]
Specify the device ID retrieved from CntInit.
Return Value
Ret [ VB.NET: Integer ] [ C, C++: long ] [ C#: int ] [ Python: ctypes.c_long ]
Definition |
Value |
Description |
CNT_ERR_SUCCESS |
0 |
Normality completion |
CNT_ERR_DLL_INVALID_ID |
10001 |
Invalid ID was specified. |
CNT_ERR_DLL_CALL_DRIVER |
10002 |
CNT driver can't be called (Failed in the device I/O control). |
CNT_ERR_DLL_CLOSE_FILE |
10004 |
Failed in the closing of the file (Failed in CloseFile). |
The others: (See also: Details of Error Code)
Initial value
None
Remarks
Makes the device ID retrieved from CntInit invalid, and the device can't be accessed. After calling this function, every function except CntInit can't be used.
Example
Performs termination processing.
VB.NET |
Dim Ret As Integer |
C, C++ |
long
Ret; |
C# |
int Ret; |
Python |
Ret
= ctypes.c_long() |
See Also