Function
Interrupt callback type
Format
CallBackProc ( Id, Message, wParam, lParam, Param )
Parameters
Id [ C, C++ : short] [Python: ctypes.c_short]
Specifies the device ID retrieved from CntInit.
Message [ C, C++ : short] [Python: ctypes.c_short]
The message number that caused the callback function call is passed.
Definition |
Value |
CNTM_SAMPLING_STOP |
0x1150 |
wParam [ C, C++ : long] [Python: ctypes.c_long]
The parameter is passed by the driver. It doesn't use it now.
lParam [ C, C++ : long] [Python: ctypes.c_long]
The parameter is passed by the driver. It doesn't use it now.
Param [ C, C++ : void *] [Python: ctypes.c_void_p]
The parameter which is passed in CntSetSamplingStopEvent is passed.
Return Value
None
Remarks
You should write the substance definition for interrupt callback function in this format.
See Also