Microsoft DirectX 9.0

IPersistMediaPropertyBag Interface

The IPersistMediaPropertyBag interface sets and retrieves INFO and DISP chunks in Audio-Video Interleaved (AVI) streams. It uses the IMediaPropertyBag interface to store the chunks as name/value pairs.

The AVI Splitter filter and the WAVE Parser filter support this interface for reading INFO and DISP chunks from an AVI or WAV file. The AVI Mux filter supports the interface for writing these chunks into a file.

IPersistMediaPropertyBag is modeled after, but does not inherit from, the IPersistPropertyBag interface. For more information on IPersistPropertyBag, see the Platform SDK.

In addition to the methods inherited from IUnknown, the IPersistMediaPropertyBag interface exposes the following methods.

Method Description
InitNew Initializes a new property bag that will hold the media file header information.
Load Retrieves the properties from the media file and stores them in the property bag.
Save Saves the media file properties.