Compartir a través de


COleStreamFile::Attach

Associates the supplied OLE stream with the COleStreamFile object.

void Attach(
   LPSTREAM lpStream 
);

Parameters

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

Remarks

The object must not already be associated with an OLE stream.

For more information, see IStream in the Windows SDK.

Requirements

Header: afxole.h

See Also

Concepts

COleStreamFile Class

COleStreamFile Members

Hierarchy Chart

COleStreamFile::Detach