| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | File locking |
TS> > function DosSetFileLocks( > F: HFile; var UnLock,Lock: FileLock; TimeOut,Flags: ULong): Apiret; > function DosCancelLockRequest( > F: HFile; var Lock: FileLock): ApiRet; > > So.. These HFile and TimeOut I understand, but what are > those other ones? And what can I put to Flags? TS> The FileLock structure denotes a range of bytes within a file, and the flags indicate whether a combined lock+unlock operation should be atomic, and whether the lock is exclusive or not. If you want to know about the OS/2 API, either buy one of the many books on the subject, or read the API documentation in the OS/2 Developer's Toolkit (available on its own, or on the DevCon CD-ROMs). TS> > And this TimeOut, is it seconds? 1/100 seconds, or what? TS> As I said, obtain and read the API documentation. This, and much more, is all in there. > JdeBP < ___ X MegaMail 2.10 #0: --- Maximus/2 3.00* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4) SEEN-BY: 270/101 620/243 711/401 409 410 413 430 808 809 934 955 712/407 515 SEEN-BY: 712/517 628 713/888 800/1 7877/2809 @PATH: 440/4 141/209 270/101 712/515 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.