Oemgeterrormessage, Oemgetexposuresettings, Oemgeterrormessage -6 oemgetexposuresettings -6 – Hand Held Products 4X00 User Manual

Page 20

Advertising
background image

2 - 6

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

oemGetErrorMessage

This function returns a string containing the description of the error corresponding to the nError parameter.

Result_t

oemGetErrorMessage (
TCHAR *pszErrorMsg,
Result_t nError
)

Return Values

RESULT_SUCCESS always

Parameters

pszErrorMsg

Upon successful return, this null-terminated string is filled in with text describing the error identified by the nError
parameter. The caller must allocate at least ENGINE_API_RESPONSE_LEN bytes for this string.

nError

A value returned from another API function call.

oemGetExposureSettings

This function is used to retrieve the various image parameters that are used during image acquisition.

Result_t

oemGetExposureSettings (
ExposureSettings_t *pExpsoureSettings
)

Return Values

RESULT_SUCCESS
RESULT_ERR_UNSUPPORTED
RESULT_ERR_DRIVER
RESULT_ERR_PARAMETER

Parameters

pExposureSettings

A pointer to an exposure settings structure that has been initialized to zero. Upon return the structure will contain the
current exposure parameters used during image acquisition.

Advertising