GetMessageDataPointer2 (FUN)¶
FUNCTION GetMessageDataPointer2 : POINTER TO BYTE
Returns pointer to the first data byte of a message. Number of valid bytes can be retrieved by GetMessageLength.
Note
The data is organised in the “Network Byte Order“ of the CANbus. The alignment of data types in the RTS memory may differ from the alignment in the data messages.
- InOut:
Scope
Name
Type
Comment
Return
GetMessageDataPointer2
POINTER TO BYTE
Pointer to message data
Input
hMessage
CAA.HANDLE
handle of message
peError
POINTER TO ERROR
optional pointer to error enum