Requests the data for a long data message previously notified by a return from ReceiveRtDataMessage.
BOOLEAN GetRtLongDataMessage(
RTHANDLE hQueue,
MSG_DESCRIPTOR *msgDesc,
LPVOID msgBuffer,
DWORD msgBufferLength,
DWORD *msgSize);
hQueue
msgDesc
was received.
msgDesc
MSG_DESCRIPTOR
message previously returned from ReceiveRtDataMessage
.
msgBuffer
msgBufferLength
msgSize
DWORD
location which receives the number of bytes actually received by the call.Note that in the current implementation the queue handle hQueue
is not used and is not validated. However, you should supply the handle of the queue where the descriptor was received to be compatible with possible future implementations.
E_PARAM | The msgBufferLength parameter is less than the size of the waiting long data message. |
E_CANCELLED | The long data message transfer was canceled and is no longer available. |
E_BAD_ADDR | The msgBuffer parameter is not valid. |
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 5.0 | intime/rt/include/rtbase.h | rt.h | rt.lib |