COleStreamFile::CreateMemoryStream

This method safely creates a new stream out of global, shared memory where a failure is a normal, expected condition. The memory is allocated by the COM subsystem.

At a Glance

Header file: Afxole.h
Platforms: H/PC 2.0, H/PC Pro
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

BOOL CreateMemoryStream( CFileException* pError = NULL );

See Also

COleStreamFile::OpenStream, COleStreamFile::CreateStream, CFileException