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

OpenFile() opens or creates a file.

Parameters:
filename - path to file.
mode - open mode for the file
stream - ref to receive opened file stream
See also:
ReleaseStream()

Implements CATFileSystem.

Definition at line 365 of file CATFileSystem_Win32.cpp.

References CATFileSystem::BuildPath(), CAT_ERR_OUT_OF_MEMORY, CAT_SUCCESS, CATFAILED, CATRESULTFILE, and CATStream::Open().


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