s c n O p e n S c a n n e r S h a r e d
Description
Enables the scanner and sets the configuration values to the defaults. Be sure to enable the scanner only when it is already disabled.
Because this function resets the
configuration values to the defaults, you must configure the scanner every time you enable it.
This function allows the serial port to be shared for scanning and serial communications (unlike scnOpenScanner). There may be a slight delay when enabling the scanner for the software to determine the scanner type being used.
Because this function allows the serial port to be shared, application does not need to enable and disable the scanner repeatedly to free the serial port for
Using this function has the benefit of eliminating processing delays (enabling and disabling the scanner repeatedly), making the application run faster.
The application must call this function before it calls any other scanner function (unless it uses scnOpenScanner).
Syntax
short far scnOpenScannerShared(void);
Parameters
None