© 2013 Thorlabs GmbH
4 Programming (SDK)
225
4.3.30 is_GetActiveImageMem
Syntax
INT is_GetActiveImageMem (HIDS hCam, char** ppcMem, INT* pnID)
Description
is_GetActiveImageMem() returns the pointer to the starting address and the ID number of the active image
memory.
If a Direct3D mode is active and image memory was nevertheless allocated, the pointer to the image memory and
its ID will be returned. However, in Direct3D mode, the image will not be copied automatically to this image
memory.
Input parameters
Returns the pointer to the starting address of the active
image memory.
Returns the ID of the active image memory.
Return values
IS_CANT_COMMUNICATE_WITH_DRIVER
Communication with the driver failed because no driver
has been loaded.
An attempt to initialize or select the camera failed (no
camera connected or initialization error).
IS_INVALID_MEMORY_POINTER
Invalid pointer or invalid memory ID
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_api.dll (API) and the driver file
(uc480_usb.sys) do not match.
Function executed successfully
Related functions
is_AllocImageMem()
is_GetImageMem()
is_SetImageMem()
is_SetAllocatedImageMem()
157
247
337
301