Copyright © 2011-2018 MultiMedia Soft

EncodeFormats.ACM.InitCodecs method

Previous pageReturn to chapter overviewNext page



Initializes the EncodeACM class 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 EncodeACM class 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 EncodeFormatsMan class.





[Visual Basic]

Public Function InitCodecs (

) as enumErrorCodes



public enumErrorCodes InitCodecs (




public: enumErrorCodes InitCodecs (




Return value






Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.