Share via


ITocParser Interface

The ITocParser interface represents a TOC Parser object. It provides methods for storing tables of contents in a video file and retrieving tables of contents from a video file.

Members

The ITocParser interface inherits from the IUnknown interface. ITocParser also defines the following types of members:

  • Methods

Methods

The ITocParser interface defines the following methods.

Method Description
AddToc

Adds a table of contents to the TOC Parser object and assigns an index to the added table of contents.

Commit

Stores the current state of the TOC Parser object in its associated media file.

GetTocByIndex

Retrieves a table of contents, specified by an index, from the TOC Parser object.

GetTocByType

Retrieves all tables of contents of a specified type from the TOC Parser object.

GetTocCount

Retrieves the number of tables of contents, of a specified position type, in the TOC Parser object.

Init

Initializes the TOC Parser object and associates it with a media file.

RemoveTocByIndex

Removes a table of contents, specified by an index, from the TOC Parser object.

RemoveTocByType

Removes all tables of contents of a specified type from the TOC Parser object.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Wmcodecdsp.h

DLL

Wmvdspa.dll

See Also

Table of Contents Parser Interfaces

 

 

Send comments about this topic to Microsoft

Build date: 4/7/2010