LockFileSet
Attempts to lock all files in the log table
#include <\nlm\nit\nwsync.h>
int LockFileSet (
WORD timeoutLimit);
For cross-platform functionality, call NWLockFileLockSet.
The timeoutLimit parameter indicates how long the server should wait if it cannot lock all files immediately. The timeoutLimit is specified in units of 1/18 of a second (0 means no wait). This function cannot lock a file that is already exclusively locked by another application. Therefore, if one or more files identified in the log table are already exclusively locked, the attempt fails.
ClearFile, ClearFileSet, LogFile, ReleaseFile, ReleaseFileSet