s c n S e t M S I I n f o

Description

LMSSCEN.LIB only. Saves the scanner configuration values the application set in the MSIINFO data structure. See

“MSIINFO” in Chapter 5 for a description of this data structure.

To configure the scanner, the application:

1 . Enables the scanner with scnOpenScanner or scnOpenScannerShared.

2 . Calls scnGetMSIInfo.

3 . Sets the values in the MSIINFO data structure.

4 . Calls scnSetMSIInfo.

When the application disables the scanner,

the configuration values go back to the

defaults.

Syntax

short far scnSetMSIInfo(LPMSIINFO lprMSIInfo);

Parameters

lprMSIInfo A pointer to an MSIINFO data structure.

Return Values

0

Successful.

-5

Invalid configuration value.

-9

The scanner is disabled.

4-88 Programmer’s Manual

Page 124
Image 124
Paxar Gold 6037EX manual N S e t M S I I n f o