4 - 9
LONG nUnderexposedPixels; Number of underexposed pixels in image.
LONG nOverexposedPixels; Number of overexposed pixels in image.
} HHP_IMAGE, *PHHP_IMAGE;
Other Imager Configuration Structures and Defines Beeper member valid bitmasks:
#define BPMASK_ON_DECODE 0x00001 Beep on successful decode.
#define BPMASK_SHORT_BEEP 0x00002 Beep on imager reset.
#define BPMASK_MENU_CMD_BEEP 0x00004 Beep on receive menu command.
#define BPMASK_BEEP_VOLUME 0x00008 Set the beeper volume.
#define BPMASK_ALL 0x0000f Mask for all members valid.
Beeper structure:
typedef struct _tagHHP_BEEPER
{
DWORD dwStructSize; Size of structure in bytes.
DWORD dwMask; Mask of active items.
BOOL bBeepOnDecode; Sound beeper on successful decode.
BOOL bShortBeep; Sound beeper whenever imager resets.
BOOL bMenuCmdBeep; Sound beeper whenever a menu command is received.
BEEPER_VOLUME beepVolume; Set the beeper volume.
} HHP_BEEPER, *PHHP_BEEPER;
Trigger timeout range:
#define MIN_TRIGGER_TIMEOUT_VAL 0 Infinite
#define MAX_TRIGGER_TIMEOUT_VAL 300000 5 Minutes
Trigger structure masks:
#define TRGMASK_TRIG_MODE 0x00001 Enable/disable manual trigger mode.
#define TRGMASK_TIMEOUT 0x00002 Sanity timeout on trigger event.
#define TRGMASK_ALL 0x00003 All members valid mask.
Triggering control:
typedef struct _tagHHP_TRIGGER
{
DWORD dwStructSize; Size of structure in bytes.
DWORD dwMask; Mask of active items.
HHP_TRIG_MODES TriggerMode; Trigger mode.
DWORD dwTriggerTimeout; 0->9999 (milliseconds).
} HHP_TRIGGER, *PHHP_TRIGGER;
Engine information structure defines:
#define MAX_SHORT_VERSION_LEN 32
#define MAX_SERIAL_NUMBER_LEN 16
#define MAX_CHECKSUM_LEN 8
#define ENGINE_ID_DIGITS 4
Engine information structure
typedef struct _tagHHP_ENGINE_INFO
{
DWORD dwStructSize; Structure size
TCHAR tcEngId[ ENGINE_ID_DIGITS ]; 4 digit ASCII Hex.
TCHAR tcHHPSerialNumber[ MAX_SERIAL_NUMBER_LEN ]; ASCII Decimal
TCHAR tcCustomSerialNumber[ MAX_SERIAL_NUMBER_LEN ]; ASCII Decimal
LONG nAimerX; Aimer X