LEADTOOLS Multimedia (Leadtools.Multimedia assembly)
LEAD Technologies, Inc

GetCodecFormatCount Method






Character string that identifies the major media type for which the number of available codecs is being retrieved.
The index of the codec
Gets the number of formats available for the specified codec and media type.
Syntax
public int GetCodecFormatCount( 
   string Type,
   int CodecIndex
)
'Declaration
 
Public Function GetCodecFormatCount( _
   ByVal Type As String, _
   ByVal CodecIndex As Integer _
) As Integer
'Usage
 
Dim instance As WMProfileManager
Dim Type As String
Dim CodecIndex As Integer
Dim value As Integer
 
value = instance.GetCodecFormatCount(Type, CodecIndex)
public int GetCodecFormatCount( 
   string Type,
   int CodecIndex
)
 function Leadtools.Multimedia.WMProfileManager.GetCodecFormatCount( 
   Type ,
   CodecIndex 
)
public:
int GetCodecFormatCount( 
   String^ Type,
   int CodecIndex
) 

Parameters

Type
Character string that identifies the major media type for which the number of available codecs is being retrieved.
CodecIndex
The index of the codec

Return Value

The number of formats
Remarks
Gets the number of formats available for the specified codec and media type. The returned number of formats can be used with WMProfileManager.GetCodecFormat to enumerate the available formats supported by the codec. For more information, refer to the Microsoft documentation for IWMCodecInfo.GetCodecFormatCount.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WMProfileManager Class
WMProfileManager Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Multimedia requires a Multimedia or Multimedia Suite license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features