GetCodecFormatCount Method

Summary

Gets the number of formats available for the specified codec and media type.

Syntax
C#
VB
C++
public int GetCodecFormatCount( 
   string Type, 
   int CodecIndex 
) 
Public Function GetCodecFormatCount( _ 
   ByVal Type As String, _ 
   ByVal CodecIndex As Integer _ 
) As Integer 
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

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Multimedia Assembly