Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATStreamFile::SeekAbsolute
CATResult CATStreamFile::SeekAbsolute ( CATInt64  position  )  [virtual]

SeekAbsolute() seeks from the start of the file to an absolute position.

Parameters:
position - unsigned absolute position to seek to.
Returns:
CATResult - CAT_SUCCESS on success.
See also:
IsSeekable(), SeekRelative(), SeekFromEnd()

Implements CATStream.

Definition at line 315 of file CATStreamFile.cpp.

References CAT_ERR_FILE_NOT_OPEN, CAT_ERR_FILE_SET_POSITION, CAT_SUCCESS, CATASSERT, CATRESULT, CATRESULTFILE, fFileHandle, fFilename, and IsOpen().

Referenced by ReadAbs(), CATDLLInjector::StartDLLWithProcess(), and WriteAbs().


Generated on Mon Feb 11 04:10:56 2008 for Game Accessibility Suite by doxygen 1.5.4