AVIFile Reference

[The feature associated with this page, AVIFile Functions and Macros, is a legacy feature. It has been superseded by Source Reader. Source Reader has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader instead of AVIFile Functions and Macros, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

This section describes the functions, structures, and macros for applications using the AVIFile services. These elements are grouped as follows:

AVIFile Library Operations

Opening and Closing AVI Files

Reading from a File

Writing to a File

Using the Clipboard

Opening and Closing Streams

Reading Stream Information

Decompressing Video Data in a Stream

Creating a File from Existing Streams

Writing Individual Streams

Finding the Starting Position in a Stream

Finding Sample and Key Frames

Switching Between Samples and Time

Creating Temporary Streams

Editing AVI Streams

AVIFile Functions and Macros