From INtime 6.0 the INtime Service and Port objects have been deprecated.
New projects should not be started using these features, and existing projects will not work with XM mode. You will receive a compiler warning by default if you use these calls.
Sends a response message to an earlier received SendRtMessageRSVP message.
BOOLEAN SendRtReply( RTHANDLE hPort, // port handle LPGENADDR lpAddress, // pointer to destination address WORD wTransID, // transaction ID for this request/response transaction LPBYTE lpControl, // pointer to control message WORD wControlLength, // length of control message LPVOID lpData, // pointer to data message DWORD dwDataSize, // length of data message WORD wTransmissionFlags // transmission flags );
hPort
lpAddress
wTransID
lpControl
wControlLength
lpData
dwDataSize
wTransmissionFlags
CONTIGUOUS_BUFFER |
Specifies that lpData reference a contiguous buffer. |
DATA_CHAIN_BUFFER |
Specifies that lpData reference a data chain block. |
DATA_LIST_BUFFER |
Specifies that lpData reference the first element in a data list. |
SYNC_MODE |
Specifies that the message should be transmitted synchronously. |
ASYNC_MODE |
Specifies that the message should be transmitted asynchronously. |
NOT_EOT |
Specifies that this is not yet the last transmission for this response message and there are more transmissions to follow. |
TRUE
FALSE
E_OK 0x0000
E_CONTEXT 0x0005
E_EXIST 0x0006
E_NOT_CONFIGURED 0x0008
E_TRANSMISSION 0x000B
E_INVALID_ADDR 0x00E2
E_RESOURCE_LIMIT 0x00E6
E_TRANS_ID 0x00E8
wTransId
parameter is not valid.
E_DISCONNECTED 0x00E9
E_TRANS_LIMIT 0x00EA
E_UNBOUND 0x00EB
E_TYPE 0x8002
E_PARAM 0x8004
E_NUC_BAD_BUF 0x80E2
Note: Other status values may be generated by the service-specific SendMessage handler.
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.0 | intime/rt/include/rtbase.h | rt.h | rt.lib |
Port system calls, SendRtMessageRSVP, SendRtMessage, SendMessage