#include “BlackIceDEVMODE.h”
BOOL SetP417ErrorCorrectionLevel (BlackIceDEVMODE* pDevMode, DWORD dwECLevel);
Description
Sets the strength of the error correction used in PDF 417 codes. The code size and the tolerance to damage increase with the error correction level.
Parameters
BlackIceDEVMODE* pDevMode - pointer to the BlackIceDEVMODE structure
DWORD dwECLevel - The error correction level. Can be one of the values of the P417ECLevel enumeration:
enum P417ECLevel
{
P417_ECC_LEVEL_0 = 0,
P417_ECC_LEVEL_1,
P417_ECC_LEVEL_2,
P417_ECC_LEVEL_3,
P417_ECC_LEVEL_4,
P417_ECC_LEVEL_5,
P417_ECC_LEVEL_6,
P417_ECC_LEVEL_7,
P417_ECC_LEVEL_8,
P417_ECC_LEVEL_AUTO // 9
};
Return value
TRUE on success, FALSE otherwise.