Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS TWAIN C++ Class Library Help

LTwain::SourceInfoCallBack

Show in webframe

#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.

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.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.