Microsoft Foundation Classes (mfc.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.
CFile::UnlockRange
CFile                                       Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  virtual void UnlockRange( DWORD dwPos, DWORD dwCount )
  throw( CFileException );
 
  Parameter   Description
 
  <dwPos>     The byte offset of the start of the byte range to unlock.
 
  <dwCount>   The number of bytes in the range to unlock.
 
  Remarks
 
  Unlocks a range of bytes in an open file. See the description of
  LockRange for details.
 
  Under MS-DOS, you must load SHARE.EXE; otherwise, the function throws a
  CFileException object.
 
  NOTE: This function is not available for the CMemFile-derived class.
 
  Example
 
  extern DWORD dwPos;
  extern DWORD dwCount;
  extern CFile cfile;
  cfile.UnlockRange( dwPos, dwCount );
 
 
  See Also
 
  CFile::LockRange
 
 
                                     -♦-