beautypg.com

Paxar Gold 6037EX User Manual

Page 126

background image

4-90 Programmer’s Manual

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

Description

Saves the 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 invalid with LMSSCEN.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.