COleStreamFile Class
Represents a stream of data (IStream) in a compound file as part of OLE Structured Storage.
class COleStreamFile : public CFile
Members
Public Constructors
Name |
Description |
---|---|
Constructs a COleStreamFile object. |
Public Methods
Name |
Description |
---|---|
Associates a stream with the object. |
|
Creates a stream from global memory and associates it with the object. |
|
Creates a stream and associates it with the object. |
|
Disassociates the stream from the object. |
|
Returns the current stream. |
|
Safely opens a stream and associates it with the object. |
Remarks
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 Containers: Compound Files..
For more information, see IStream and IStorage in the Windows SDK.
Inheritance Hierarchy
COleStreamFile
Requirements
Header: afxole.h