RSC/MP 7.2 Programming Manual
API Function Descriptions
HP NonStop Remote Server Call (RSC/MP) Programming Manual—522360-004
10-5
RscBeginTransaction [RSCBGN]
RscBeginTransaction [RSCBGN]
The RscBeginTransaction function begins a transaction for the session indicated by
ulSessionHandle. The application must call RscConnect and RscBeginSession before
using transactions.
ulConnectionHandle
The handle of an existing connection created through the RscConnect function
call.
ulSessionHandle
The handle of an existing session created through the RscBeginSession function
call.
Return Value
The return value is zero if the function is successful; otherwise, the function returns
one of these result values:
USHORT RscBeginTransaction
(ULONG ulConnectionHandle /* in */
,ULONG ulSessionHandle /* in */
);
RSC_INVALID_CONNECTION_HANDLE 6
RSC_INVALID_SESSION_HANDLE 15
RSC_PC_HEAP_EXHAUSTED 22
RSC_TRANSACTION_IN_PROGRESS 27