CFile::UnlockRange

virtual void UnlockRange( DWORD dwPos, DWORD dwCount );
throw( CFileException );

Parameters

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 the LockRange member function for details.

Note   This function is not available for the CMemFile-derived class.

Example

//example for CFile::UnlockRange
extern DWORD dwPos;
extern DWORD dwCount;
extern CFile cfile;
cfile.UnlockRange( dwPos, dwCount );

CFile OverviewClass MembersHierarchy Chart

See Also   CFile::LockRange