© 2013 Thorlabs GmbH
4 Programming (SDK)
279
4.3.63 is_InquireImageMem
Syntax
INT is_InquireImageMem (HIDS hCam, char* pcMem, int nID,
int* pnX, int* pnY,
int* pnBits, int* pnPitch);
Description
is_InquireImageMem() reads out the properties of an allocated image memory.
Input parameters
Pointer to the starting address of the image memory as allocated by
is_AllocImageMem()
ID of the image memory as allocated by is_AllocImageMem()
Returns the width used to define the image memory. You can also pass NULL
instead.
Returns the height used to define the image memory. You can also pass NULL
instead.
Returns the bit width used to define the image memory. You can also pass
NULL instead.
Returns the line increment of the image memory. You can also pass NULL
instead.
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_SetImageMem()
is_SetAllocatedImageMem()
is_GetColorDepth()
157
157
157
337
301
237