Dynamsoft Barcode Reader 6.3.0 - API Reference
Macros

Macros

#define DBR_OK   0
 
#define DBRERR_UNKNOWN   -10000
 
#define DBRERR_NO_MEMORY   -10001
 
#define DBRERR_NULL_POINTER   -10002
 
#define DBRERR_LICENSE_INVALID   -10003
 
#define DBRERR_LICENSE_EXPIRED   -10004
 
#define DBRERR_FILE_NOT_FOUND   -10005
 
#define DBRERR_FILETYPE_NOT_SUPPORTED   -10006
 
#define DBRERR_BPP_NOT_SUPPORTED   -10007
 
#define DBRERR_INDEX_INVALID   -10008
 
#define DBRERR_BARCODE_FORMAT_INVALID   -10009
 
#define DBRERR_CUSTOM_REGION_INVALID   -10010
 
#define DBRERR_MAX_BARCODE_NUMBER_INVALID   -10011
 
#define DBRERR_IMAGE_READ_FAILED   -10012
 
#define DBRERR_TIFF_READ_FAILED   -10013
 
#define DBRERR_QR_LICENSE_INVALID   -10016
 
#define DBRERR_1D_LICENSE_INVALID   -10017
 
#define DBRERR_DIB_BUFFER_INVALID   -10018
 
#define DBRERR_PDF417_LICENSE_INVALID   -10019
 
#define DBRERR_DATAMATRIX_LICENSE_INVALID   -10020
 
#define DBRERR_PDF_READ_FAILED   -10021
 
#define DBRERR_PDF_DLL_MISSING   -10022
 
#define DBRERR_PAGE_NUMBER_INVALID   -10023
 
#define DBRERR_CUSTOM_SIZE_INVALID   -10024
 
#define DBRERR_CUSTOM_MODULESIZE_INVALID   -10025
 
#define DBRERR_RECOGNITION_TIMEOUT   -10026
 
#define DBRERR_JSON_PARSE_FAILED   -10030
 
#define DBRERR_JSON_TYPE_INVALID   -10031
 
#define DBRERR_JSON_KEY_INVALID   -10032
 
#define DBRERR_JSON_VALUE_INVALID   -10033
 
#define DBRERR_JSON_NAME_KEY_MISSING   -10034
 
#define DBRERR_JSON_NAME_VALUE_DUPLICATED   -10035
 
#define DBRERR_TEMPLATE_NAME_INVALID   -10036
 
#define DBRERR_JSON_NAME_REFERENCE_INVALID   -10037
 
#define DBRERR_PARAMETER_VALUE_INVALID   -10038
 
#define DBRERR_DOMAIN_NOT_MATCHED   -10039
 
#define DBRERR_RESERVEDINFO_NOT_MATCHED   -10040
 
#define DBRERR_AZTEC_LICENSE_INVALID   -10041
 

Detailed Description

Macro Definition Documentation

◆ DBR_OK

#define DBR_OK   0

Successful.

◆ DBRERR_1D_LICENSE_INVALID

#define DBRERR_1D_LICENSE_INVALID   -10017

The 1D Barcode license is invalid.

◆ DBRERR_AZTEC_LICENSE_INVALID

#define DBRERR_AZTEC_LICENSE_INVALID   -10041

The AZTEC license is invalid.

◆ DBRERR_BARCODE_FORMAT_INVALID

#define DBRERR_BARCODE_FORMAT_INVALID   -10009

The barcode format is invalid.

◆ DBRERR_BPP_NOT_SUPPORTED

#define DBRERR_BPP_NOT_SUPPORTED   -10007

The BPP(Bits per pixel) is not supported.

◆ DBRERR_CUSTOM_MODULESIZE_INVALID

#define DBRERR_CUSTOM_MODULESIZE_INVALID   -10025

The custom module size is invalid.

◆ DBRERR_CUSTOM_REGION_INVALID

#define DBRERR_CUSTOM_REGION_INVALID   -10010

The input region value parameter is invalid.

◆ DBRERR_CUSTOM_SIZE_INVALID

#define DBRERR_CUSTOM_SIZE_INVALID   -10024

The custom size is invalid.

◆ DBRERR_DATAMATRIX_LICENSE_INVALID

#define DBRERR_DATAMATRIX_LICENSE_INVALID   -10020

The DATAMATRIX license is invalid.

◆ DBRERR_DIB_BUFFER_INVALID

#define DBRERR_DIB_BUFFER_INVALID   -10018

