SetQRErrorCorrectionLevel

Sets 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.

 

SetQRErrorCorrectionLevel (pDevMode As Long, dwECLevel As Long) As Boolean

 

Input value - pDevMode: handle to the BlackIceDEVMODE structure

Input value - dwECLevel: The error correction level. Can be one of the following values:

            0: Level L

            1: Level M

            2: Level Q

            3: Level H

Return value - TRUE on success, FALSE otherwise.

 

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