Function
Interrupt callback type
Format
CallBackProc ( Id, Message, wParam, lParam, Param )
Parameters
Id [C: short] [Python: ctypes.c_short]
Specifies the device ID retrieved from CntInit.
Message [C: short] [Python: ctypes.c_short]
Specifies the message number as the factor to call the callback function.
Definition |
Value |
CNTM_TIME_UP |
0x1140 |
wParam [C: long] [Python: ctypes.c_long]
0 is passed.
lParam [C: long] [Python: ctypes.c_long]
0 is passed.
Param [C: void *] [Python: ctypes.c_void_p]
The parameter which is passed in CntSetTimeUpCallBackProc is passed.
Return Value
None
Remarks
You should write the substance definition for interrupt callback function in this format.
See Also
CntSetTimeUpCallBackProc CntSetTimeUpEvent