Hand Held Products 4X00 manual OemGetLastImageExt, Resultt oemGetLastImage

Models: 4X00

1 90
Download 90 pages 3.78 Kb
Page 24
Image 24

oemGetLastImage

This function is used to retrieve the last image acquired by the image engine.

Result_t oemGetLastImage (

BYTE *pImageBuffer DWORD *pImageSize

)

Return Values

RESULT_SUCCESS

RESULT_ERR_PARAMETER

RESULT_ERR_NOIMAGE

Parameters

pImageBuffer

Pointer to the user supplied buffer to be filled with the image data. The buffer must be at least MAX_IMAGE_SIZE in size.

pImageSize

Pointer to a DWORD that returns the size of the image.

oemGetLastImageExt

This function is used to retrieve the last image acquired by the image engine and the exposure parameters associated with that image.

Result_t oemGetLastImageExt (

BYTE *pImageBuffer, DWORD *pImageSize, ImageAttributes_t *pImageAttributes

)

Return Values

RESULT_SUCCESS

RESULT_ERR_PARAMETER

RESULT_ERR_NOIMAGE

Parameters

pImageBuffer

Pointer to the user-supplied buffer to be filled with the image data. The buffer must be at least MAX_IMAGE_SIZE in size.

pImageSize

Pointer to a DWORD that will return the size of the image.

pImageAttributes

Pointer to an ImageAttributes_t structure that has been initialized to zeros. Upon successful return the structure will contain the specific values for the returned image. Please see the engnapi.h header file for details of the ImageAttributes_t structure.

2 - 10

IMAGETEAM™ 4X00 Series Software Development Kit (SDK) User’s Guide

Page 24
Image 24
Hand Held Products 4X00 manual OemGetLastImageExt, Resultt oemGetLastImageExt