LockCurrentRmsRecord locks the current RMS file record for exclusive use. If other processes are using the record, the function fails and returns immediately.
Function LockCurrentRmsRecord(rmsHandle as Inetger) As Boolean
rmsHandle
RMS file handle
On success, LockCurrentRmsRecord returns TRUE. If failed, it returns FALSE.
The function LockCurrentRmsRecord locks the current RMS file record for exclusive use.
If other processes are using the record, the function fails and returns immediately. If you do
not want to return immediately while the record is busy, call LockRmsRecordWait.
LockCurrentRmsRecordWait, UnLockCurrentRmsRecord