#include “BlackIceDEVMODE.h”
int GetP417ErrorCorrectionLevel (BlackIceDEVMODE* pDevMode);
Description
Returns 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
Return value
Returns 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
};