CL2.GetMsgCount (FUN)

 

This function of the CAA_CanL2.library returns the number of messages currently available in the “hReceiverId” handle which can be read with the function CL2.Read.

Input:

hRegId

CAA.HANDLE

handle of identifier registered

peError

POINTER TO CL2.ERROR

pointer to error code (enumeration type)

Output:

ctMsgCount

CAA.COUNT

number of messages available