Copies data to an RT data mailbox.
These functions correspond to the NTX function ntxSendRtData. They send respectively 1, 2 or 4 bytes, or a stream of bytes.
Visual Basic:
Sub ntxSendRtData1Byte( ByVal hMailbox As Integer, ByVal bSrc As Byte) Sub ntxSendRtData2Bytes( yVal hMailbox As Integer, ByVal wSrc As Short) Sub ntxSendRtData4Bytes( ByVal hMailbox As Integer, ByVal lSrc As Integer) Sub ntxSendRtDataBytes( ByVal hMailbox As Integer, ByVal aSrc() As Byte, ByVal wActualLength As Integer)
Visual C#:
void ntxSendRtData1Byte ( Int32 hMailbox, Byte bSrc ); void ntxSendRtData2Bytes ( Int32 hMailbox, Int16 wSrc ); void ntxSendRtData4Bytes ( Int32 hMailbox, Int32 lSrc ); void ntxSendRtDataBytes ( Int32 hMailbox, Byte[] aSrc, Int32 wActualLength);
hMailbox
pMessage
aSrc
wActualLength
defines how many bytes are sent.
bSrc
lSrc
wSrc
wActualLength
E_MEM
E_LIMIT
wActualLength
is greater than 128 (the maximum that can be sent in one operation).
E_EXIST
hMailbox
is not a handle for an existing object.
E_TYPE
hMailbox
is not a handle for a data mailbox.
E_NTX_INTERNAL_ERROR
Versions | Reference |
---|---|
INtime 3.0 | INtimeDotNet |
INtimeDotNet system calls, Mailbox system calls