2 - 10
5X80 Series Software Development Kit (SDK) User’s Guide
hhpSetAsyncMethods
hhpSetAsyncMethods sets the methods by which the caller wishes to be notified upon receipt of a barcode or image.
Syntax
hhpSetAsyncMethods
(
HANDLE
hEventHandle,
HWND
hWndHandle,
HHP_EVENT_CALLBACK
EventCallback
)
Parameter
Description
hEventHandle
Handle to a Windows Event. The event should specify manual reset.
hWndHandle
Handle to the application window that should receive the SDK defined message
WM_HHP_EVENT_HWND_MSG. The message parameters are:
WPARAM The event type (hhpEventType_t)
LPARAM The number of bytes received
EventCallback
Callback function of type HHPEVENTCALLBACK, which is BOOL CALLBACK name (
EventType_t,DWORD ).
hhpSetBarcodeDataCodePage
This function changes the code page used when translating the decoded data from a string of bytes to Unicode. The default
value is CP_ACP (ANSI code page). There is no error checking on the values sent to this function, so you must determine
whether or not a code page is valid on the given system.
Syntax
hhpSetBarcodeDataCodePage
(
DWORD
dwCodePage
)
Parameter
Description
dwCodePage
Code page to use when converting from BYTE string to Unicode. The only 2 code pages that are
valid are CP_ACP and CP_OEMCP.
hhpSetConfigItemToDefaults
Defaults a configuration group or individual group structure items.
Syntax
hhpSetConfigItemToDefaults
(
ConfigItems_t item
)
Parameter
Description
item
One of the members of the enumerated type ConfigItems_t. The valid values are:
BEEPER_CONFIG
Resets HHP_BEEPER structure settings to their defaults.
TRIGGER_CONFIG
Resets HHP_TRIGGER structure settings to their defaults.
DECODER_CONFIG
Resets HHP_DECODER structure settings to their defaults.
POWER_CONFIG
Resets HHP_POWER_SETTINGS structure settings to their defaults.
SYMBOLOGY_CONFIG Resets HHP_SYM_CONFIG structure settings to their defaults.
SERIAL_PORT_CONFIG Resets HHP_SERIAL_PORT_CONFIG structure settings to their
defaults. Connection to the imager is maintained.
IMAGE_ACQUISITION
Resets HHP_IMAGE_ACQUISITION structure settings to their defaults.
IMAGE_TRANSFER
Resets HHP_IMAGE_TRANSFER structure settings to their defaults (not
progress notification methods).
ALL_CONFIG
Resets all of the above.
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: ......