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


CAtlTemporaryFile::SetSize

Call this method to set the size of the temporary file.

HRESULT SetSize(
   ULONGLONG nNewLen 
) throw( );

Параметры

  • nNewLen
    The new length of the file in bytes.

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

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

Заметки

Calls CAtlFile::SetSize. On return, the file pointer is positioned at the end of the file.

Требования

Header: atlfile.h

См. также

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

CAtlTemporaryFile Class

CAtlTemporaryFile Members

CAtlTemporaryFile::GetSize