ITocParser::AddToc method (wmcodecdsp.h)
The AddToc method adds a table of contents to the TOC Parser object and assigns an index to the added table of contents.
Syntax
HRESULT AddToc(
TOC_POS_TYPE enumTocPosType,
[in] IToc *pToc,
[out] DWORD *pdwTocIndex
);
Parameters
enumTocPosType
[in] pToc
Pointer to an IToc interface that represents the table of contents to be added.
[out] pdwTocIndex
Pointer to a DWORD that receives the index of the added table of contents.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
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 |
DLL | Wmvdspa.dll |