Redigera

Dela via


The Position Type of a Table of Contents

Some methods of the ITocParser interface have a parameter named enumTocPosType that has a type of enum TOC_POS_TYPE. This parameter specifies the position in a media file where a table of contents is stored. The intent was that the table of contents could be stored either in the file header or in the body of the file as a top level object. This functionality has not, as yet, been implemented.

Currently, tables of contents can only be stored as top level objects, so you must always set the enumTocPosType parameter to TOC_POS_TOPLEVELOBJECT. If you set enumTocPosType to TOC_POS_INHEADER, the method will return E_NOTIMPL.

The following methods have an enumTocPosType parameter.

Table of Contents Parser Programming Guide