PCNT_SAMPLING_COUNT_CALLBACK


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_COUNT

0x1151

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 CntSetSamplingCountEvent is passed.

Return Value

None

Remarks

You should write the substance definition for interrupt callback function in this format.

See Also

CntSetSamplingCountEvent