CFile::GetLength

Syntax

virtual DWORD GetLength() const
throw( CFileException );

Remarks

Obtains the current logical length of the file in bytes, not the amount physically allocated.

Return Value

The length of the file.

See Also

CFile::SetLength