Export (0) Print
Expand All

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.

See the description of the LockRange member function for details.

NoteNote

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

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

Community Additions

ADD
Show:
© 2014 Microsoft