COleStreamFile::Detach

LPSTREAM Detach( );

Return Value

A pointer to the stream (IStream) that was associated with the object.

Remarks

Disassociates the stream from the object without closing the stream. The stream must be closed in some other fashion before the program terminates.

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

COleStreamFile OverviewClass MembersHierarchy Chart

See Also   COleStreamFile::Attach