Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATStreamRAM::ReadAbs
CATResult CATStreamRAM::ReadAbs ( void *  buffer,
CATUInt32 length,
CATInt64  position 
) [virtual]

ReadAbs() reads from the specified location, but does not change the current stream position.

ReadAbs() is mainly for use in substreams, and may not be available from all stream types. If you're not implementing it, then please return an error from your derived class.

Parameters:
buffer - target buffer for read
length - min(length of buffer, desired read length). set to amount read on return.
position - position within stream to read.
Returns:
CATRESULT - CAT_SUCCESS on success.

Implements CATStream.

Definition at line 577 of file CATStreamRAM.cpp.

References CAT_SUCCESS, CATFAILED, and SeekAbsolute().


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