GetQRErrorCorrectionLevel

Returns the strength of the error correction used in QR codes. The QR code size increases with the error correction level. The following table lists the approximate error correction capability at each of the four levels:

Level L (Low)                        7% of codewords can be restored.

Level M (Medium)                15% of codewords can be restored.

Level Q (Quartile)[33]          25% of codewords can be restored.

Level H (High)                      30% of codewords can be restored.

 

GetQRErrorCorrectionLevel (pDevMode As Long) As Long

 

Input value - pDevMode: handle to the BlackIceDEVMODE structure

Return value - Returns the error correction level. Can be one of the following values:

            0: Level L

            1: Level M

            2: Level Q

            3: Level H

 

NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.