CanEasy COM-Help
CanEasy::IMsgData Interface Reference

Inherits IDispatch.

Detailed Description

Allows access to the message payload

interface IMsgData : IDispatch
{
HRESULT Array([out, retval] VARIANT *pData);
HRESULT Array([in] VARIANT vData);
HRESULT Byte([in] long lIndex, [out, retval] byte* pVal);
HRESULT Byte([in] long lIndex, [in] byte bVal);
};

Definition at line 3946 of file cand_tlb.idl.

Property Documentation

◆ Array

VARIANT CanEasy::IMsgData::Array
getset

Byte-Array of the message.

Returned byte array is just a copy. You must assign the changed data to change the payload.

◆ Byte

byte CanEasy::IMsgData::Byte
getset

Access single byte

Parameters
lIndexIndex of byte to access (counting from 1)
bValByte to write
Returns
Read byte
CanEasy::IMsgData::Byte
byte Byte([in] long lIndex)
CanEasy::IMsgData::Array
VARIANT Array
Byte-Array of the message.