IMFASFIndexer interface

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.

Members

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

Methods

The IMFASFIndexer interface has these methods.

MethodDescription
CommitIndex

Adds information about new index entries to the ContentInfo object of the output file.

GenerateIndexEntries

Creates index entries for the specified ASF data packet.

GetCompletedIndex

Retrieves the completed index from the ASF indexer object.

GetFlags

Retrieves the flags that indicate the selected indexer options.

GetIndexByteStreamCount

Retrieves the number of byte streams that are included in the index. This method currently only retrieves 1.

GetIndexPosition

Retrieves the offset of the ASF Index Object relative to start of the ASF file.

GetIndexStatus

Retrieves the index settings for a specified stream and index type.

GetIndexWriteSpace

Retrieves the size of the buffer required to store the completed index.

GetSeekPositionForValue

Given a desired seek time, retrieves the offset from which the client should start reading data.

Initialize

Initializes the indexer with the ContentInfo object of the ASF file to be read or encoded.

SetFlags

Specifies the read or the write mode.

SetIndexByteStreams

Sets the byte stream that contains the index entries.

SetIndexStatus

Specifies the type of index entries that the indexer must generate for the ASF file.

 

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Wmcontainer.h

Library

Mfuuid.lib

See also

Media Foundation Interfaces
ASF Index Object
MFCreateASFIndexer

 

 

Show: