RSC/MP 7.2 Programming Manual

API Function Descriptions
HP NonStop Remote Server Call (RSC/MP) Programming Manual522360-004
10-12
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.
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 value is zero if the function is successful; otherwise, the function returns
one of these result values:
USHORT RscEndTransaction
(ULONG ulConnectionHandle /* in */
,ULONG ulSessionHandle /* in */
);
RSC_INVALID_CONNECTION_HANDLE 6
RSC_INVALID_SESSION_HANDLE 15
RSC_NO_TRANSACTION_IN_PROGRESS 19
RSC_PC_HEAP_EXHAUSTED 22