CFile::GetPosition

Syntax

virtual DWORD GetPosition() const
throw( CFileException );

Remarks

Obtains the current value of the file pointer, which can be used in subsequent calls to Seek.

Return Value

The file pointer as a 32-bit double word.

Example

extern CFile cfile;

DWORD dwPosition = cfile.GetPosition();