Movie Player ActiveX Control

GetCurGraphFiltersCount

 

Get the number of count of Filters on current graph. It is useful if some media file cannot playback correctly, you may see whether another decoder is loaded.

Public Function GetCurGrahpFiltersCount() as Integer

 

No Parameter
 

Return Value
Return the the number of count of Filters on current graph.

Example

   

Visual Basic Syntax
MoviePlayer1.FileName="c:\test.mpg"
iCount = MoviePlayer1.GetCurGraphFiltersCount
List1.Clear
For i = 0 To iCount - 1
   List1.AddItem MoviePlayer1.GetCurGraphFilterName(i)
Next