Partager via


CAtlTemporaryFile::UnlockRange

Call this method to unlock a region of the temporary 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 CAtlFile::UnlockRange.

Requirements

Header: atlfile.h

See Also

Reference

CAtlTemporaryFile Class

CAtlTemporaryFile::LockRange