s c n S e t G e n e r a l I n f o
Description
LMSSCEN.LIB only. Saves the scanner configuration values
the application set in the GENERALINFO data structure. See
"GENERALINFO" 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 scnGetGeneralInfo.
3. Sets the values in the GENERALINFO data structure.
4. Calls scnSetGeneralInfo.
Syntax
short far scnSetGeneralInfo(LPGENERALINFO lprGeneralInfo);
Parameters
lprGeneralInfo
Return Values
0
-5
-9
4-84
Programmer's Manual
When the application disables the scanner,
the configuration values go back to the
A pointer to a GENERALINFO data structure.
Successful.
Invalid configuration value.
The scanner is disabled.
defaults.