![]() |
![]() |
|---|---|
USB 2.0 USB 3.x GigE |
USB 2.0 USB 3.x GigE |
Syntax
INT is_CopyImageMem (HIDS hCam, char* pcMemSrc, int nMemId, char* pcMemDst)
Description
is_CopyImageMem() copies the contents of the image memory described by pcMemSrc and nMemId to the memory area to whose starting address pcMemDst points.
|
The allocated memory must be large enough to accommodate the entire image in its current format (bits per pixel). |
Input parameters
hCam |
Camera handle |
pcMemSrc |
Pointer to the image memory |
nMemId |
ID of this image memory |
pcMemDst |
Pointer to the destination memory to copy the image to |
Return values
IS_CANT_COMMUNICATE_WITH_DRIVER |
Communication with the driver failed because no driver has been loaded. |
IS_CANT_OPEN_DEVICE |
An attempt to initialize or select the camera failed (no camera connected or initialization error). |
IS_INVALID_CAMERA_HANDLE |
Invalid camera handle |
IS_INVALID_MEMORY_POINTER |
Invalid pointer or invalid memory ID |
IS_INVALID_PARAMETER |
One of the submitted parameters is outside the valid range or is not supported for this sensor or is not available in this mode. |
IS_IO_REQUEST_FAILED |
An IO request from the uEye driver failed. Possibly the versions of the ueye_api.dll (API) and the driver file (ueye_usb.sys or ueye_eth.sys) do not match. |
IS_NO_SUCCESS |
General error message |
IS_SUCCESS |
Function executed successfully |
Related functions