Share via


Class Identifiers for Table of Contents Parser

The following classes are declared and associated with class identifiers (CLSIDs) in wmcodecdsp.h.

Class name Friendly object name
CTocEntry TOC Entry
CTocEntryList TOC Entry List
CToc TOC
CTocCollection TOC Collection
CTocParser TOC Parser
CTocGeneratorDmo TOC Generator

 

The preceding table gives a friendly object name for each class. This documentation uses those friendly names to refer to instances of the classes. For example, the documentation refers to an instance of the CTocEntry class as a TOC Entry object.

In code, you can use __uuidof to refer to the CLSIDs. For example, you can use the following code to refer to the CLSID for CTocGeneratorDmo.

__uuidof(CTocGeneratorDmo)

CLSID Constants Defined in Wmcodecdsp.h

As an alternative to using __uuidof, you can use constants to refer to the CLSIDs. The following constants are defined in wmcodecdsp.h

Class name CLSID constant
CTocEntry CLSID_CTocEntry
CTocEntryList CLSID_CTocEntryList
CToc CLSID_CToc
CTocCollection CLSID_CTocCollection
CTocParser CLSID_CTocParser

 

CLSID Constants Defined in Wmcodecdspuuid.lib

The following CLSID constant is declared, but not defined, in wmcodecdsp.h. To use it in code, you must link against wmcodecdspuuid.lib.

Class name CLSID constant
CTocGeneratorDmo CLSID_CTocGeneratorDmo

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Wmcodecdsp.h

DLL

Wmvdspa.dll

See Also

Table of Contents Parser Objects

 

 

Send comments about this topic to Microsoft

Build date: 4/7/2010