IntControl (40, p1, 0, 0, 0)
Sets the file sharing mode for file writes.
p1 share mode for file writes (default = 0)
Valid share modes are:
p1 |
Meaning |
-1 |
don't change (keep current setting) |
0 |
prevent the file from being shared |
1 |
allow other open operations for read access |
2 |
allow other open operations for write access |
3 |
allow other open operations for read and write access |
IntControl 40 will affect the following functions:
FileOpen in "WRITE" / "APPEND" modes.
Returns previous setting.