This topic has not yet been rated - Rate this topic

CFile::UnlockRange

Unlocks a range of bytes in an open file.

virtual void UnlockRange(
   ULONGLONG dwPos,
   ULONGLONG dwCount 
);

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

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 ULONGLONG dwPos;
extern ULONGLONG dwCount;
extern CFile cfile;
cfile.UnlockRange( dwPos, dwCount );

See Also

CFile Overview | Class Members | Hierarchy Chart | CFile::LockRange

Did you find this helpful?
(1500 characters remaining)