GetCodec
Description
Gets the name of the currently selected codec (video compressor) for the AVI capture.
Syntax
[VB]
Value = objActiveGige.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 ActiveGige1.GetCodec