GetCodecFormatCount Method (original) (raw)

Summary

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

Syntax

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.

Leadtools.Multimedia Assembly