WinCEGeräteSE_Handbuch_Programmierung_v3.00_EN
32 / 65
5.7.2.4 ScanDrv functional scheme on M2xxSE devices
When launched, ScanDrv.exe configures the scanner module based on the standard configuration file.
If a first application uses the scanner API, ScanDrv.exe remains activated, however the scanner module is
“removed” from ScanDrv.exe. The application can use ScanAPI commands and receives
scan data. Other applications are denied access to the scanner module.
Once the application has ended, the scanner module is then enabled (back to ScanDrv.exe). ScanDrv.exe
will restore the previous default configuration if the application changed the scanner configuration settings.
In comparison to the old scanner solution, the ScanAPI.dll has been extended (“new ScanAPI.dll”). It allows
applications to run their specific scanner configuration conveniently with one single command rather than
requiring individual API calls.
More detailed information can be found in the relevant document
6
.
ScanDrv.exe
ScanAPI-
Handler-
Thread
ScanEn.dll
Scanner-
konfiguration
durch
ScanDrvCPL.cpl
im Control
Panel
ScanDrv.ini
Customer1.ini
Customer2.ini
Customer3.ini
...
Scandaten per Tastatureinschleifung
Scan
Data
Thread
Application1.exe
Scandaten per
API-Aufruf
Shared Memory,
Named Events,
Mutexe
Callback
Call-
back
Neue
ScanAPI.
dll
6
WinCE_SoftwareDocu_ScannerProgramming