Denso BHT-700-CE Reference Manual page 104

Barcode handy terminal
Table of Contents

Advertisement

BHT_BAR_GetDecodeOptions
Description
Sets the editing function setting value for the decoded result.
This is supported only by the BHT-700B.
Syntax
DWORD BHT_BAR_GetDecodeOptions (
EN_DCD_OPTIONS_CODE_TYPE enCodeType,
TCHAR * pwchSysParam,
LPVOID pOptions,
DWORD* pdwLen)
Parameters
enCodeType
[in] Code type to be edited
pOptions
[out] Editing function setting value. The addresses for the structure are listed below.
Code type
UPC-E
enOptionsUPCE
UPC-A
enOptionsUPCA
EAN-8
enOptionsEAN8
pdwLen
[in] pOptions size (bytes). Sets the value calculated at sizeof.
[out] Size of valid data stored in pOptions (bytes).
Return value
Error code
ERROR_SUCCESS
ERROR_INVALID_PARAMETER
Construction
The member construction for EN_DCD_OPTIONS_CODE_TYPE used to specify the code type is as
follows.
typedef enum _EN_DCD_OPTIONS_CODE_TYPE {
enOptionsUPCE,
enOptionsUPCA,
enOptionsEAN8,
} EN_DCD_OPTIONS_CODE_TYPE;
The member construction for ST_DCD_UPCE_OPTIONS, ST_DCD_UPCA_OPTIONS, and
ST_DCD_EAN8_OPTIONS is shown below.
typedef struct _ST_DCD_UPCE_OPTIONS {
BOOL
bConvertToUPCA;
BOOL
bReportNumsys;
BOOL
bReportChk;
} ST_DCD_UPCE_OPTIONS, *PST_DCD_UPCE_OPTIONS;
enCodeType
ST_DCD_UPCE_OPTIONS
ST_DCD_UPCA_OPTIONS
ST_DCD_EAN8_OPTIONS
Successful completion
The storage address has not been set.
Invalid size specified.
pOptions
Meaning
99

Advertisement

Table of Contents
loading

Table of Contents