Function result values, Function result values -2 – Hand Held Products 4X00 User Manual

Page 86

Advertising
background image

3 - 2

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

Function Result Values

The following function result values are a sample of the values defined in the Oemdecodece.h header file.

RESULT_SUCCESS

The API function succeeded.

RESULT_ERR_BADREGION

An image was requested using an invalid image region.

RESULT_ERR_DRIVER

The API function caused an error in the engine driver, or
driver not available.

RESULT_ERR_ENGINEBUSY

The API function failed because the engine was busy
(imaging).

RESULT_ERR_FILEINVALID

The file was not a valid firmware upgrade file.

RESULT_ERR_MEMORY

The API function was unable to allocate memory from OS.

RESULT_ERR_NODECODE

The API function did not result in a decoded message.

RESULT_ERR_NOIMAGE

The API function was unable to return with valid image
data.

RESULT_ERR_NOTRIGGER

The API function terminated the decode due to a user-
supplied callback function, such as trigger up callback).

RESULT_ERR_PARAMETER

The API function failed because one or more parameters
were invalid.

Advertising