The DIB(Device-independent bitmaps) buffer is invalid.

◆ DBRERR_DOMAIN_NOT_MATCHED

#define DBRERR_DOMAIN_NOT_MATCHED   -10039

The domain of your current site does not match the domain bound in the current product key.

◆ DBRERR_FILE_NOT_FOUND

#define DBRERR_FILE_NOT_FOUND   -10005

The file is not found.

◆ DBRERR_FILETYPE_NOT_SUPPORTED

#define DBRERR_FILETYPE_NOT_SUPPORTED   -10006

The file type is not supported.

◆ DBRERR_IMAGE_READ_FAILED

#define DBRERR_IMAGE_READ_FAILED   -10012

Failed to read the image.

◆ DBRERR_INDEX_INVALID

#define DBRERR_INDEX_INVALID   -10008

The index is invalid.

◆ DBRERR_JSON_KEY_INVALID

#define DBRERR_JSON_KEY_INVALID   -10032

The key is invalid.

◆ DBRERR_JSON_NAME_KEY_MISSING

#define DBRERR_JSON_NAME_KEY_MISSING   -10034

The mandatory key "Name" is missing.

◆ DBRERR_JSON_NAME_REFERENCE_INVALID

#define DBRERR_JSON_NAME_REFERENCE_INVALID   -10037

The name reference is invalid.

◆ DBRERR_JSON_NAME_VALUE_DUPLICATED

#define DBRERR_JSON_NAME_VALUE_DUPLICATED   -10035

The value of the key "Name" is duplicated.

◆ DBRERR_JSON_PARSE_FAILED

#define DBRERR_JSON_PARSE_FAILED   -10030

Failed to parse json string.

◆ DBRERR_JSON_TYPE_INVALID

#define DBRERR_JSON_TYPE_INVALID   -10031

The value type is invalid.

◆ DBRERR_JSON_VALUE_INVALID

#define DBRERR_JSON_VALUE_INVALID   -10033

The value is invalid or out of range.

◆ DBRERR_LICENSE_EXPIRED

#define DBRERR_LICENSE_EXPIRED   -10004

The license has expired.

◆ DBRERR_LICENSE_INVALID

#define DBRERR_LICENSE_INVALID   -10003

The license is invalid.

◆ DBRERR_MAX_BARCODE_NUMBER_INVALID

#define DBRERR_MAX_BARCODE_NUMBER_INVALID   -10011

The maximum barcode number is invalid.

◆ DBRERR_NO_MEMORY

#define DBRERR_NO_MEMORY   -10001

Not enough memory to perform the operation.

◆ DBRERR_NULL_POINTER

#define DBRERR_NULL_POINTER   -10002

Null pointer.

◆ DBRERR_PAGE_NUMBER_INVALID

#define DBRERR_PAGE_NUMBER_INVALID   -10023

The page number is invalid.

◆ DBRERR_PARAMETER_VALUE_INVALID

#define DBRERR_PARAMETER_VALUE_INVALID   -10038

The parameter value is invalid or out of range.

◆ DBRERR_PDF417_LICENSE_INVALID

#define DBRERR_PDF417_LICENSE_INVALID   -10019

The PDF417 license is invalid.

◆ DBRERR_PDF_DLL_MISSING

#define DBRERR_PDF_DLL_MISSING   -10022

The PDF DLL is missing.

◆ DBRERR_PDF_READ_FAILED

#define DBRERR_PDF_READ_FAILED   -10021

Failed to read the PDF file.

◆ DBRERR_QR_LICENSE_INVALID

#define DBRERR_QR_LICENSE_INVALID   -10016

The QR Code license is invalid.

◆ DBRERR_RECOGNITION_TIMEOUT

#define DBRERR_RECOGNITION_TIMEOUT   -10026

Recognition timeout.

◆ DBRERR_RESERVEDINFO_NOT_MATCHED

#define DBRERR_RESERVEDINFO_NOT_MATCHED   -10040

The reserved info does not match the reserved info bound in the current product key.

◆ DBRERR_TEMPLATE_NAME_INVALID

#define DBRERR_TEMPLATE_NAME_INVALID   -10036

The template name is invalid.

◆ DBRERR_TIFF_READ_FAILED

#define DBRERR_TIFF_READ_FAILED   -10013

Failed to read the TIFF image.

◆ DBRERR_UNKNOWN

#define DBRERR_UNKNOWN   -10000

Unknown error.