msos2.hlp (Table of Contents; Topic list)
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