ReadLock
The ReadLock method locks, and prevents other applications from writing to, the specified Setup DCO file.
Description
ReadLock attempts to obtain the lock every 50 milliseconds. After 300 unsuccessful attempts, ReadLock stops the attempt and returns False. The attempt fails when another process locked the file.
Syntax
C#bool ReadLock(string lpszPath)
Arguments
- lpszPath
- Full path and file name to the Setup DCO file.