TTSAbortTransaction
Aborts explicit transactions (For cross-platform functionality, see Developing NLMs with Cross-Platform Functions ( NDK: NLM Development Concepts, Tools, and Functions) and call NWTTSAbortTransaction.)
#include <\nlm\nit\nwtts.h> int TTSAbortTransaction (void);
When this function returns, the transaction has been successfully backed out. When a transaction is backed out, any writes to the file are aborted, and the file is returned to the state it was in before the transaction began.
This function releases the following physical record locks:
For explicit transactions, the transaction is backed out, and any locks being held are released.
If implicit transactions are enabled and the number of logical or physical records still locked by the application exceeds the threshold, this function returns a value of 0xFE. In this case, the transaction is backed out, and the server automatically starts a new implicit transaction.