EndTransaction method overview
The EndTransaction method is called at the end of the transaction to complete the transaction.
eAction will have the value MPI_ACTION_COMMIT or MPI_ACTION_ROLLBACK
to indicate the course of action that the adapter should take. Note
that the end of the transaction might be the end of the card, the
burst or the map.
MPIRC EndTransaction (HMPIADAPT
hAdapter,HMPICONNECT hConnection,MPITRANS eAction)
Inputs
- hAdapter
- Adapter handle
- hConnection
- Connection handle
- eAction
- Indicates whether to commit or rollback the transaction.
Outputs
None
Returns
Success status
If there are multiple cards sharing a connection and the adapter allows for only one transaction per connection, the hAdapter passed to EndTransaction is the hAdapter of the card that corresponds to the one passed to the BeginTransaction call.