The AVISaveV function builds a file by combining data streams from other files or from memory.
STDAPI AVISaveV(
LPCTSTR szFile,
CLSID * pclsidHandler,
AVISAVECALLBACK lpfnCallback,
int nStreams,
PAVISTREAM * ppavi,
LPAVICOMPRESSOPTIONS * plpOptions
);
Returns AVIERR_OK if successful or an error otherwise.
This function is equivalent to the AVISave function except the streams are passed in an array instead of as a variable number of arguments.
This function creates a file, copies stream data into the file, closes the file, and releases the resources used by the new file. The last two parameters of this function are arrays that identify the streams to save in the file and define the compression options of those streams.
An application must allocate memory for the AVICOMPRESSOPTIONS structures and the array of pointers to these structures.
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.
Unicode: Implemented as Unicode and ANSI versions on Windows NT.
AVIFile Functions and Macros Overview, AVIFile Functions, AVIFileOpen, AVICOMPRESSOPTIONS, AVISave