Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATFileSystem_Win32::OpenCachedFile
CATResult CATFileSystem_Win32::OpenCachedFile ( const CATString filename,
CATStream *&  stream 
) [virtual]

OpenCachedFile() opens a file into a memory stream if possible. By default, it just routes to OpenFile, but child classes may override.

Parameters:
filename - path to file.
stream - ref to receive opened file stream
Returns:
CATResult - CAT_SUCCESS on success.
See also:
ReleaseStream()

Reimplemented from CATFileSystem.

Definition at line 405 of file CATFileSystem_Win32.cpp.

References CAT_ERR_OUT_OF_MEMORY, and CATRESULT.


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