COleStreamFile::CreateMemoryStream

Call this member function to safely create a new stream out of global, shared memory where a failure is a normal, expected condition. The memory is allocated by the COM subsystem.

Syntax

BOOL CreateMemoryStream( CFileException* pError = NULL );

At a Glance

Header file: Afxole.h
Platforms:
Versions: 2.0 and later
Complete documentation: Visual C++ documentation

See Also

COleStreamFile Overview, COleStreamFile Member Functions, File Service Classes, COleStreamFile::OpenStream, COleStreamFile::CreateStream, CFileException