IStreamInterleave interface (imapi2.h)

Use this interface to combine several data streams into a single stream by alternately interspersing portions of each. You create interleaved streams when data streams need to run parallel to each other instead of sequentially. For example, some CD formats require user data interleaved with the subcode information. Any fixed-size interleave is supported.

To create an instance of this interface, call the CoCreateInstance function. Use__uuidof(MsftStreamInterleave) for the class identifier and __uuidof(IStreamInterleave) for the interface identifier.


The IStreamInterleave interface inherits from IStream. IStreamInterleave also has these types of members:


The IStreamInterleave interface has these methods.


Initialize this interleaved stream from an array of input streams and interleave sizes.


To create the MsftStreamInterleave object in a script, use IMAPI2.MsftStreamInterleave as the program identifier when calling CreateObject.


Minimum supported client Windows Vista, Windows XP with SP2 [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header imapi2.h

See also