msos2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
FILELOCK (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_DOSFILEMGR
 
typedef struct _FILELOCK {    /* flock */
    LONG lOffset;
    LONG lRange;
} FILELOCK;
 
The FILELOCK structure contains information about the starting position and
number of bytes of a portion of a file to be locked or unlocked.
 
Field    Description
────────────────────────────────────────────────────────────────────────────
 
lOffset  Specifies the offset from the beginning of the file to the start of
         the area to be locked or unlocked.
 
lRange   Specifies the length of the locked or unlocked area (in bytes).
 
See Also
 
DosFileLocks