Call this member function to open an existing stream. A file exception will be thrown if the open fails and pError is not NULL.
BOOL OpenStream( LPSTORAGE lpStorage, LPCTSTR lpszName, DWORD nOpenFlags = modeReadWrite|shareExclusive, CFileException* pError = NULL );
Header file: | Afxole.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
COleStreamFile Overview, COleStreamFile Member Functions, File Service Classes, COleStreamFile::CreateStream, COleStreamFile::CreateMemoryStream, CFileException