Oemgetlinearrange, Oemgetmaxmessagechars, Oemgetprintweight – Hand Held Products 4X00 User Manual

Page 26

Advertising
background image

2 - 12

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

oemGetLinearRange

This function is used to get the size of the window used in the Advanced Linear decoding mode.

Result_t

oemGetLinearRange (
SetupType_t SetupType,
WORD *pnLinearRange
)

Return Values

RESULT_SUCCESS
RESULT_ERR_UNSUPPORTED

Parameters

SetupType

SETUP_TYPE_CURRENT for current settings, or SETUP_TYPE_DEFAULT for default settings.

pnLinearRange

Points to a WORD variable where the range value will be placed.

oemGetMaxMessageChars

This function returns the size of the largest possible decode message in characters.

Result_t

oemGetMaxMessageChars (
WORD *pnChars
)

Return Values

RESULT_SUCCESS
RESULT_ERR_PARAMETER

Parameters

pnChars

Upon successful return, this variable points to the number of characters (not bytes) required for the largest possible
decode message. In WindowsCE the character size is 2 bytes (wchar_t)

oemGetPrintWeight

This function returns the current or default "Print Weight" (relative contrast) expected by the decoder for barcodes or OCR text.

Result_t

oemGetPrintWeight (
SetupType_t SetupType,
WORD *pnPrintWeight
)

Return Values

RESULT_SUCCESS
RESULT_ERR_PARAMETER

Parameters

SetupType

SETUP_TYPE_CURRENT for current settings, or SETUP_TYPE_DEFAULT for default settings.

pnPrintWeight

Upon successful return, this variable points to the print weight (relative blackness) that the decoder expects to see when
attempting to decode symbols or OCR text from an image.

Advertising