LockCurrentRmsRecordWait locks the current RMS file record for exclusive use. If other processes are using the record, the function waits until it locks the record successfully.
Function LockCurrentRmsRecordWait(rmsHandle as Integer) As Integer
rmsHandle
RMS file handle
On success, LockCurrentRmsRecordWait returns TRUE. If failed, it returns FALSE.
The function LockCurrentRmsRecordWait locks the current RMS file record for exclusive use. If other processes are using the record, the function waits until it locks the record successfully. If you do not want to wait while the record is busy, call LockCurrentRmsRecord.
LockCurrentRmsRecord, UnLockCurrentRmsRecord