When a message has been received from the interface and it is identified as a response message, the service thread must tie it up with its transaction structure. This is done by calling this interface with the transaction ID and destination (i.e., local) port handle. If the lpRemoteAddress parameter is non-null, the contents are used to validate the transaction buffer.
LPTRANSACTION GetTransaction( RTHANDLE hPort, WORD wTransID LPGENADDR lpRemoteAddress );
hPort
wTransID
lpRemoteAddress
NULL
if no transaction was found; BAD_POINTER
if an error occurred.
E_CONTEXT 0x0005
E_EXIST 0x0006
hPort
parameter is not a valid handle.
E_TYPE 0x8002
hPort
parameter is not a handle for a port. Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.0 | intime/rt/include/rtserv.h | rtserv.h | rtserv.lib |
RT Service system calls, GENADDR