![](/images/new-backgrounds/1186820/186820335x1.webp)
M S I I N F O
The MSIINFO data structure contains scanner configuration information about MSI bar codes. To read these values, applications call scnGetMSIInfo; to set these values, they call scnSetMSIInfo.
typedef struct _MSIInfo
{
unsigned char uchEnable; unsigned char uchLength1; unsigned char uchLength2; unsigned char uchCheckDigits; unsigned char uchXmitCheckDigit; unsigned char uchChkDgtAlgorithm;
} MSIINFO;
Field | Description |
|
|
uchEnable | Enable/disable the ability to scan MSI bar | ||
| codes. |
|
|
| Default: SCN_DISABLE |
| |
uchLength1 | Specifies lengths for MSI bar codes. You | ||
uchLength2 | can specify one or two lengths, a range of | ||
| lengths, or that any length is valid. Enter | ||
| values as follows: |
| |
| Option | uchLength1 uchLength2 | |
| 1 Length | Value | 0 |
| 2 Lengths | High Value | Low Value |
| Range | Min. Value | Max. Value |
| Any length | 0 | 0 |
| Default: 6 (uchLength1) and 55 | ||
| (uchLength2). |
|