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.
Пример
See the example for CAtlTemporaryFile::CAtlTemporaryFile.
Требования
Header: atlfile.h