The AVIMakeFileFromStreams function constructs an AVIFile interface pointer from separate streams.
STDAPI AVIMakeFileFromStreams(
PAVIFILE * ppfile,
int nStreams,
PAVISTREAM * papStreams
);
Returns zero if successful or an error otherwise.
Use the AVIFileRelease function to close the file.
Other functions can use the AVIFile interface created by this function to copy and edit the streams associated with the interface. For example, you can retrieve a specific stream by using AVIFileGetStream with the file interface pointer.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
Import Library: Use vfw32.lib.
AVIFile Functions and Macros Overview, AVIFile Functions, AVIFileRelease, AVIFileGetStream