CFile::Seek

Call this member function to reposition the pointer in a previously opened file. The Seek function permits random access to a file's contents by moving the pointer a specified amount, absolutely or relatively. No data is actually read during the seek.

Syntax

virtual LONG Seek( LONG lOff, UINT nFrom );
throw( CFileException );

At a Glance

Header File Afx.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CFile Overview, CFile Member Functions, File Service Classes