LTwain::SourceInfoCallBack

#include "ltwrappr.h"

virtual L_INT LTwain::SourceInfoCallBack (pSourceInfo)

pLTWAINSOURCEINFO * pSourceInfo;

/* pointer to the LTWAINSOURCEINFO structure */

Called by LTwain::GetSources for each available TWAIN source installed on the system.

Parameter

Description

pSourceInfo

Pointer to the LTWAINSOURCEINFO structure that contains the name of the TWAIN source retrieved.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This callback function will be enabled only if you enabled the callback functions by calling LBase::EnableCallBack(TRUE).

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.

Required DLLs and Libraries

LTTWN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LTwain::GetSources.

Topics:

TWAIN Functionality: Callback Functions

Example

For an example, refer to LTwain::GetSources.