IToc interface (wmcodecdsp.h)

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

Inheritance

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

Methods

The IToc interface has these methods.

 
IToc::AddEntryList

The AddEntryList method adds an entry list to the table of contents and assigns an index to the entry list.
IToc::AddEntryListByIndex

The AddEntryListByIndex method adds an entry list to the table of contents and associates a caller-supplied index with the entry list.
IToc::GetContext

The GetContext method retrieves a block of bytes that was previously associated with the table of contents by a call to SetContext.
IToc::GetDescription

The GetDescription method retrieves the description, set by a previous call to SetDescription, of the table of contents.
IToc::GetDescriptor

The GetDescriptor method retrieves the descriptor, previously set by SetDescriptor, of the table of contents.
IToc::GetEntryListByIndex

The GetEntryListByIndex method retrieves an entry list, specified by an index, from the table of contents.
IToc::GetEntryListCount

The GetEntryListCount method retrieves the number of entry lists in the table of contents.
IToc::RemoveEntryListByIndex

The RemoveEntryListByIndex method removes an entry list, specified by an index, from the table of contents.
IToc::SetContext

The SetContext method associates a caller-supplied context block with the table of contents.
IToc::SetDescription

The SetDescription method associates a description with the table of contents.
IToc::SetDescriptor

The SetDescriptor method associates a descriptor with the table of contents.

Requirements

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

See also

IUnknown

Table of Contents Parser Interfaces