Copyright © 2008-2018 MultiMedia Soft

EncodeFormats.ACM.GetCodecFormatsCount method

Previous pageReturn to chapter overviewNext page



Returns the number of formats available for the given ACM codec.


The friendly description of each ACM format can be obtained using the EncodeFormats.ACM.GetCodecFormatDesc method.


For further details about using the Windows Audio Compression Manager refer to the ACM object section.

For a tutorial about the use of the Windows Audio Compression Manager refer to the How to use the Windows Audio Compression Manager section.

For further information about available encoding formats see the EncodeFormats object.





[Visual Basic]

control.EncodeFormats.ACM.GetCodecFormatsCount (

nCodecIndex as integer

) as integer



short control.EncodeFormats.ACM.GetCodecFormatsCount (

short nCodecIndex










Number representing the zero-based index of the ACM codec




Return value






Negative value

An error occurred, check the LastError property value in order to see the error code meaning

> 0

The number of available formats.