COleStreamFile::Attach

void Attach( LPSTREAM lpStream );

Parameters

lpStream

Points to the OLE stream (IStream) to be associated with the object. Cannot be NULL.

Remarks

Associates the supplied OLE stream with the COleStreamFile object. The object must not already be associated with an OLE stream.

For more information, see IStream in the OLE 2 Programmer’s Reference, Volume 1.

COleStreamFile OverviewClass MembersHierarchy Chart

See Also   COleStreamFile::Detach