virtual void UnlockRange( const DWORD dwPos, const DWORD dwCount )
throw( CFileException );
dwPos
The byte offset of the start of the byte range to unlock.
dwCount
The number of bytes in the range to unlock.
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.
extern DWORD dwPos;
extern DWORD dwCount;
extern CFile cfile;
cfile.UnlockRange( dwPos, dwCount );