Data Matrix Error Codes

This section covers the Data Structures of the Data Matrix SDK.

Data Matrix Reading Error Codes

·         BARCODEDMR_NO_ERROR (0) : No error occurred.

·         BARCODEDMR_PARAMETER_ERROR (-1) : Invalid parameters.

·         BARCODEDMR_MEMORY_ERROR (-2) : Not enough memory, or a memory error occurred (e.g. GlobalLock).

·         BARCODEDMR_BARCODE_NOT_FOUND (-3) : No barcodes found.

Data Matrix Writing Error Codes

·         BARCODEDMW_NO_ERROR (0) : No error occurred.

·         BARCODEDMW_PARAMETER_ERROR (-1) : Invalid parameters.

·         BARCODEDMW_MEMORY_ERROR (-2) : Not enough memory, or a memory error occurred (e.g. GlobalLock).

·         BARCODEDMW_DATASTREAM_TOO_LARGE (-3) : Input datastream too large.

·         BARCODEDMW_NOT_ENOUGH_SPACE (-3) : Not enough space on the given image for the given data matrix.