Platform SDK: Exchange Server |
When the IStream interface is used, several different functions can be called to produce the stream. Generally, performance is improved by using a buffered stream. The MAPI OpenStreamOnFile function produces a stream that is not buffered, so Microsoft Exchange Server provides the OpenVirtualStreamOnFile and OpenVirtualStreamOnProperty functions, which provide buffered streams.
To transfer data using buffered streams
All of the procedures listed above use OLE streams. Win32, MAPI, and the Microsoft Exchange Server SDK all contain functions for working with OLE streams. For information about the IStream interface, see the Platform SDK. For more information about the MAPI OpenStreamOnFile method, see the MAPI Programmer's Reference.
For more information about OLE, see Inside OLE 2 by Kraig Brochschmidt (Microsoft Press).
Streams can be used to work with rich text format (RTF) properties. For more information, see Saving ANSI Text as a Message Property in RTF, Saving RTF Text as a Message Property in RTF, and Retrieving ANSI Text from a Message Property in RTF.