다음을 통해 공유


CAtlFile::UnlockRange

Call this method to unlock a region of the file.

HRESULT UnlockRange( 
   ULONGLONG nPos, 
   ULONGLONG nCount  
) throw( );

Parameters

  • nPos
    The position in the file where the unlock should begin.

  • nCount
    The length of the byte range to be unlocked.

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Remarks

Calls UnlockFile to unlock a region of the file.

Requirements

Header: atlfile.h

See Also

Reference

CAtlFile Class

CAtlFile::LockRange