GetCodecFormatCount Method

Summary
Gets the number of formats available for the specified codec and media type.
Syntax
C#
C++/CLI
public int GetCodecFormatCount( 
   string Type, 
   int 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

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

Leadtools.Multimedia Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.