Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CAtlTemporaryFile::Seek

Call this method to move the file pointer of the temporary file.

HRESULT Seek( 
   LONGLONG nOffset, 
   DWORD dwFrom = FILE_CURRENT  
) throw( );

nOffset

The offset, in bytes, from the starting point given by dwFrom.

dwFrom

The starting point (FILE_BEGIN, FILE_CURRENT, or FILE_END).

Returns S_OK on success, or an error HRESULT on failure.

Calls CAtlFile::Seek. To obtain the current file pointer position, call CAtlTemporaryFile::GetPosition.

Header: atlfile.h

Show:
© 2015 Microsoft