IToc Interface

The IToc interface represents an individual table of contents. It provides methods for adding entries to, and removing entries from the table of contents.

Members

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

  • Methods

Methods

The IToc interface defines the following methods.

Method Description
AddEntryList

Adds an entry list to the table of contents and assigns an index to the entry list.

AddEntryListByIndex

Adds an entry list to the table of contents and associates a caller-supplied index with the entry list.

GetContext

Retrieves a block of bytes that was previously associated with the table of contents by a call to SetContext.

GetDescription

Retrieves the description, set by a previous call to SetDescription, of the table of contents.

GetDescriptor

Retrieves the descriptor, previously set by SetDescriptor, of the table of contents.

GetEntryListByIndex

Retrieves an entry list, specified by an index, from the table of contents.

GetEntryListCount

Retrieves the number of entry lists in the table of contents.

RemoveEntryListByIndex

Removes an entry list, specified by an index, from the table of contents.

SetContext

Associates a caller-supplied context block with the table of contents.

SetDescription

Associates a description with the table of contents.

SetDescriptor

Associates a descriptor with the table of contents.

 

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