LockRmsFile locks the open RMS file for exclusive use. If other processes are using the RMS file, the function fails and returns immediately.
Function LockRmsFile(rmsHandle as Integer) As Boolean
No parameter
On success, LockRmsFile returns TRUE. If failed, it returns FALSE.
The function LockRmsFile locks the open RMS file for exclusive use. If other processes are
using the RMS file, the function fails and returns immediately. If you do not want to return
immediately while the file is busy, call LockRmsFileWait.
LockRmsFileWait, UnLockRmsFile, LockRmsFile.