TTSSetWorkstationThresholds
Sets the current connection’s workstation thresholds for implicit transactions
#include <\nlm\nit\nwtts.h>
int TTSSetWorkstationThresholds (
BYTE logicalRecordLockThreshold,
BYTE physicalRecordLockThreshold);
The thresholds set by this function are valid not only for the requesting application, but for all applications at the requesting workstation and for all NLM applications using the same connection number as the caller’s current connection number. This function is useful for either turning off implicit transactions or allowing applications to work that always keep one or more records locked.
For example, applications that intend to use only explicit transactions but which sometimes generate unnecessary implicit transactions can use this function to turn off all implicit transactions.
The default threshold for logical and physical locks is 0. A threshold of 0xFF means there are no implicit transactions for that lock type.
The threshold values set by this function are not reset when a workstation application terminates. In other words, all applications on the requesting workstation share these thresholds.
Workstation users normally execute SETTTS.EXE to set workstation thresholds.