INtime SDK Help
ntxSendRtData
INtime SDK v6 > About INtime > INtime Kernel > Mailboxes > ntxSendRtData

Copies arbitrary data to an RT data mailbox.

NTXSTATUS ntxSendRtData(
    NTXHANDLE hMailbox,
    LPVOID pMessage,
    WORD wActualLength
);

Parameters

hMailbox
Handle of the RT data mailbox to send to.
pMessage
Pointer to the data to send.
wActualLength
Number of bytes to send in this operation.

Return Values

E_OK
Success
The status code
Failure

Status

E_OK 0x0000
No exceptional conditions occurred.
E_MEM 0x0002
The data message queue is full and the system does not have enough memory to create another.
E_LIMIT 0x0004
wActualLength is greater than 128 (the maximum that can be sent in one operation).
E_EXIST 0x0006
hMailbox is not a handle for an existing object.
E_SLOT 0x000C
The data message queue is full and the system does not have enough GDT slots to extend it.
E_TYPE 0x8002
hMailbox is not a handle for a data mailbox.
E_BAD_ADDR 0x800F
The pointer to the message is invalid.
E_NTX_INTERNAL_ERROR
The DLL could not contact the RT kernel to complete the request.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/nt/include/ntx.h ntx.h ntx.lib
INtime 4.01 (for 64-bit Windows) intime/nt/include/ntx.h ntx.h ntx64.lib

See Also

Mailbox system calls