LockRmsFileWait

LockRmsFileWait locks the open RMS file for exclusive use.  If other processes

are using the RMS file, the function waits until locks the file successfully.

Syntax

Function LockRmsFileWait(rmsHandle as Integer) As Boolean

Parameters

rmsHandle

RMS file handle

Return Values

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

Remarks

The function LockRmsFileWait locks the open RMS file for exclusive use.  If other processes

are using the RMS file, the function waits until locks the file successfully.  If you do not want

to wait while the file is busy, call LockRmsFile.

See Also

LockRmsFileWait, UnLockRmsFile, LockRmsFile.