4-44 Programmer’s Manual
scnCloseScanner
Description
Disables the scanner. Be sure to disable the scanner only
when it is already enabled.
If the application enabled the scanner with scnOpenScanner,
♦ the application should disable the scanner at the end of
processing or immediately before any serial communications.
♦ this function sets the serial communications port back to
external RS-232 connection mode. It also restores the serial
port configuration settings (baud rate, parity, data bits, and
stop bits) saved when the application enabled the scanner.
Syntax
short far scnCloseScanner(void);
Parameters
None
Return Values
0
Successful.
-1
The scanner was already disabled.
Comments to this Manuals