INtime SDK Help
ntxWriteRtXxx(INtimeDotNet)
INtime SDK v7 > About INtime > Alternate APIs > INtimeDotNet > ntxWriteRtXxx(INtimeDotNet)

These functions, which do not have an equivalent in NTX, use one of these methods to write 1, 2, 4, or an arbitrary number of bytes to an INtime shared memory object.

Visual Basic:

Sub ntxWriteRt1Byte(
  ByVal pSrc As Byte,
  ByVal hDst As Integer,
  ByVal pDst As Integer)
Sub ntxWriteRt2Bytes(
  ByVal pSrc As Short,
  ByVal hDst As Integer,
  ByVal pDst As Integer)
Sub ntxWriteRt4Bytes(
  ByVal pSrc As Integer,
  ByVal hDst As Integer,
  ByVal pDst As Integer)
Sub ntxWriteRtBytes(
  ByVal pSrc() As Byte,
  ByVal hDst As Integer,
  ByVal pDst As Integer,
  ByVal len As Integer)

Visual C#:


void ntxWriteRt1Byte (
  Byte pSrc,
  Int32 hDst,
  Int32 pDst );
void ntxWriteRt2Bytes (
  Int16 pSrc,
  Int32 hDst,
  Int32 pDst );
void ntxWriteRt4Bytes (
  Int32 pSrc,
  Int32 hDst,
  Int32 pDst );
void ntxWriteRtBytes (
  Byte[] pSrc,
  Int32 hDst,
  Int32 pDst,
  Int32 len );

Parameters

pSrc
The value to be written.
hDst
Handle of a memory object to write into.
pDst
The zero-based byte offset where to start writing.
len
The number of bytes to write (ntxWriteRtBytes only).

INtimeException Status

E_PARAM
The memory handle is invalid.

Requirements

Versions Reference
INtime 3.0 INtimeDotNet

See Also

INtimeDotNet system calls, ntxSendRtDataXxx, ntxReadRtXxx