Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
CFile::SeekToEnd
CFile                                       Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  DWORD SeekToEnd()
  throw( CFileException );
 
  Remarks
 
  Sets the value of the file pointer to the logical end of the file.
  SeekToEnd() is equivalent to  CFile::Seek(0L, CFile::end).
 
  Return Value
 
  The length of the file in bytes.
 
  Example
 
  extern CFile cfile;
  DWORD dwActual = cfile.SeekToEnd();
 
 
  See Also
 
  CFile::GetLength, CFile::Seek, CFile::SeekToBegin
 
 
                                     -♦-