beautypg.com

Avery Dennison 6035 Programmer Manual Rev.CA 6/01 User Manual

Page 132

background image

Function Reference 4-91

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

Description

Saves either scanner’s configuration values the application set
in the SCANINFO data structure. See “SCANINFO” in Chapter
5 for a description of this data structure.

This function is not valid with

SCAN1223.LIB.

To configure the scanner, the application:

1. Enables the scanner with scnOpenScanner or

scnOpenScannerShared.

2. Calls scnGetScanInfo.

3. Sets the values in the SCANINFO data structure.

4. Calls scnSetScanInfo.

When the application disables the scanner,

the configuration values go back to the

defaults.

Syntax

short far scnSetScanInfo(LPSCANINFO lprScanInfo);


Parameters

lprScanInfo

A pointer to a SCANINFO data structure.


Return Values

0

Successful.

-9

The scanner is disabled.