ICP DAS USA IM-30 Camcorder User Manual


 
IMC_Gain_Get
Syntax:
Visual C++ 6.0 / Boland C++ Builder 6.0:
short IMC_Gain_Get ( HANDLE Camera_Handle, int* pGainValue);
Visual Basic 6.0
IMC_Gain_Get (ByVal Camera_Handle As Long, ByRef pGainValue As Long) As
Integer
.
eturn:
UCCESSFUL Successfully
NULL.
en initialized.
C#.NET 2003
Mavis.IMC_Gain_Get( IntPtr Camera_Handle, IntPtr pGainValue );
Description:
This function gets the current setting of Gain. The camera needs be initialized with
IMC_Camera_Init().
Parameters:
Camera_Handle The handle for MAVIS camera, use the handle gotten from the
pHandle’ parameter of IMC_Camera_Init()
pGainValue The pointer to integer that contains the Gain value
R
ERROR_S
ERROR_CAMERA_CREATE The Camera_Handle is
ERROR_DEVICE_UNINIT The specific camera has not be
ERROR_INVALID_CAMERA The handle is invalid.
- 71 -