GetCodec
Top  Previous  Next

Description

Gets the name of the currently selected codec (video compressor) for the AVI capture.


Syntax


[VB]
Value = objActiveUSB.GetCodec


[C/C++]
HRESULT GetCodec();


Data Types
[VB]

Return value: String


Parameters
[C/C++]
 
pValue [out,retval]  
Pointer to the bstr value containing the name of the currently selected codec.  


Return Values


S_OK  
Success  
E_FAIL  
Failure to get the codec  
 

Example


The following VB example prints the name of the currently selected codec:

MsgBox ActiveUSB1.GetCodec