Gets the number of formats available for the specified codec and media type.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As WMProfileManager
Dim Type As String
Dim CodecIndex As Integer
Dim value As Integer
value = instance.GetCodecFormatCount(Type, 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
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also