GetCodecList
Top  Previous  Next

Description

Returns the array of strings containing the names of AVI codecs (compressors) available in the system.


Syntax


[VB]
Value=objActiveGige.GetCodecList()


[C/C++]
HRESULT GetCodecList( VARIANT* pList );


Data Types
[VB]

Return value: Variant (SAFEARRAY)


Parameters
[C/C++]

pList [out,retval]  
Pointer to the SAFEARRAY of strings containing available categories  


Return Values


S_OK  
Success  
E_FAIL  
Failure.  


Example


This VB example initializes a combo box with the list of available codecs:

CodecLst = ActiveGige1.GetCodecList
For
 i = 0 
To
 
UBound
(CodecLst)
Combo1.AddItem (CodecLst(i))
Next
Combo1.ListIndex = 0


Remarks

Note that in C/C++ applications it is required to call SafeArrayDestroy() to delete the SAFEARRAY returned by GetCodecList.