Skip to content

Latest commit

 

History

History
93 lines (76 loc) · 3.28 KB

nf-wmcodecdsp-itocparser-removetocbytype.md

File metadata and controls

93 lines (76 loc) · 3.28 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:wmcodecdsp.ITocParser.RemoveTocByType
ITocParser::RemoveTocByType (wmcodecdsp.h)
The RemoveTocByType method removes all tables of contents of a specified type from the TOC Parser object.
ITocParser interface [Media Foundation]
RemoveTocByType method
ITocParser.RemoveTocByType
ITocParser::RemoveTocByType
RemoveTocByType
RemoveTocByType method [Media Foundation]
RemoveTocByType method [Media Foundation]
ITocParser interface
codecapi.itocparser_removetocbytype
mf.itocparser_removetocbytype
wmcodecdsp/ITocParser::RemoveTocByType
mf\itocparser_removetocbytype.htm
mf
e3d32dc9-ccae-46fd-9dd4-62e300981da0
12/05/2018
ITocParser interface [Media Foundation],RemoveTocByType method, ITocParser.RemoveTocByType, ITocParser::RemoveTocByType, RemoveTocByType, RemoveTocByType method [Media Foundation], RemoveTocByType method [Media Foundation],ITocParser interface, codecapi.itocparser_removetocbytype, mf.itocparser_removetocbytype, wmcodecdsp/ITocParser::RemoveTocByType
wmcodecdsp.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Wmvdspa.dll
Windows
19H1
ITocParser::RemoveTocByType
wmcodecdsp/ITocParser::RemoveTocByType
c++
APIRef
kbSyntax
COM
wmvdspa.dll
ITocParser.RemoveTocByType

ITocParser::RemoveTocByType

-description

The RemoveTocByType method removes all tables of contents of a specified type from the TOC Parser object.

-parameters

-param unnamedParam1 [in]

A member of the TOC_POS_TYPE enumeration that specifies the position type of the tables of contents to be removed.

-param guidTocType [in]

A globally unique identifier (GUID) that specifies the type of table of contents to removed. See Remarks.

-returns

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

-remarks

You might want to design several different type of tables of contents. In that case, you can distinguish between types by creating a GUID that represents each type. You can identify a table of contents as a particular type by setting the guidType member of a TOC_DESCRIPTOR structure and then passing the TOC_DESCRIPTOR structure to IToc::SetDescriptor.

-see-also

ITocParser