Barcode Api - Denso BHT-700-CE Reference Manual

Barcode handy terminal
Table of Contents

Advertisement

16.1. Barcode API

BHT_EnableBar
Description
Open the barcode device file to enable barcode reading.
This function specifies the read mode and readable barcode types. Up to eight barcode types can be
specified.
Syntax
DWORD BHT_EnableBar (
TCHAR*
pwchRdMode
TCHAR*
pwchCdParam
Parameters
pwchRdMode
[in] Heading address of the storage buffer for a character string specifying the read mode,
beeper/vibrator on/off, and LED on/off
pwchCdParam
[in] Heading address of the storage buffer for a character string specifying barcode types to be read
Return value
Error code
ERROR_SUCCESS
ERROR_TOO_MANY_OPEN_FILES Barcode device file already opened.
ERROR_INVALID_PARAMETER
Comment:
Up to 24 barcode types can be specified.
BHT-700Q:
The maximum code version for QR Code, the maximum code number for Data Matrix, and the
maximum number of digits for barcodes are limited by the readable range.
,
)
Successful completion
Parameter error. More than 24 barcode types are specified.
Meaning
60

Advertisement

Table of Contents
loading

Table of Contents