Called by LTwain::GetSources for each available TWAIN source installed on the system.
#include "ltwrappr.h"
virtual L_INT LTwain::SourceInfoCallBack (pSourceInfo)
Pointer to the LTWAINSOURCEINFO structure that contains the name of the TWAIN source retrieved.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
This callback function will be enabled only if you enabled the callback functions by calling LBase::EnableCallBack.
This callback function gets the available information about the installed TWAIN sources on the system like the names of the TWAIN source, the scanner product family, and the manufacturer.
For an example, refer to LTwain::GetSources.