CFile::Seek

This method repositions the pointer in a previously opened file. The Seek method 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.

At a Glance

Header file: Afx.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

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