RSC/MP Programming Manual

API Function Descriptions
RscEndTransaction [RSCENT]
RscEndTransaction [RSCENT]
The RscEndTransaction function ends a transaction that is outstanding on the session
indicated by ulSessionHandle. If no transaction is outstanding, an error is returned.
USHORT RscEndTransaction
(ULONG ulConnectionHandle /* in */
,ULONG ulSessionHandle /* in */
);
ulConnectionHandle
The handle of the connection relevant to the transaction. The connection handle is
created by the RscConnect function.
ulSessionHandle
The handle of the session relevant to the transaction. The session handle is
created by the RscBeginSession function.
Return Value
The return va lue is zero if the function is successful; otherwise, the function returns
one of these result va lues:
RSC_INVALID_CONNECTION_HANDLE
6
RSC_INVALID_SESSION_HANDLE
15
RSC_NO_TRANSACTION_IN_PROGRESS
19
RSC_PC_HEAP_EXHAUSTED
22
HP NonStop Remote Server Call (RSC/MP) Programming Manual 522360-006
10 - 12