Denso BHT-700-CE Reference Manual page 91

Barcode handy terminal
Table of Contents

Advertisement

BHT_GetBarType
Description
BHT-700B
Read the barcode type and the number of digits of a barcode read most recently.
If no barcode has been read after the BHT was turned on, the function gets "0."
BHT-700Q
Read the barcode type and the number of digits of a barcode read most recently.
If no barcode has been read after the BHT was turned on, the function gets "0."
When a multiple-row code has been read, this fact is communicated to the caller and the total number of
digits in the multiple-row code is returned.
To get the information for a specific row, call BHT_GetBarInfo.
When an EAN·UCC composite code has been read, this fact is communicated to the caller and the total
number of digits in the EAN·UCC composite code is returned. To get the information for a specific row,
call BHT_GetBarInfo.
Syntax
DWORD BHT_GetBarType (
DWORD*
pdwBarMark
DWORD*
pdwBarlen
Parameters
pdwBarMark
[out] Address for storing the barcode type
pdwBarlen
[out] Address for storing the barcode length
The pdwBarMark contains one of the following letters representing code types:
Barcode type
(No code read)
EAN-13 (JAN-13), UPC-A
EAN-8 (JAN-8)
UPC-E
ITF
STF (Only for BHT-700B)
CODABAR (NW-7)
CODE-39
CODE-93
CODE-128
EAN-128
MSI (Only for BHT-700B)
RSS
QR code (Only for BHT-700Q)
Split QR code (in non-edit mode)
(Only for BHT-700Q)
PDF417 (Only for BHT-700Q)
Maxi Code (Only for BHT-700Q)
Data Matrix (Only for BHT-700Q)
Multi-line code (Only for BHT-700Q)
Composite (Only for BHT-700Q)
Return value
Error code
ERROR_SUCCESS
ERROR_INVALID_PARAMETER Storage address not specified.
,
)
Successful completion
pdwBarMark
0
'A'
'B'
'C'
'I'
'H'
'N'
'M'
'L'
'K'
'W'
'P'
'R'
'Q'
'S'
'Y'
'X'
'Z'
'&'
'V'
Meaning
86

Advertisement

Table of Contents
loading

Table of Contents