USB 2.0 USB 3.x GigE |
USB 2.0 USB 3.x GigE |
Syntax
INT is_ExitCamera (HIDS hCam)
Description
is_ExitCamera() disables the hCam camera handle and releases the data structures and memory areas taken up by the uEye camera. Image memory allocated using the is_AllocImageMem() function which has not been released yet is automatically released.
Note on DLL_PROCESS_DETACH The is_ExitCamera() function calls "ExitThread" internally. If you are in the "DLL_PROCESS_DETACH" process, "ExitThread" is not allowed to be called, i.e. is_ExitCamera() is also not allowed to be called. |
Input parameters
hCam |
Camera handle |
Return values
IS_CANT_OPEN_REGISTRY |
Error opening a Windows registry key |
IS_CANT_READ_REGISTRY |
Error reading settings from the Windows registry |
IS_ERROR_CPU_IDLE_STATES_CONFIGURATION |
The configuration of the CPU idle has failed. |
IS_INVALID_CAMERA_HANDLE |
Invalid camera handle |
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_IMAGE_MEM_ALLOCATED |
The driver could not allocate memory. |
IS_NO_SUCCESS |
General error message |
IS_SUCCESS |
Function executed successfully |
Related functions