DBR_DecodeBuffer Function

Decodes barcode from a device-independent bitmap (DIB) in buffer.

Syntax

int DBR_DecodeBuffer(
        unsigned char* pDIBBuffer,
        int iBufferSize,
        const pReaderOptions pOptions,
        pBarcodeResultArray *ppResults
);

Parameters

pDIBBuffer
A buffer data pointer to a DIB.
iBufferSize
An integer that defines the size of the buffer.
pOptions
Defines the options for reading barcode.
ppResults
A structure containing barcode results.

Return Value

Zero if the function completed successfully; otherwise nonzero.

Remarks

The DBR_DecodeBuffer function reads an image from DIB buffer, and extract the barcode data.

See Also

C > Structs > ReaderOptions
C > Structs > BarcodeResultArray
C > Function > DecodeBufferRect
C > Constant > BarcodeFormat
C > Constant > Error List