LockCurrentRmsRecordWait

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.

Syntax

Function LockCurrentRmsRecordWait(rmsHandle as Integer) As Integer

Parameters

rmsHandle

RMS file handle

Return Values

On success, LockCurrentRmsRecordWait returns TRUE.  If failed, it returns FALSE.

Remarks

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.

See Also

LockCurrentRmsRecord

LockCurrentRmsRecord, UnLockCurrentRmsRecord