ITocParser::GetTocCount method (wmcodecdsp.h)

The GetTocCount method retrieves the number of tables of contents, of a specified position type, in the TOC Parser object.

Syntax

HRESULT GetTocCount(
        TOC_POS_TYPE enumTocPosType,
  [out] DWORD        *pdwTocCount
);

Parameters

enumTocPosType

[out] pdwTocCount

Pointer to a DWORD that receives the number of tables 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
S_OK
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

See also

ITocParser