Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents  
 
 
EncodeFormats.ACM.GetCodecFormatsCount method 
 
Remarks 
 
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 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. 
 
 
Syntax 
 
[Visual Basic] 
Public Function GetCodecFormatsCount
nCodecIndex  as integer 
) as Int16 
 
[C#] 
public Int16 GetCodecFormatsCount
Int16 nCodecIndex  
);
 
[C++] 
public: Int16 GetCodecFormatsCount
Int16 nCodecIndex  
);
 
 
Parameter
Description
 
 
nCodecIndex
Number representing the zero-based index of the ACM codec
 
 
 
Return value 
 
Value
Meaning
 
 
Negative value
An error occurred, check the LastError property value in order to see the error code meaning
> 0
The number of available formats.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents