27 #ifndef _CLC_FCT_DATATRANSFERTMESSAGE_H_
28 #define _CLC_FCT_DATATRANSFERTMESSAGE_H_
67 CPUINT16 *
const pwSendBufferLength);
79 CPBYTE
const *
const pSrcBuffer);
91 CPUINT16 *
const pwReceiveBufferLength);
110 CPBYTE
const **
const ppBuffer);
119 #endif // _CLC_FCT_DATATRANSFERTMESSAGE_H_
CLC_ErrorCode DataTransferMessage_SetNumber(CPHOOKEDOBJECT const hMsg, CPUINT16 const wNumber)
CLC_ErrorCode DataTransferMessage_SetSendBuffer(CPHOOKEDOBJECT const hMsg, CPUINT16 const wToOffset, CPUINT16 const wBytesToCopy, CPBYTE const *const pSrcBuffer)
Fill the message buffer with data coming from the application.
CLC_ErrorCode DataTransferMessage_GetReceiveBufferLength(CPHOOKEDOBJECT const hMsg, CPUINT16 *const pwReceiveBufferLength)
Get the number of bytes available.
CPUINT32 CPHOOKEDOBJECT
Handle on Hooked Object.
Definition: CLCm_Types.h:58
CLC_ErrorCode
Error code Enumeration. Error codes from 0x01 to 0xFF are related to a CopperLan functions return cod...
Definition: CLCm_Defines.h:469
CLC_ErrorCode DataTransferMessage_GetNumber(CPHOOKEDOBJECT const hMsg, CPUINT16 *const pwNumber)
Get the message's number.
CLC_ErrorCode DataTransferMessage_GetReceiveBuffer(CPHOOKEDOBJECT const hMsg, CPUINT16 const wFromOffset, CPUINT16 const wBytesToRead, CPUINT16 *const pwBytesRead, CPBYTE const **const ppBuffer)
Get the message buffer content.
CLC_ErrorCode DataTransferMessage_GetSendBufferLength(CPHOOKEDOBJECT const hMsg, CPUINT16 *const pwSendBufferLength)
Get the maximum number of bytes the message can carry.