Copyright © 2008-2018 MultiMedia Soft

EncodeFormats.ACM.InitCodecs method

Previous pageReturn to chapter overviewNext page



Initializes the ACM object which allows enumerating codecs and respective formats installed within the Windows Audio Compression Manager. The call to this method is mandatory if you need to start a recording, ripping or exporting session using one of the installed ACM codecs.


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.InitCodecs (

) as enumErrorCodes



short control.EncodeFormats.ACM.InitCodecs (




Return value






Negative value

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

enumErrorCodes.ERR_NOERROR (0)

The method call was successful