LockPhysicalRecordSet
Attempts to lock all physical records in the log table
#include <\nlm\nit\nwsync.h>
int LockPhysicalRecordSet (
BYTE lockDirective,
WORD timeoutLimit);
For cross-platform functionality, call NWLockPhysicalRecordSet.
The timeoutLimit parameter indicates how long the server should wait if it cannot lock all the records immediately. The timeoutLimit is specified in units of 1/18 of a second (0 means no wait).
The function cannot lock a record that is already exclusively locked by another application. If one or more records identified in the log table are already exclusively locked by another application, the attempt fails.