mw::qrd::QRDecoder::ExecuteDecode Member Function

Syntax

Result ExecuteDecode(
    DecodeData* result,
    const ImageInfo* img
);

Arguments

Name Description
out result The QR Code pattern's decoding result information. See DecodeData.
in img The information for the image to be decoded. See ImageInfo.

Return Values

Returns RESULT_SUCCESS if successful. Returns an error if the process fails.

Description

Decodes a QR Code. When calling this function, specify the pointer to the ImageInfo structure that stores the information of the image to be decoded, and the pointer to the DecodeData structure that you have allocated.
If the decoding process ends normally, the result will be stored in result.
If you want to decode a succession of images, call the Initialize function once and then call this function a number of times in succession. If the decoding process fails, the result structure will be unchanged.
An error will occur if the image information specified by ImageInfo is of a size that cannot be processed with the size of the work buffer specified by the Initialize function.

Revision History

2010/06/17
Corrected the text.
2010/05/31
Initial version.

CONFIDENTIAL