RSC/MP Programming Manual
API Function Descriptions
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.
USHORT RscBeginTransaction
(ULONG ulConnectionHandle /* in */
,ULONG ulSessionHandle /* in */
);
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 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_PC_HEAP_EXHAUSTED
22
RSC_TRANSACTION_IN_PROGRESS
27
HP NonStop Remote Server Call (RSC/MP) Programming Manual — 522360-006
10 - 5