IMFASFIndexer interface (wmcontainer.h)

Provides methods to work with indexes in Systems Format (ASF) files. The ASF indexer object exposes this interface. To create the ASF indexer, call MFCreateASFIndexer.

Inheritance

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

Methods

The IMFASFIndexer interface has these methods.

 
IMFASFIndexer::CommitIndex

Adds information about a new index to the ContentInfo object associated with ASF content. You must call this method before copying the index to the content so that the index will be readable by the indexer later.
IMFASFIndexer::GenerateIndexEntries

Accepts an ASF packet for the file and creates index entries for them.
IMFASFIndexer::GetCompletedIndex

Retrieves the completed index from the ASF indexer object.
IMFASFIndexer::GetFlags

Retrieves the flags that indicate the selected indexer options.
IMFASFIndexer::GetIndexByteStreamCount

Retrieves the number of byte streams that are in use by the indexer object.
IMFASFIndexer::GetIndexPosition

Retrieves the offset of the index object from the start of the content.
IMFASFIndexer::GetIndexStatus

Retrieves the index settings for a specified stream and index type.
IMFASFIndexer::GetIndexWriteSpace

Retrieves the size, in bytes, of the buffer required to store the completed index.
IMFASFIndexer::GetSeekPositionForValue

Given a desired seek time, gets the offset from which the client should start reading data.
IMFASFIndexer::Initialize

Initializes the indexer object.
IMFASFIndexer::SetFlags

Sets indexer options.
IMFASFIndexer::SetIndexByteStreams

Adds byte streams to be indexed.
IMFASFIndexer::SetIndexStatus

Configures the index for a stream.

Remarks

You can use the indexer object to read an existing ASF index or write a new index. The index object has two mutually exclusive modes: read mode and write mode. To set the mode, call SetFlags.

Use the following methods to configure the indexer object (both modes):

Use the following methods to read an existing index: Use the following methods to write an index:

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wmcontainer.h

See also

ASF Index Object

MFCreateASFIndexer

Media Foundation Interfaces