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


CAtlFile::GetSize

Call this method to get the size in bytes of the file.

HRESULT GetSize(
   ULONGLONG& nLen 
) const throw( );

Параметры

  • nLen
    The number of bytes in the file.

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

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

Заметки

Calls GetFileSize to get the size in bytes of the file.

Требования

Header: atlfile.h

См. также

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

CAtlFile Class

CAtlFile Members

CAtlFile::GetPosition

CAtlFile::SetSize