© 2016 Thorlabs Scientific Imaging
4 Programming (SDK)
197
4.3.23 is_ExitCamera
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 DCx camera. Image memory allocated using the is_AllocImageMem()
function which has not been released yet is automatically released.
Note
We recommend that you call the following functions only from a single thread in order to avoid
unpredictable behaviour of the application.
is_InitCamera()
is_SetDisplayMode()
is_ExitCamera()
See also Programming: Thread programming
Input parameters
Return values
Error opening a Windows registry key
Error reading settings from the Windows registry
IS_ERROR_CPU_IDLE_STATES_CONFIGURATION
The configuration of the CPU idle has failed.
One of the submitted parameters is outside the
valid range or is not supported for this sensor or
is not available in this mode.
An IO request from the uc480 driver failed.
Possibly the versions of the uc480.dll (API) and
the driver file (uc480_usb.sys) do not match.
IS_NO_IMAGE_MEM_ALLOCATED
The driver could not allocate memory.
Function executed successfully
Related functions
is_InitCamera()
is_EnableAutoExit()