Export (0) Print
Expand All
Expand Minimize

AVIMakeFileFromStreams function

The AVIMakeFileFromStreams function constructs an AVIFile interface pointer from separate streams.

Syntax


STDAPI AVIMakeFileFromStreams(
   PAVIFILE    *ppfile,
   int         nStreams,
   PAVISTREAM  *papStreams
);

Parameters

ppfile

Pointer to a buffer that receives the new file interface pointer.

nStreams

Count of the number of streams in the array of stream interface pointers referenced by papStreams.

papStreams

Pointer to an array of stream interface pointers.

Return value

Returns zero if successful or an error otherwise.

Remarks

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.

The argument pfile is the address of a pointer to an IAVIFile interface. The argument papStreams is the address of a pointer to an IAVIStream interface.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

Library

Vfw32.lib

DLL

Avifil32.dll

See also

AVIFile Functions and Macros
AVIFile Functions
AVIFileRelease
AVIFileGetStream

 

 

Community Additions

ADD
Show:
© 2015 Microsoft