This project has moved. For the latest updates, please go here.

The structure of a Source

The Source is implemented as a Shared Library (DLL on Windows). The Source will not run stand-alone.

TWAIN data sources’ file name must end with a .DS extension. The Source Manager recursively searches for all Sources in the TWAIN sub-directory. To reduce the chance for naming collisions, each Source should create a sub-directory beneath TWAIN, giving it a name relevant to their product.

Every Source is required to have a single entry point called DS_Entry.

The DataSourceServices controls the TWAIN session (It returns the identity structure for the Source; Opens the Source for operation; Closes the Source so it can be unloaded from memory; Returns the current Condition Code for the specified Source).

The Structure of a Source
Download Full Size Image

Last edited Jul 31, 2016 at 7:27 AM by SARAFF, version 6