Freigeben über


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

Reference

COleStreamFile Class

Hierarchy Chart

COleStreamFile::Detach