INtime SDK Help
DeliverTransaction

This call is used when a transaction is complete and a response message is to be delivered to a port. The TRANSACTION structure will be returned to the service pool. If the USE_RECEIVE transaction flag was set, the CONTROLBUFFER is delivered to the port contains in the wPort field, otherwise the task waiting on the transaction is woken up.

BOOLEAN DeliverTransaction(
    LPCONTROLBUFFER lpControlBuf, 
    LPTRANSACTION lpTrans
);

Parameters

lpControlBuf
A pointer to the control buffer to deliver to the port.
lpTrans
A pointer to the transaction to be terminated.

Return Values

TRUE
Success.
FALSE
Failure. To determine the status, call GetLastRtError.

Status

E_CONTEXT 0x0005
The port is being deleted.
E_EXIST 0x0006
The port does not exist.
E_TYPE 0x8002
The control buffer does not contain a valid port handle.
E_NUC_BAD_BUF 0x80E2
Either the lpControlBuffer or the lpTransaction parameter is an invalid pointer.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/rtserv.h rtserv.h rtserv.lib

See Also

RT Service system calls, TRANSACTION, CONTROLBUFFER