CFile::SeekToEnd

DWORDSeekToEnd();
throw(CFileException);

Return Value

The length of the file in bytes.

Remarks

Sets the value of the file pointer to the logical end of the file. SeekToEnd() is equivalent to CFile::Seek( 0L, CFile::end ).

Example

//example for CFile::SeekToEnd
extern CFile cfile;
DWORD dwActual = cfile.SeekToEnd();

CFile OverviewClass MembersHierarchy Chart

See Also   CFile::GetLength, CFile::Seek, CFile::SeekToBegin