GetCodec
Description
Return the name of the codec (video compressor) selected for the AVI capture.
Syntax
[VB]
Value=objActiveDcam.GetCodec
[C/C++]
HRESULT GetCodec(bstr *pName);
Data Types
[VB]
Return value
: String
Parameters
[C/C++]
pName
[in]
String containing the name of the currently selected codec [out, retval]
Return Values
S_OK
Success
E_FAIL
Failure to set the codec
Example
The following VB example prints the name of the currently selected codec:
MsgBox ActiveDcam1.GetCodec
Remarks
If no compression codec is selected for the AVI capture,
SetCodec
will return "
Full Frames (Uncompressed)
".