◄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► -♦-