Share via


IWMIndexer interface (wmsdkidl.h)

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

The IWMIndexer interface is used to create an index for ASF files to enable seeking. An index is created only for a file that contains video, although the indexer can safely be used on files that do not contain any video.

An index is an object in the ASF file that equates video samples with presentation times. This is important because the timing of video frames is not necessarily easily computed from the frame rate.

In addition to the standard temporal index, the indexer object can create indexes based on video frame number and SMPTE time code. For more information about creating these indexes, see IWMIndexer2::Configure.

This interface can be obtained by using the WMCreateIndexer function.

Inheritance

The IWMIndexer interface inherits from the IUnknown interface. IWMIndexer also has these types of members:

Methods

The IWMIndexer interface has these methods.

 
IWMIndexer::Cancel

The Cancel method cancels the current indexing operation.
IWMIndexer::StartIndexing

The StartIndexing method initiates indexing.

Requirements

Requirement Value
Target Platform Windows
Header wmsdkidl.h

See also

Indexer Object

Interfaces