Copyright © 2001-2019 MultiMedia Soft

VideoPlayer.FiltersInGraphGetClsid method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the class identifier (CLSID) of a specific DirectShow filter instanced inside the filter graph for the loaded video clip.

 

A CLSID is a 128 bit (large) number that represents a unique identifier for a software application or application component and is in the format "{AE7AB96B-FF5E-4dce-801E-14DF2C4CD681}".

 

For further details about the use of the embedded video player see the VideoPlayer object section.

For details about video clips rendering refer to the How to play video files through DirectShow tutorial.

 

 

Syntax

 

[Visual Basic]

control.VideoPlayer.FiltersInGraphGetClsid (

nPlayer as Integer,

nFilterIndex as Integer

) as String


 

[C++]

LPCTSTR control.VideoPlayer.FiltersInGraphGetClsid (

short nPlayer,

short nFilterIndex

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the player that will use the video player.

nFilterIndex

Number representing the zero-based index of the DirectShow filter. The total number of instanced DirectShow filters can be obtained using the VideoPlayer.FiltersInGraphGetCount method.

 

 

Return value

 

Value

Meaning

 

 

Empty string

The value of the nFilterIndex parameter was out of range. Use the value returned by the VideoPlayer.FiltersInGraphGetCount method in order to know how many DirectShow filters are currently instanced inside the filter graph.

Valid string

The string containing the class identifier (CLSID) of the requested DirectShow filter.