Поделиться через


CAtlFile::UnlockRange

Call this method to unlock a region of the file.

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

Параметры

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

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

Возвращаемое значение

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

Заметки

Calls UnlockFile to unlock a region of the file.

Требования

Header: atlfile.h

См. также

Основные понятия

CAtlFile Class

CAtlFile Members

CAtlFile::LockRange