
s c n S e t U P C E A N I n f o
Description
LMSSCNEN.LIB only. Saves the scanner configuration values the application set in the UPCEANINFO data structure. See “UPCEANINFO” 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 scnGetUPCEANInfo.
3 . Sets the values in the UPCEANINFO data structure.
4 . Calls scnSetUPCEANInfo.
When the application disables the scanner,
the configuration values go back to the
defaults.
Syntax
short far scnSetUPCEANInfo(LPUPCEANINFO lprUPCEANInfo);
Parameters
lprUPCEANInfo A pointer to a UPCEANINFO data structure.
Return Values
0 | Successful. |
Invalid configuration value. | |
The scanner is disabled. |