IAVIFile interface

The IAVIFile interface supports opening and manipulating files and file headers, and creating and obtaining stream interfaces. Uses IUnknown::QueryInterface, IUnknown::AddRef, and IUnknown::Release in addition to the following custom methods:

Methods

The IAVIFile interface has these methods.

Method Description
IAVIFile::CreateStream The CreateStream method creates a stream for writing. Called when an application uses the AVIFileCreateStream function.
IAVIFile::EndRecord The EndRecord method writes the "REC" chunk in a tightly interleaved AVI file (having a one-to-one interleave factor of audio to video). Called when an application uses the AVIFileEndRecord function.
IAVIFile::GetStream The GetStream method opens a stream by accessing it in a file. Called when an application uses the AVIFileGetStream function.
IAVIFile::Info The Info method returns with information about an AVI file. Called when an application uses the AVIFileInfo function.
IAVIFile::ReadData The ReadData method reads file headers. Called when an application uses the AVIFileReadData function.
IAVIFile::WriteData The WriteData method writes file headers. Called when an application uses the AVIFileWriteData function.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header vfw.h

See Also

Custom File and Stream Handler Interfaces

Custom File and Stream Handlers