ICP DAS USA IM-100 Camcorder User Manual


 
IMC_AcquisitionFrame_Copy
OID pData );
IM a As Any) As
Mavis.IMC_AcquisitionFrame_Copy( IntPtr Camera_Handle, IntPtr pData);
his function is helpful to store the
cquisition frame.
Camera_Handle le gotten from the
pHandle’ parameter of IMC_Camera_Init().
The pointer to the buffer that acquisition frame will be copied
initialized.
ERROR_INVALID_CAMERA The handle is invalid.
ERROR_NOFRAME_AVAILABLE No Acquisition frame is available.
Syntax:
Visual C++ 6.0 / Boland C++ Builder 6.0:
short IMC_AcquisitionFrame_Copy ( HANDLE Camera_Handle, PV
Visual Basic 6.0
C_AcquisitionFrame_Copy (ByVal Camera_Handle As Long, ByRef pDat
Integer
C#.NET 2003
Description:
This function copies the acquisition frame into the buffer. IMC_Image_Acquire ()
should be called before calling this function. T
a
Parameters:
The handle for MAVIS camera, use the hand
pData
into.
Return:
ERROR_SUCCESSFUL Successfully
ERROR_CAMERA_CREATE The Camera_Handle is NULL.
ERROR_DEVICE_UNINIT The specific camera has not been
- 62 -