Home > Function descriptions > History back  Previous chapter  Next chapter  Print  

SetAllocatedImageMem

uEye ActiveX Manual Version 4.00

SetAllocatedImageMem

Syntax

LONG SetAllocatedImageMem (LONG pBuffer, LONG lSize)

Description

With SetAllocatedImageMem() the uEye ActiveX control discards its own image buffers and uses the one(s) supplied by the application. You can use more than one buffer by successive calls to SetAllocatedImageMem().

Parameters

pBuffer

pBuffer is interpreted as the address of the image buffer.

lSize

The size of the buffer, which must at least be big enough to hold an image with current size and bit depth.

Return values

IS_SUCCESS

Function executed successfully

IS_NO_SUCCESS

General error message

Hinweis

If the image size changes due to a call to SetAOI(), SetColorMode() or some other reason, the control switches to its own buffers if the new size doesn’t fit the user allocated buffers.

Also each change to SequenceLength causes the control to reuse its own buffers.

Related functions

InquireImageMem()

GetImageMem()


Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!

For technical questions please contact you local distributor or use the support form on our website.


© 2012 IDS Imaging Development Systems GmbH
http://www.ids-imaging.com