oemGetSetupCode128

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

Result_t oemGetSetupCode128 (

SetupType_t SetupType, BOOL *pEnabled, WORD *pMinLength, WORD *pMaxLength

)

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 Code 128 message the engine should return. Code 128 messages smaller than this minimum length are not reported by the engine. The default value is 0.

pMaxLength

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

oemGetSetupCode16K

This function is used to get the Code 16K symbology specific options.

Result_t oemGetSetupCode16K (

SetupType_t SetupType, BOOL *pEnabled, WORD *pMinLength, WORD *pMaxLength

)

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 Code 16K message the engine should return. Code 16K messages smaller than this minimum length are not reported by the engine. The default value is 1.

pMaxLength

Points to a WORD variable that contains the maximum length decoded Code16K message the engine should return. Code 16K messages larger than this maximum length are not reported by the engine. The default value is 160.

2 - 18

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

Page 32
Image 32
Hand Held Products 4X00 OemGetSetupCode128, OemGetSetupCode16K, Resultt oemGetSetupCode128, Resultt oemGetSetupCode16K