Oemgetlastimage, Oemgetlastimageext, Oemgetlastimage -10 oemgetlastimageext -10 – Hand Held Products 4X00 User Manual

Page 24

Advertising
background image

2 - 10

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

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.

Advertising