Paxar Gold 6037EX manual N S e t S c a n I n f o

Models: Gold 6037EX

1 230
Download 230 pages 30.9 Kb
Page 126
Image 126

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.

4-90 Programmer’s Manual

Page 126
Image 126
Paxar Gold 6037EX manual N S e t S c a n I n f o