COleStreamFile
A COleStreamFile object represents a stream of data (IStream) in a compound file as part of OLE Structured Storage. An IStorage object must exist before the stream can be opened or created unless it is a memory stream.
COleStreamFile objects are manipulated exactly like CFile objects.
For more information about manipulating streams and storages, see the article in Visual C++ Programmer’s Guide.
For more information, see IStream and in the OLE 2 Programmer’s Reference, Volume 1.
#include <afxole.h>