Oemgetsetupcodabar, Oemgetsetupcodablock, Oemgetsetupcodabar -16 oemgetsetupcodablock -16 – Hand Held Products 4X00 User Manual

Page 30

Advertising
background image

2 - 16

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

oemGetSetupCodabar

This function is used to get the Codabar symbology-specific options.

Result_t

oemGetSetupCodabar (
SetupType_t SetupType,
BOOL *pEnabled,
WORD *pMinLength,
WORD *pMaxLength
BOOL *pbSSXmit,
BOOL *pbCheckCharOn,
BOOL *pbXmitCheckChar
)

Return Values

RESULT_SUCCESS
RESULT_ERR_PARAMETER

Parameters

SetupType

SETUP_TYPE_CURRENT for current settings, or SETUP_TYPE_DEFAULT for default settings.

pEnabled

Points to a BOOL variable that contains the enabled state of this symbology upon returning from the function. A TRUE
means the symbology is enabled; a FALSE means the symbology is disabled.

pMinLength

Points to a WORD variable that contains the minimum length decoded Codabar message the engine should return.
Codabar messages smaller than this minimum length are not reported by the engine. The default value is 2.

pMaxLength

Points to a WORD variable that contains the maximum length decoded Codabar message the engine should return.
Codabar messages larger than this maximum length are reported by the engine. The default value is 60.

pbSSXmit

Points to a BOOL variable that determines if the start and stop characters are returned in the data string after a
successful Codabar decode. If bSSXmit is TRUE, the start and stop characters are included. If FALSE, they are not
included. The default value is FALSE.

pbCheckCharOn

Points to a BOOL variable that determines if the engine will read Codabar bar codes with or without check characters.
If TRUE, the engine only decodes Codabar codes with a check character. If FALSE, the decoder decodes codes with
or without a check character. The default value is FALSE.

pbXmitCheckChar

Points to a BOOL variable that determines if the engine will return the check character as part of the data string after a
successful decode. If TRUE, the engine returns the check character. If FALSE the check character is not returned.
The default value is FALSE.

oemGetSetupCodablock

This function is used to get the Codablock F symbology-specific options.

Result_t

oemGetSetupCodablock (
SetupType_t SetupType,
BOOL *pEnabled,
WORD *pMinLength,
WORD *pMaxLength
)

Return Values

RESULT_SUCCESS
RESULT_ERR_PARAMETER

Advertising