![background image](http://html1.mh-extra.com/html/hand-held-products/5080/5080_user-manual_589690020.webp)
2 - 6
5X80 Series Software Development Kit (SDK) User’s Guide
hhpRawAcquireIntelligentImage
Captures a portion of the image in which a barcode is decoded. The position of the image is specified relative to the center of
the barcode. This function differs from
hhpAcquireIntelligentImage
(page 2-1) in that the barcode data is returned as a raw
(untranslated) byte data array.
Note: Since the HHP_INTEL_IMG structure requires that image offsets and size be specified in barcode units, the
HHP_INTEL_IMG structure has a size member that allows you to specify (in pixels) the maximum allowable width and
height for the returned image.
Syntax
hhpRawAcquireIntelligentImage
(
P
HHP_INTEL_IMG
pIntelImg,
P
HHP_RAW_DECODE_MSG
pRawDecodeMsg,
DWORD
dwTimeout,
P
HHP_IMAGE
pImg,
BOOL
bWait
)
Parameter
Description
pIntelImg
Pointer to an HHP_INTEL_IMG structure that contains the setup parameters describing the location
of the intelligent image relative to the barcode.
pRawDecodeMsg Pointer to an HHP_RAW_DECODE_MSG structure if bWait is TRUE. If bWait is FALSE, the
parameter is ignored and should be NULL. The intelligent barcode raw data (untranslated) is returned
here.
dwTimeout
Maximum time (in milliseconds) to attempt to decode before declaring a no decode.
pImg
Pointer to an HHP_IMAGE structure if bWait is TRUE. If FALSE, the parameter is ignored and should
be NULL.
bWait
If TRUE, do not return until the image is received, the decode timeout is reached, or an error occurs.
If FALSE, return immediately. One of the event notification methods must be enabled to receive
notification of completion (see
hhpSetAsyncMethods
on page 2-10).
hhpReadConfigItem
Reads the configuration items for one or all of the configuration structures found in the main 5X80 SDK configuration structure
HHP_CONFIG.
Syntax
hhpReadConfigItem
(
SetupType_t
cfgType,
ConfigItems_t item,
PVOID
pStruct
)
Parameter
Description
cfgType
Use SETUP_TYPE_CURRENT for the current settings, or SETUP_TYPE_DEFAULT for the
customer default settings.
item
One of the members of the enumerated type ConfigItems_t. The valid values are:
BEEPER_CONFIG
Returns beeper control settings for devices with audible beepers. The
settingss include volume, beep on decode, and beep on reset.
TRIGGER_CONFIG
Returns values for all trigger timeouts and current trigger mode.
DECODER_CONFIG
Returns the decoder setup. This includes single decode, multiple
decodes, print weight, centered decode, and aimer.
POWER_CONFIG
Contains low power configuration settings: trigger mode, low power
timeout, low power imaging, LED brightness, aimer LED settings, and
system clock speed.
VERSION_INFO
Returns the SDK, imager firmware, and imager boot code versions.
SYMBOLOGY_CONFIG Returns the enable and setup parameters for all symbologies. Individual
symbologies can be read by calling hhpReadSymbologyConfig.
Summary of Contents for 5080
Page 6: ...iv 5X80 Series Software Development Kit SDK User s Guide ...
Page 14: ...1 8 5X80 Series Software Development Kit SDK User s Guide ...
Page 50: ...4 14 5X80 Series Software Development Kit SDK User s Guide ...
Page 60: ...6 8 5X80 Series Software Development Kit SDK User s Guide ...
Page 62: ...7 2 5X80 Series Software Development Kit SDK User s Guide ...
Page 63: ......