This method opens an existing stream. A file exception will be thrown if the open fails and pError is not NULL.
Header file: | Afxole.h |
Platforms: | H/PC 2.0, H/PC Pro |
Windows CE versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
BOOL OpenStream( LPSTORAGE lpStorage, LPCTSTR lpszName,
DWORD nOpenFlags = modeReadWrite|shareExclusive,
CFileException* pError = NULL );
COleStreamFile::CreateStream, COleStreamFile::CreateMemoryStream, CFileException